Hide My Podcasts feature
This commit is contained in:
parent
1d33c037e3
commit
0c4a294265
|
@ -13,14 +13,16 @@
|
|||
* in the menu.phtml script when they are output.
|
||||
*/
|
||||
$pages = array();
|
||||
$pages[] = array(
|
||||
'label' => _('My Podcast'),
|
||||
'module' => 'default',
|
||||
'controller' => 'podcast',
|
||||
'action' => 'station',
|
||||
'resource' => 'podcast',
|
||||
'class' => '<i class="icon-music icon-white"></i>'
|
||||
);
|
||||
// Disable My podcasts
|
||||
// See https://github.com/LibreTime/libretime/issues/1320
|
||||
// $pages[] = array(
|
||||
// 'label' => _('My Podcast'),
|
||||
// 'module' => 'default',
|
||||
// 'controller' => 'podcast',
|
||||
// 'action' => 'station',
|
||||
// 'resource' => 'podcast',
|
||||
// 'class' => '<i class="icon-music icon-white"></i>'
|
||||
// );
|
||||
$pages[] = array(
|
||||
'label' => _('Radio Page'),
|
||||
'uri' => '/',
|
||||
|
|
|
@ -119,7 +119,9 @@ class LibraryController extends Zend_Controller_Action
|
|||
if ($isAdminOrPM || $file->getFileOwnerId() == $user->getId()) {
|
||||
$menu["del"] = array("name"=> _("Delete"), "icon" => "delete", "url" => $baseUrl."library/delete");
|
||||
$menu["edit"] = array("name"=> _("Edit..."), "icon" => "edit", "url" => $baseUrl."library/edit-file-md/id/{$id}");
|
||||
$menu["publish"] = array("name"=> _("Publish..."), "url" => $baseUrl."library/publish/id/{$id}");
|
||||
// Disable My podcasts
|
||||
// See https://github.com/LibreTime/libretime/issues/1320
|
||||
// $menu["publish"] = array("name"=> _("Publish..."), "url" => $baseUrl."library/publish/id/{$id}");
|
||||
}
|
||||
|
||||
// It's important that we always return the parent id (cc_files id)
|
||||
|
|
Loading…
Reference in New Issue