From: hickert Date: Tue, 24 Aug 2010 11:57:00 +0000 (+0000) Subject: Updated grapgh generation X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b6dd57897598c7eec4b2eaf90cc2daaf3421a626;p=gosa.git Updated grapgh generation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19434 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/generic/statistics/class_statistics.inc b/gosa-core/plugins/generic/statistics/class_statistics.inc index 7e1760ee2..34c6a7fa8 100644 --- a/gosa-core/plugins/generic/statistics/class_statistics.inc +++ b/gosa-core/plugins/generic/statistics/class_statistics.inc @@ -247,7 +247,8 @@ class statistics extends plugin /* Prepare actions-per-interval array. - */ + */ + $gData['actionsPerInterval'] = array(); foreach($res['actionsPerInterval'] as $category => $data){ if(empty($category)) continue; foreach($data as $dateStr => $count){ diff --git a/gosa-core/plugins/generic/statistics/statistics.tpl b/gosa-core/plugins/generic/statistics/statistics.tpl index 790134061..0e417a755 100644 --- a/gosa-core/plugins/generic/statistics/statistics.tpl +++ b/gosa-core/plugins/generic/statistics/statistics.tpl @@ -53,7 +53,6 @@
-
@@ -69,19 +68,17 @@
-
- - - + +
- {if isset($graphIDs.2) && $graphIDs.2} + {if isset($graphIDs.2) && $graphIDs.2} +
+ + + - - - + + + - -
- {/if} -
- {if isset($graphIDs.2) && $graphIDs.2} +
{foreach from=$seriesListPerGraph.2 key=key item=item} {$item} {/foreach} - {/if} -
+
+ {/if} -
{if isset($graphIDs.3) && $graphIDs.3} +
{/if} {if isset($graphIDs.4) && $graphIDs.4} +
{/if} {if isset($graphIDs.5) && $graphIDs.5} +
{/if} {if isset($graphIDs.6) && $graphIDs.6} +
{/if} {/if}