From 10c7f33d8e0238181444ec1ec77ac68f53b56a79 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 19 Oct 2017 13:47:52 +0200 Subject: [PATCH] add hook addDocumentAttributes --- views/bootstrap/class.EditDocument.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/views/bootstrap/class.EditDocument.php b/views/bootstrap/class.EditDocument.php index c3199197b..10f18e780 100644 --- a/views/bootstrap/class.EditDocument.php +++ b/views/bootstrap/class.EditDocument.php @@ -174,6 +174,15 @@ $(document).ready( function() { } } } + $arrs = $this->callHook('addDocumentAttributes', $folder); + if(is_array($arrs)) { + foreach($arrs as $arr) { + echo ""; + echo "".$arr[0].":"; + echo "".$arr[1].""; + echo ""; + } + } ?>