mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
call new hook 'documentPreview'
This commit is contained in:
parent
7a674b9162
commit
341aa12a05
|
@ -318,6 +318,9 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
|
||||
$latestContent = $document->getLatestContent();
|
||||
$txt = $this->callHook('preDocumentPreview', $latestContent);
|
||||
if(is_string($txt))
|
||||
echo $txt;
|
||||
$txt = $this->callHook('documentPreview', $latestContent);
|
||||
if(is_string($txt))
|
||||
echo $txt;
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user