add 'preContent' hook

This commit is contained in:
Uwe Steinmann 2013-05-02 18:26:49 +02:00
parent 0275621f7f
commit 00a4b66466

View File

@ -92,6 +92,8 @@ class SeedDMS_View_ViewFolder extends SeedDMS_Bootstrap_Style {
$this->contentStart(); $this->contentStart();
$this->pageNavigation($this->getFolderPathHTML($folder), "view_folder", $folder); $this->pageNavigation($this->getFolderPathHTML($folder), "view_folder", $folder);
echo $this->callHook('preContent');
echo "<div class=\"row-fluid\">\n"; echo "<div class=\"row-fluid\">\n";
echo "<div class=\"span4\">\n"; echo "<div class=\"span4\">\n";
if ($enableFolderTree) $this->printTreeNavigation($folderid, $showtree); if ($enableFolderTree) $this->printTreeNavigation($folderid, $showtree);
@ -307,6 +309,8 @@ class SeedDMS_View_ViewFolder extends SeedDMS_Bootstrap_Style {
$this->contentEnd(); $this->contentEnd();
echo $this->callHook('postContent');
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }