Code

Updated graphs
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 26 Aug 2010 07:36:19 +0000 (07:36 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 26 Aug 2010 07:36:19 +0000 (07:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19454 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/generic/statistics/chartClasses/class_statChart.inc
gosa-core/plugins/generic/statistics/class_statistics.inc
gosa-core/plugins/generic/statistics/statistics.tpl

index c55815c8bfdaeebb8322301681a7a110b4fbac8a..5b4cd4f428292e7848558667d52cbaf16e780e43 100644 (file)
@@ -79,6 +79,11 @@ class statChart{
         return($this->seriesList);
     }
 
+    function getGraphOptions()
+    {
+        return("");
+    }
+
     function getSeriesSelector()
     {
         $str = "<input type='hidden' name='{$this->graphName}_posted' value='1'>";
index e0794141809fac51c9c7bf5dea7a8441f61e26ec..b685c0953f1695f434652c3e4d34dce746ca7235 100644 (file)
@@ -195,6 +195,7 @@ class statistics extends plugin
 
         $curGraph = $this->graphs[$this->selectedGraphType];
         $smarty->assign('curGraphID', $curGraph->getGraphID());
+        $smarty->assign('curGraphOptions', $curGraph->getGraphOptions());
         $smarty->assign('curSeriesSelector', $curGraph->getSeriesSelector());
         $smarty->assign('unsbmittedFiles', count($this->unsbmittedFiles));
         $smarty->assign('unsbmittedFilesMsg', sprintf(
index b9b9f236da45b22028e8881b6648189aba6e9a0e..0ad79788e93a278b47301eb4e6851d66d5abac3a 100644 (file)
@@ -74,6 +74,7 @@
         <select name='selectedGraphType' onChange="document.mainform.submit();" size='1'>
             {html_options options=$availableGraphs selected=$selectedGraphType}
         </select>
+        {$curGraphOptions}
         <table>
             <tr>
                 <td>