diff options
author | Ermal Luçi <eri@pfsense.org> | 2014-02-17 19:02:29 +0100 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2014-02-17 19:02:29 +0100 |
commit | d78a548c6d4b7e87763770b8dff7a200a3280a87 (patch) | |
tree | c0a067a356a12cb7bdf6a76853d85aae0b27f730 | |
parent | 838e1f6342b42c52e21d11942e35561c25194c1d (diff) | |
parent | fe672816e24f91fd0aa183d2606f1f53aa178f74 (diff) | |
download | pfsense-d78a548c6d4b7e87763770b8dff7a200a3280a87.zip pfsense-d78a548c6d4b7e87763770b8dff7a200a3280a87.tar.gz |
Merge pull request #922 from N0YB/RELENG_2_1
XHTML Compliance
-rwxr-xr-x | usr/local/www/status_rrd_graph.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php index f00ca8a..9214c48 100755 --- a/usr/local/www/status_rrd_graph.php +++ b/usr/local/www/status_rrd_graph.php @@ -649,9 +649,9 @@ function get_dates($curperiod, $graph) { <tr> <td colspan="2" class="list"> <script type="text/javascript"> +// <![CDATA[ function update_graph_images() { //alert('updating'); - var amp = decodeURIComponent("%26"); var randomid = Math.floor(Math.random()*11); <?php foreach($graphs as $graph) { @@ -714,13 +714,14 @@ function get_dates($curperiod, $graph) { $id = preg_replace('/\./', '_', $id); echo "\n"; - echo "\t\tjQuery('#{$id}').attr('src','status_rrd_graph_img.php?start={$start}' + amp + 'graph={$graph}' + amp + 'database={$curdatabase}' + amp + 'style={$curstyle}' + amp + 'tmp=' + randomid);\n"; + echo "\t\tjQuery('#{$id}').attr('src','status_rrd_graph_img.php?start={$start}&graph={$graph}&database={$curdatabase}&style={$curstyle}&tmp=' + randomid);\n"; } } ?> window.setTimeout('update_graph_images()', 355000); } window.setTimeout('update_graph_images()', 355000); +// ]]> </script> </td> </tr> |