diff --git a/views/bootstrap/class.AttributeGroupMgr.php b/views/bootstrap/class.AttributeGroupMgr.php index 27947f33b..01cb70a8a 100644 --- a/views/bootstrap/class.AttributeGroupMgr.php +++ b/views/bootstrap/class.AttributeGroupMgr.php @@ -18,11 +18,6 @@ */ //require_once("class.Bootstrap.php"); -/** - * Include class to preview documents - */ -require_once("SeedDMS/Preview.php"); - /** * Class which outputs the html page for AttributeGroupMgr view * @@ -121,17 +116,14 @@ $(document).ready( function() { $this->contentHeading(getMLText("group_info")); $folders = $selgroup->getFolders(); - print ""; - print "\n\n"; - print "\n"; - print "\n"; - print "\n"; - print "\n"; - print "\n\n\n"; - foreach($folders as $subFolder) { - echo $this->folderListRow($subFolder); + if($folders) { + print $this->folderListHeader(); + print "\n"; + foreach($folders as $subFolder) { + echo $this->folderListRow($subFolder); + } + echo "\n
".getMLText("name")."".getMLText("status")."".getMLText("action")."
\n"; } - echo "\n\n"; } } /* }}} */ @@ -344,7 +336,7 @@ $(document).ready( function() { $this->columnStart(4); ?>
-