diff options
| author | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-11-10 14:11:09 +0000 |
|---|---|---|
| committer | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-11-10 14:11:09 +0000 |
| commit | eccdbb7eb91dcee5c1b3a8c2620185961ac496ef (patch) | |
| tree | fb2c29915e41e8b630c99ec16a94506c35e84602 /frontends/php/include/config.inc.php | |
| parent | 44891441d5f4dd582c5698d2a78dc77b938f0c49 (diff) | |
- fix for start time in graph navigation (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@3451 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/config.inc.php')
| -rw-r--r-- | frontends/php/include/config.inc.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php index 3231d63f..c56d1622 100644 --- a/frontends/php/include/config.inc.php +++ b/frontends/php/include/config.inc.php @@ -949,7 +949,7 @@ else # Show History Graph - function show_history($itemid,$from,$period) + function show_history($itemid,$from,$stime,$period) { $till=date(S_DATE_FORMAT_YMDHMS,time(NULL)-$from*3600); show_table_header("TILL $till (".($period/3600)." HOURs)"); @@ -962,15 +962,15 @@ else echo "<script language=\"JavaScript\" type=\"text/javascript\">"; echo "if (navigator.appName == \"Microsoft Internet Explorer\")"; echo "{"; - echo " document.write(\"<IMG SRC='chart.php?itemid=$itemid&period=$period&from=$from&width=\"+(document.body.clientWidth-108)+\"'>\")"; + echo " document.write(\"<IMG SRC='chart.php?itemid=$itemid&period=$period&from=$from&stime=$stime&width=\"+(document.body.clientWidth-108)+\"'>\")"; echo "}"; echo "else if (navigator.appName == \"Netscape\")"; echo "{"; - echo " document.write(\"<IMG SRC='chart.php?itemid=$itemid&period=$period&from=$from&width=\"+(document.width-108)+\"'>\")"; + echo " document.write(\"<IMG SRC='chart.php?itemid=$itemid&period=$period&from=$from&stime=$stime&width=\"+(document.width-108)+\"'>\")"; echo "}"; echo "else"; echo "{"; - echo " document.write(\"<IMG SRC='chart.php?itemid=$itemid&period=$period&from=$from'>\")"; + echo " document.write(\"<IMG SRC='chart.php?itemid=$itemid&period=$period&from=$from&stime=$stime'>\")"; echo "}"; echo "</script>"; |
