diff options
Diffstat (limited to 'frontends/php/include/graphs.inc.php')
| -rw-r--r-- | frontends/php/include/graphs.inc.php | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/frontends/php/include/graphs.inc.php b/frontends/php/include/graphs.inc.php index 0963cbbb..709b37ab 100644 --- a/frontends/php/include/graphs.inc.php +++ b/frontends/php/include/graphs.inc.php @@ -508,41 +508,41 @@ $h2=$h2.form_select("period",365*24*3600,"year"); $h2=$h2."</select>"; $h2=$h2."<select class=\"biginput\" name=\"dec\" onChange=\"submit()\">"; - $h2=$h2.form_select("dec",0,S_DECREASE); - $h2=$h2.form_select("dec",3600,"-1h"); - $h2=$h2.form_select("dec",4*3600,"-4h"); - $h2=$h2.form_select("dec",24*3600,"-24h"); - $h2=$h2.form_select("dec",7*24*3600,"-week"); - $h2=$h2.form_select("dec",31*24*3600,"-month"); - $h2=$h2.form_select("dec",365*24*3600,"-year"); + $h2=$h2.form_select(NULL,0,S_DECREASE); + $h2=$h2.form_select(NULL,3600,"-1h"); + $h2=$h2.form_select(NULL,4*3600,"-4h"); + $h2=$h2.form_select(NULL,24*3600,"-24h"); + $h2=$h2.form_select(NULL,7*24*3600,"-week"); + $h2=$h2.form_select(NULL,31*24*3600,"-month"); + $h2=$h2.form_select(NULL,365*24*3600,"-year"); $h2=$h2."</select>"; $h2=$h2."<select class=\"biginput\" name=\"inc\" onChange=\"submit()\">"; - $h2=$h2.form_select("inc",0,S_INCREASE); - $h2=$h2.form_select("inc",3600,"+1h"); - $h2=$h2.form_select("inc",4*3600,"+4h"); - $h2=$h2.form_select("inc",24*3600,"+24h"); - $h2=$h2.form_select("inc",7*24*3600,"+week"); - $h2=$h2.form_select("inc",31*24*3600,"+month"); - $h2=$h2.form_select("inc",365*24*3600,"+year"); + $h2=$h2.form_select(NULL,0,S_INCREASE); + $h2=$h2.form_select(NULL,3600,"+1h"); + $h2=$h2.form_select(NULL,4*3600,"+4h"); + $h2=$h2.form_select(NULL,24*3600,"+24h"); + $h2=$h2.form_select(NULL,7*24*3600,"+week"); + $h2=$h2.form_select(NULL,31*24*3600,"+month"); + $h2=$h2.form_select(NULL,365*24*3600,"+year"); $h2=$h2."</select>"; $h2=$h2.SPACE.S_MOVE.SPACE; $h2=$h2."<select class=\"biginput\" name=\"left\" onChange=\"submit()\">"; - $h2=$h2.form_select("left",0,S_LEFT_DIR); - $h2=$h2.form_select("left",1,"-1h"); - $h2=$h2.form_select("left",4,"-4h"); - $h2=$h2.form_select("left",24,"-24h"); - $h2=$h2.form_select("left",7*24,"-week"); - $h2=$h2.form_select("left",31*24,"-month"); - $h2=$h2.form_select("left",365*24,"-year"); + $h2=$h2.form_select(NULL,0,S_LEFT_DIR); + $h2=$h2.form_select(NULL,1,"-1h"); + $h2=$h2.form_select(NULL,4,"-4h"); + $h2=$h2.form_select(NULL,24,"-24h"); + $h2=$h2.form_select(NULL,7*24,"-week"); + $h2=$h2.form_select(NULL,31*24,"-month"); + $h2=$h2.form_select(NULL,365*24,"-year"); $h2=$h2."</select>"; $h2=$h2."<select class=\"biginput\" name=\"right\" onChange=\"submit()\">"; - $h2=$h2.form_select("right",0,S_RIGHT_DIR); - $h2=$h2.form_select("right",1,"+1h"); - $h2=$h2.form_select("right",4,"+4h"); - $h2=$h2.form_select("right",24,"+24h"); - $h2=$h2.form_select("right",7*24,"+week"); - $h2=$h2.form_select("right",31*24,"+month"); - $h2=$h2.form_select("right",365*24,"+year"); + $h2=$h2.form_select(NULL,0,S_RIGHT_DIR); + $h2=$h2.form_select(NULL,1,"+1h"); + $h2=$h2.form_select(NULL,4,"+4h"); + $h2=$h2.form_select(NULL,24,"+24h"); + $h2=$h2.form_select(NULL,7*24,"+week"); + $h2=$h2.form_select(NULL,31*24,"+month"); + $h2=$h2.form_select(NULL,365*24,"+year"); $h2=$h2."</select>"; $h2=$h2.SPACE; $h2=$h2."<input name=\"stime\" size=18 class=\"biginput\" value=\"yyyymmddhhmm\" size=12>"; |
