mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
add hooks (pre|post)DocumentInfos
This commit is contained in:
parent
0eaf06a75f
commit
421bf3e81a
|
@ -184,6 +184,9 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
<?php
|
||||
$this->contentHeading(getMLText("document_infos"));
|
||||
$this->contentContainerStart();
|
||||
$txt = $this->callHook('preDocumentInfos', $document);
|
||||
if(is_string($txt))
|
||||
echo $txt;
|
||||
$txt = $this->callHook('documentInfos', $document);
|
||||
if(is_string($txt))
|
||||
echo $txt;
|
||||
|
@ -302,6 +305,9 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
</table>
|
||||
<?php
|
||||
}
|
||||
$txt = $this->callHook('postDocumentInfos', $document);
|
||||
if(is_string($txt))
|
||||
echo $txt;
|
||||
$this->contentContainerEnd();
|
||||
?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user