mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 23:24:57 +00:00
add transfer document to menu
This commit is contained in:
parent
8a26b51ff3
commit
116cf9708e
|
@ -535,6 +535,9 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
if ($accessMode >= M_READ && !$this->params['user']->isGuest()) {
|
||||
$menuitems['edit_existing_notify'] = array('link'=>"../out/out.DocumentNotify". $docid, 'label'=>'edit_existing_notify');
|
||||
}
|
||||
if ($this->params['user']->isAdmin()) {
|
||||
$menuitems['transfer_document'] = array('link'=>"../out/out.TransferDocument". $docid, 'label'=>'transfer_document');
|
||||
}
|
||||
|
||||
/* Check if hook exists because otherwise callHook() will override $menuitems */
|
||||
if($this->hasHook('documentNavigationBar'))
|
||||
|
|
Loading…
Reference in New Issue
Block a user