Stub publish action for context menu
This commit is contained in:
parent
73e489fdc8
commit
b721545c68
2 changed files with 18 additions and 0 deletions
|
@ -121,6 +121,7 @@ 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 Metadata"), "icon" => "edit", "url" => $baseUrl."library/edit-file-md/id/{$id}");
|
||||
$menu["publish"] = array("name"=> _("Publish..."), "icon" => "soundcloud", "url" => $baseUrl."library/publish/id/{$id}");
|
||||
}
|
||||
|
||||
// It's important that we always return the parent id (cc_files id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue