Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
fa749c58f0
10 changed files with 46 additions and 38 deletions
|
@ -109,8 +109,6 @@ class LibraryController extends Zend_Controller_Action
|
|||
$menu["del"] = array("name"=> "Delete", "icon" => "delete", "url" => "/library/delete");
|
||||
$menu["edit"] = array("name"=> "Edit", "icon" => "edit", "url" => "/library/edit-file-md/id/{$id}");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
//SOUNDCLOUD MENU OPTIONS
|
||||
|
@ -137,6 +135,10 @@ class LibraryController extends Zend_Controller_Action
|
|||
|
||||
$menu["soundcloud"]["items"]["upload"] = array("name" => $text, "icon" => "soundcloud", "url" => "/library/upload-file-soundcloud/id/{$id}");
|
||||
}
|
||||
|
||||
if (empty($menu)) {
|
||||
$menu["noaction"] = array("name"=>"No action available");
|
||||
}
|
||||
|
||||
$this->view->items = $menu;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue