diff --git a/views/bootstrap/class.Charts.php b/views/bootstrap/class.Charts.php index e7763a263..101348018 100644 --- a/views/bootstrap/class.Charts.php +++ b/views/bootstrap/class.Charts.php @@ -57,9 +57,9 @@ class SeedDMS_View_Charts extends SeedDMS_Bootstrap_Style { ?> \n"; -echo "
\n"; + +echo "
\n"; $this->contentHeading(getMLText("chart_selection")); echo "
\n"; foreach(array('docsperuser', 'sizeperuser', 'docspermimetype', 'docspercategory', 'docsperstatus', 'docspermonth', 'docsaccumulated') as $atype) { @@ -68,12 +68,29 @@ foreach(array('docsperuser', 'sizeperuser', 'docspermimetype', 'docspercategory' echo "
\n"; echo "
\n"; -echo "
\n"; +if(in_array($type, array('docspermonth', 'docsaccumulated'))) { + echo "
\n"; +} else { + echo "
\n"; +} $this->contentHeading(getMLText('chart_'.$type.'_title')); echo "
\n"; - ?>
+\n"; +echo "
\n"; + +if(!in_array($type, array('docspermonth', 'docsaccumulated'))) { + echo "
\n"; + $this->contentHeading(getMLText('legend')); + echo "
\n"; + echo "
\n"; + echo "
\n"; +} + +echo "
\n"; +?> \n"; -echo "
\n"; -echo "
\n"; - $this->contentContainerEnd(); $this->htmlEndPage();