mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
use instead of
This commit is contained in:
parent
cd0a5c9844
commit
1115d08d2f
|
@ -379,7 +379,7 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Theme_Style {
|
|||
if ($viewonlinefiletypes && (in_array(strtolower($version->getFileType()), $viewonlinefiletypes) || in_array(strtolower($version->getMimeType()), $viewonlinefiletypes)))
|
||||
if($accessop->check_controller_access('ViewOnline', array('action'=>'run')))
|
||||
$items[] = array('link'=>$this->params['settings']->_httpRoot."op/op.ViewOnline.php?documentid=".$version->getDocument()->getId()."&version=". $version->getVersion(), 'icon'=>'eye', 'label'=>'view_online', 'target'=>'_blank');
|
||||
if($newitems = $this->callHook('extraVersionViews', $latestContent))
|
||||
if($newitems = $this->callHook('extraVersionViews', $version))
|
||||
$items = array_merge($items, $newitems);
|
||||
if($items) {
|
||||
$this->showActions($items);
|
||||
|
|
Loading…
Reference in New Issue
Block a user