mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-10 05:26:06 +00:00
add hooks preContent, postContent
This commit is contained in:
parent
c06ec0de2e
commit
937f8a5678
|
@ -447,6 +447,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
$this->contentStart();
|
||||
$this->pageNavigation($this->getFolderPathHTML($folder, true, $document), "view_document", $document);
|
||||
|
||||
echo $this->callHook('preContent');
|
||||
if ($document->isLocked()) {
|
||||
$lockingUser = $document->getLockingUser();
|
||||
$txt = $this->callHook('documentIsLocked', $document, $lockingUser);
|
||||
|
@ -1504,6 +1505,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
</div>
|
||||
</div>
|
||||
<?php
|
||||
echo $this->callHook('postContent');
|
||||
$this->contentEnd();
|
||||
$this->htmlEndPage();
|
||||
} /* }}} */
|
||||
|
|
Loading…
Reference in New Issue
Block a user