call hook folderMenu

This commit is contained in:
Uwe Steinmann 2013-08-12 07:03:24 +02:00
parent b2bc46b677
commit 12f81b47eb

View File

@ -90,7 +90,12 @@ class SeedDMS_View_ViewFolder extends SeedDMS_Bootstrap_Style {
$this->globalNavigation($folder); $this->globalNavigation($folder);
$this->contentStart(); $this->contentStart();
$txt = $this->callHook('folderMenu', $folder);
if(is_string($txt))
echo $txt;
else {
$this->pageNavigation($this->getFolderPathHTML($folder), "view_folder", $folder); $this->pageNavigation($this->getFolderPathHTML($folder), "view_folder", $folder);
}
echo $this->callHook('preContent'); echo $this->callHook('preContent');