diff --git a/views/bootstrap/class.ViewFolder.php b/views/bootstrap/class.ViewFolder.php
index 4609cad6e..622bc1b7b 100644
--- a/views/bootstrap/class.ViewFolder.php
+++ b/views/bootstrap/class.ViewFolder.php
@@ -97,7 +97,7 @@ class LetoDMS_View_ViewFolder extends LetoDMS_Bootstrap_Style {
print "
\n";
}
else printMLText("empty_folder_list");
@@ -107,7 +107,7 @@ class LetoDMS_View_ViewFolder extends LetoDMS_Bootstrap_Style {
$owner = $subFolder->getOwner();
$comment = $subFolder->getComment();
- if (strlen($comment) > 50) $comment = substr($comment, 0, 47) . "...";
+ if (strlen($comment) > 150) $comment = substr($comment, 0, 147) . "...";
$subsub = $subFolder->getSubFolders();
$subsub = LetoDMS_Core_DMS::filterAccess($subsub, $user, M_READ);
$subdoc = $subFolder->getDocuments();
@@ -116,11 +116,15 @@ class LetoDMS_View_ViewFolder extends LetoDMS_Bootstrap_Style {
print "";
// print " | ";
print "getID()."&showtree=".$showtree."\"> imgpath."folder.png\" width=\"24\" height=\"24\" border=0> | \n";
- print "getID()."&showtree=".$showtree."\">" . htmlspecialchars($subFolder->getName()) . " | \n";
+ print "getID()."&showtree=".$showtree."\">" . htmlspecialchars($subFolder->getName()) . "";
+ if($comment) {
+ print " ".htmlspecialchars($comment)."";
+ }
+ print " | \n";
print "".htmlspecialchars($owner->getFullName())." | ";
- print "".count($subsub)." ".getMLText("folders").", ".count($subdoc)." ".getMLText("documents")." | ";
+ print "".count($subsub)." ".getMLText("folders")." ".count($subdoc)." ".getMLText("documents")." | ";
print " | ";
- print "".htmlspecialchars($comment)." | ";
+// print "".htmlspecialchars($comment)." | ";
print "
\n";
}
@@ -129,7 +133,7 @@ class LetoDMS_View_ViewFolder extends LetoDMS_Bootstrap_Style {
$owner = $document->getOwner();
$comment = $document->getComment();
- if (strlen($comment) > 50) $comment = substr($comment, 0, 47) . "...";
+ if (strlen($comment) > 150) $comment = substr($comment, 0, 147) . "...";
$docID = $document->getID();
if($latestContent = $document->getLatestContent()) {
$previewer->createPreview($latestContent);
@@ -149,7 +153,11 @@ class LetoDMS_View_ViewFolder extends LetoDMS_Bootstrap_Style {
} else
print " getMimeIcon($latestContent->getFileType())."\" title=\"".htmlspecialchars($latestContent->getMimeType())."\"> | ";
- print "" . htmlspecialchars($document->getName()) . " | \n";
+ print "" . htmlspecialchars($document->getName()) . "";
+ if($comment) {
+ print " ".htmlspecialchars($comment)."";
+ }
+ print " | \n";
print "".htmlspecialchars($owner->getFullName())." | ";
print "";
if ( $document->isLocked() ) {
@@ -157,7 +165,7 @@ class LetoDMS_View_ViewFolder extends LetoDMS_Bootstrap_Style {
}
print getOverallStatusText($status["status"])." | ";
print "".$version." | ";
- print "".htmlspecialchars($comment)." | ";
+// print "".htmlspecialchars($comment)." | ";
print "\n";
}
}