From 00a4b66466f7045981305725d3400be0f972e2c4 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 2 May 2013 18:26:49 +0200 Subject: [PATCH] add 'preContent' hook --- views/bootstrap/class.ViewFolder.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/views/bootstrap/class.ViewFolder.php b/views/bootstrap/class.ViewFolder.php index 76decac34..08110a4bb 100644 --- a/views/bootstrap/class.ViewFolder.php +++ b/views/bootstrap/class.ViewFolder.php @@ -92,6 +92,8 @@ class SeedDMS_View_ViewFolder extends SeedDMS_Bootstrap_Style { $this->contentStart(); $this->pageNavigation($this->getFolderPathHTML($folder), "view_folder", $folder); + echo $this->callHook('preContent'); + echo "
\n"; echo "
\n"; if ($enableFolderTree) $this->printTreeNavigation($folderid, $showtree); @@ -307,6 +309,8 @@ class SeedDMS_View_ViewFolder extends SeedDMS_Bootstrap_Style { $this->contentEnd(); + echo $this->callHook('postContent'); + $this->htmlEndPage(); } /* }}} */ }