1 <h3>{t}Usage statistics{/t}</h3>
3 {if !$rpcConfigured}
5 {t}This feature is disabled. To enable it you can use the GOsa properties plugin, just activate the remote procedure call (RPC) configuration flags.{/t}
7 {else if !$validRpcHandle}
9 {t}Communication with the GOsa-backend failed. Please check the rpc configuration!{/t}
11 {else}
13 {if $unsbmittedFiles != 0}
14 {$unsbmittedFilesMsg}
15 <button name='transmitStatistics'>{t}Send{/t}</button>
16 <hr>
17 {/if}
19 <table>
20 <tr>
21 <td>{t}Generate report for{/t}</td>
22 <td style='width:220px;'>
23 <input type="text" id="graph1DatePicker1" name="graph1DatePicker1" class="date" value="{$graph1DatePicker1}">
24 <script type="text/javascript">
25 {literal}
26 var datepicker = new DatePicker(
27 { relative : 'graph1DatePicker1',
28 language : '{/literal}{$lang}{literal}',
29 keepFieldEmpty : true,
30 enableCloseEffect : false,
31 enableShowEffect : false });
32 {/literal}
33 </script>
34 </td>
35 <td> - </td>
36 <td style='width:220px;'>
37 <input type="text" id="graph1DatePicker2" name="graph1DatePicker2" class="date" value="{$graph1DatePicker2}">
38 <script type="text/javascript">
39 {literal}
40 var datepicker = new DatePicker(
41 { relative : 'graph1DatePicker2',
42 language : '{/literal}{$lang}{literal}',
43 keepFieldEmpty : true,
44 enableCloseEffect : false,
45 enableShowEffect : false });
46 {/literal}
47 </script>
48 </td>
49 <td>
50 <button name='receiveStatistics'>{t}Receive{/t}</button>
51 </td>
52 </tr>
53 </table>
54 <hr>
56 {if $graphID_1}
57 <img src='plugins/statistics/getGraph.php?id={$graphID_1}'>
58 {/if}
59 {if $graphID_2}
60 <img src='plugins/statistics/getGraph.php?id={$graphID_2}'>
61 {/if}
62 {if $graphID_3}
63 <img src='plugins/statistics/getGraph.php?id={$graphID_3}'>
64 {/if}
65 {if $graphID_4}
66 <img src='plugins/statistics/getGraph.php?id={$graphID_4}'>
67 {/if}
68 {if $graphID_5}
69 <img src='plugins/statistics/getGraph.php?id={$graphID_5}'>
70 {/if}
71 {if $graphID_6}
72 <img src='plugins/statistics/getGraph.php?id={$graphID_6}'>
73 {/if}
75 {/if}