From d23467374821018b4e679af53de38a8f0475f4b3 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 6 May 2022 12:54:11 +0200 Subject: [PATCH] add hook additionalDocumentContentInfo --- views/bootstrap/class.ViewDocument.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index 569003670..64cde8f49 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -113,6 +113,14 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Theme_Style { } } } + $arrarr = $this->callHook('additionalDocumentContentInfo', $version); + if(is_array($arrarr)) { + foreach($arrarr as $arr) { + print "
  • ".$arr[0].": ".$arr[1]."
  • \n"; + } + } elseif(is_string($arrarr)) { + echo $arrarr; + } } /* }}} */ function documentListItem() { /* {{{ */