From 5820840a2a60d6bb0226678aa8e60c767643131b Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 31 May 2013 14:33:54 +0200 Subject: [PATCH] new layout of folder/document list remove columns for version and owner. Show this information below title. Also show date of creation and last modification. --- views/bootstrap/class.ViewFolder.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/views/bootstrap/class.ViewFolder.php b/views/bootstrap/class.ViewFolder.php index eccd860cd..91218ef3a 100644 --- a/views/bootstrap/class.ViewFolder.php +++ b/views/bootstrap/class.ViewFolder.php @@ -184,9 +184,9 @@ class SeedDMS_View_ViewFolder extends SeedDMS_Bootstrap_Style { print "\n\n"; print "\n"; print "".getMLText("name")."\n"; - print "".getMLText("owner")."\n"; +// print "".getMLText("owner")."\n"; print "".getMLText("status")."\n"; - print "".getMLText("version")."\n"; +// print "".getMLText("version")."\n"; print "".getMLText("action")."\n"; print "\n\n\n"; } @@ -207,11 +207,12 @@ class SeedDMS_View_ViewFolder extends SeedDMS_Bootstrap_Style { // print ""; print "getID()."\" draggable=\"true\" ondragstart=\"onDragStartFolder(event);\" href=\"out.ViewFolder.php?folderid=".$subFolder->getID()."&showtree=".$showtree."\">imgpath."folder.png\" width=\"24\" height=\"24\" border=0>\n"; print "getID()."&showtree=".$showtree."\">" . htmlspecialchars($subFolder->getName()) . ""; + print "
".getMLText('owner').": ".htmlspecialchars($owner->getFullName()).", ".getMLText('creation_date').": ".date('Y-m-d', $subFolder->getDate()).""; if($comment) { print "
".htmlspecialchars($comment).""; } print "\n"; - print "".htmlspecialchars($owner->getFullName()).""; +// print "".htmlspecialchars($owner->getFullName()).""; print ""; if($enableRecursiveCount) { if($user->isAdmin()) { @@ -232,7 +233,7 @@ class SeedDMS_View_ViewFolder extends SeedDMS_Bootstrap_Style { print count($subsub)." ".getMLText("folders")."
".count($subdoc)." ".getMLText("documents"); } print "
"; - print ""; +// print ""; print ""; print "
"; if($subFolder->getAccessMode($user) >= M_ALL) { @@ -301,11 +302,12 @@ class SeedDMS_View_ViewFolder extends SeedDMS_Bootstrap_Style { print "getMimeIcon($latestContent->getFileType())."\" title=\"".htmlspecialchars($latestContent->getMimeType())."\">"; print "" . htmlspecialchars($document->getName()) . ""; + print "
".getMLText('owner').": ".htmlspecialchars($owner->getFullName()).", ".getMLText('creation_date').": ".date('Y-m-d', $document->getDate()).", ".getMLText('version')." ".$version." - ".date('Y-m-d', $latestContent->getDate()).""; if($comment) { print "
".htmlspecialchars($comment).""; } print "\n"; - print "".htmlspecialchars($owner->getFullName()).""; +// print "".htmlspecialchars($owner->getFullName()).""; print ""; $attentionstr = ''; if ( $document->isLocked() ) { @@ -322,7 +324,7 @@ class SeedDMS_View_ViewFolder extends SeedDMS_Bootstrap_Style { if(count($links)) print count($links)." ".getMLText("linked_documents")."
"; print getOverallStatusText($status["status"]).""; - print "".$version.""; +// print "".$version.""; print ""; print "
"; if($document->getAccessMode($user) >= M_ALL) {