From 12f81b47ebe8cd1855a089b69029c6979b992920 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 12 Aug 2013 07:03:24 +0200 Subject: [PATCH] call hook folderMenu --- views/bootstrap/class.ViewFolder.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/views/bootstrap/class.ViewFolder.php b/views/bootstrap/class.ViewFolder.php index 280ba1cc2..a8c4a417b 100644 --- a/views/bootstrap/class.ViewFolder.php +++ b/views/bootstrap/class.ViewFolder.php @@ -90,7 +90,12 @@ class SeedDMS_View_ViewFolder extends SeedDMS_Bootstrap_Style { $this->globalNavigation($folder); $this->contentStart(); - $this->pageNavigation($this->getFolderPathHTML($folder), "view_folder", $folder); + $txt = $this->callHook('folderMenu', $folder); + if(is_string($txt)) + echo $txt; + else { + $this->pageNavigation($this->getFolderPathHTML($folder), "view_folder", $folder); + } echo $this->callHook('preContent');