diff --git a/views/bootstrap/class.ViewFolder.php b/views/bootstrap/class.ViewFolder.php
index 71d39bab6..f3583d07a 100644
--- a/views/bootstrap/class.ViewFolder.php
+++ b/views/bootstrap/class.ViewFolder.php
@@ -244,11 +244,11 @@ function folderSelected(id, name) {
$attrdef = $attrdefarr['attrdef'];
$attribute = $folder->getAttribute($attrdef);
if($attribute) {
- $arr = $this->callHook('showFolderAttribute', $folder, $attribute);
+ $arr = $this->callHook('showFolderAttribute', $folder, $attribute, SeedDMS_Core_AttributeDefinitionGroup::show_details);
if(is_array($arr)) {
echo "
";
echo "| ".$arr[0].": | ";
- echo "".$arr[1].": | ";
+ echo "".$arr[1]." | ";
echo "
";
} else {
$this->printAttribute($attribute);
@@ -261,11 +261,11 @@ function folderSelected(id, name) {
$attributes = $folder->getAttributes();
if($attributes) {
foreach($attributes as $attribute) {
- $arr = $this->callHook('showFolderAttribute', $folder, $attribute);
+ $arr = $this->callHook('showFolderAttribute', $folder, $attribute, SeedDMS_Core_AttributeDefinitionGroup::show_details);
if(is_array($arr)) {
echo "";
echo "| ".$arr[0].": | ";
- echo "".$arr[1].": | ";
+ echo "".$arr[1]." | ";
echo "
";
} else {
$this->printAttribute($attribute);
@@ -323,7 +323,7 @@ function folderSelected(id, name) {
if(is_string($txt))
echo $txt;
else {
- echo $this->folderListRow($subFolder);
+ echo $this->folderListRow($subFolder, SeedDMS_Core_AttributeDefinitionGroup::show_list);
}
}
@@ -333,7 +333,7 @@ function folderSelected(id, name) {
if(is_string($txt))
echo $txt;
else {
- echo $this->documentListRow($document, $previewer);
+ echo $this->documentListRow($document, $previewer, false, 0, SeedDMS_Core_AttributeDefinitionGroup::show_list);
}
}