diff --git a/CHANGELOG b/CHANGELOG index 5ed97a60e..b7b5a841f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -167,8 +167,9 @@ -------------------------------------------------------------------------------- - add hooks showDocumentAttribute and showDocumentContentAttribute in Search view - fix layout problems of select2 menu, add option for adding an icon to each option -- better import for users from csv file +- better import of users from csv file - fix various methods in restapi (Closes: #481) +- add hooks showDocumentKeywords and showDocumentCategories -------------------------------------------------------------------------------- Changes in version 5.1.18 diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index f5fa33a8f..6f390887e 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -1553,8 +1553,8 @@ $(document).ready(function() {
'.getMLText('keywords_loading').'
'; return $content; diff --git a/views/bootstrap/class.Settings.php b/views/bootstrap/class.Settings.php index d7997892b..6b3ae393f 100644 --- a/views/bootstrap/class.Settings.php +++ b/views/bootstrap/class.Settings.php @@ -527,7 +527,7 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site')); echo ""; + echo ">".htmlspecialchars(getMLText($extname.'_'.$opt, array(), $opt)).""; } echo ""; } elseif(!empty($conf['internal'])) { @@ -619,7 +619,7 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site')); _configFilePath)) { ?> - + diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index 8c4264208..e4792b53b 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -282,27 +282,47 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { getKeywords()) { + $arr = $this->callHook('showDocumentKeywords', $document); + if(is_array($arr)) { + echo "