call new hook 'documentPreview'

This commit is contained in:
Uwe Steinmann 2017-02-07 11:52:38 +01:00
parent 7a674b9162
commit 341aa12a05

View File

@ -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 {