diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php
index e72661267..8448cd0ff 100644
--- a/views/bootstrap/class.Bootstrap.php
+++ b/views/bootstrap/class.Bootstrap.php
@@ -554,6 +554,9 @@ $(document).ready(function () {
$menuitems['edit_folder_access'] = array('link'=>"../out/out.FolderAccess.php?folderid=".$folderID."&showtree=".showtree(), 'label'=>'edit_folder_access');
}
$menuitems['edit_existing_notify'] = array('link'=>"../out/out.FolderNotify.php?folderid=". $folderID ."&showtree=". showtree(), 'label'=>'edit_existing_notify');
+ if ($accessMode == M_ALL) {
+ $menuitems['edit_folder_attrdefgrp'] = array('link'=>"../out/out.FolderAttributeGroup.php?folderid=".$folderID."&showtree=".showtree(), 'label'=>'edit_folder_attrdefgrp');
+ }
}
if ($this->params['user']->isAdmin() && $this->params['enablefullsearch']) {
$menuitems['index_folder'] = array('link'=>"../out/out.Indexer.php?folderid=". $folderID."&showtree=".showtree(), 'label'=>'index_folder');
@@ -1298,6 +1301,50 @@ $('#acceptkeywords').click(function(ev) {
getAttributeDefinition();
+ switch($attrdef->getType()) {
+ case SeedDMS_Core_AttributeDefinition::type_url:
+ $attrs = $attribute->getValueAsArray();
+ $tmp = array();
+ foreach($attrs as $attr) {
+ $tmp[] = ''.htmlspecialchars($attr).'';
+ }
+ echo implode('
', $tmp);
+ break;
+ case SeedDMS_Core_AttributeDefinition::type_email:
+ $attrs = $attribute->getValueAsArray();
+ $tmp = array();
+ foreach($attrs as $attr) {
+ $tmp[] = ''.htmlspecialchars($attr).'';
+ }
+ echo implode('
', $tmp);
+ break;
+ default:
+ echo htmlspecialchars(implode(', ', $attribute->getValueAsArray()));
+ }
+ } /* }}} */
+
+ /**
+ * Output a single attribute in the document info section
+ *
+ * @param object $attribute attribute
+ */
+ protected function printAttribute($attribute) { /* {{{ */
+ $attrdef = $attribute->getAttributeDefinition();
+?>
+