diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-02-10 12:53:34 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-02-10 12:53:34 +0000 |
| commit | f54860dfdd8d24de1dc26a530d95a23343756dc2 (patch) | |
| tree | 76234c5a861862aee2170b41cf7a517e82633e93 /frontends/php/include/graphs.inc.php | |
| parent | 455a64dfe19d7700fa1fe10edecb1ea82fa5dcce (diff) | |
- improved Templates logic (Eugene)
- speed improvement for proc.num of Tru64 (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2631 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/graphs.inc.php')
| -rw-r--r-- | frontends/php/include/graphs.inc.php | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/frontends/php/include/graphs.inc.php b/frontends/php/include/graphs.inc.php index 495d6c46..0963cbbb 100644 --- a/frontends/php/include/graphs.inc.php +++ b/frontends/php/include/graphs.inc.php @@ -495,7 +495,7 @@ function navigation_bar($url) { $h1=S_NAVIGATE; - $h2=S_PERIOD." "; + $h2=S_PERIOD.SPACE; $h2=$h2."<select class=\"biginput\" name=\"period\" onChange=\"submit()\">"; $h2=$h2.form_select("period",3600,"1h"); $h2=$h2.form_select("period",2*3600,"2h"); @@ -525,7 +525,7 @@ $h2=$h2.form_select("inc",31*24*3600,"+month"); $h2=$h2.form_select("inc",365*24*3600,"+year"); $h2=$h2."</select>"; - $h2=$h2." ".S_MOVE." "; + $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"); @@ -544,9 +544,9 @@ $h2=$h2.form_select("right",31*24,"+month"); $h2=$h2.form_select("right",365*24,"+year"); $h2=$h2."</select>"; - $h2=$h2." "; + $h2=$h2.SPACE; $h2=$h2."<input name=\"stime\" size=18 class=\"biginput\" value=\"yyyymmddhhmm\" size=12>"; - $h2=$h2." "; + $h2=$h2.SPACE; $h2=$h2."<input class=\"button\" type=\"submit\" name=\"action\" value=\"go\">"; $h2=$h2."<input class=\"button\" type=\"submit\" name=\"reset\" value=\"reset\">"; @@ -584,7 +584,7 @@ echo "<TD ALIGN=LEFT>"; echo "<div align=left>"; - echo "<b>".S_PERIOD.":</b> "; + echo "<b>".S_PERIOD.":</b>".SPACE; $hour=3600; @@ -609,14 +609,14 @@ $tmp=$_REQUEST["period"]+$sec; echo("<A HREF=\"$url?period=$tmp".url_param("graphid").url_param("stime").url_param("from").url_param("keep").url_param("fullscreen")."\">+</A>"); - echo "] "; + echo "]".SPACE; } echo("</div>"); echo "</TD>"; echo "<TD BGCOLOR=#FFFFFF WIDTH=15% ALIGN=RIGHT>"; - echo "<b>".nbsp(S_KEEP_PERIOD).":</b> "; + echo "<b>".nbsp(S_KEEP_PERIOD).":</b>".SPACE; if($_REQUEST["keep"] == 1) { echo("[<A HREF=\"$url?keep=0".url_param("graphid").url_param("from").url_param("period").url_param("fullscreen")."\">".S_ON_C."</a>]"); @@ -632,7 +632,7 @@ if(isset($_REQUEST["stime"])) { echo "<div align=left>" ; - echo "<b>".S_MOVE.":</b> " ; + echo "<b>".S_MOVE.":</b>".SPACE; $day=24; // $a already defined @@ -656,14 +656,14 @@ $tmp=date("YmdHi",$tmp); echo("<A HREF=\"$url?stime=$tmp".url_param("graphid").url_param("period").url_param("keep").url_param("fullscreen")."\">+</A>"); - echo "] "; + echo "]".SPACE; } echo("</div>"); } else { echo "<div align=left>"; - echo "<b>".S_MOVE.":</b> "; + echo "<b>".S_MOVE.":</b>".SPACE; $day=24; // $a already defined @@ -687,7 +687,7 @@ echo "+"; } - echo "] "; + echo "]".SPACE; } echo("</div>"); } @@ -704,7 +704,7 @@ { echo "<input name=\"stime\" class=\"biginput\" value=\"yyyymmddhhmm\" size=12>"; } - echo " "; + echo SPACE; echo "<input class=\"button\" type=\"submit\" name=\"action\" value=\"go\">"; echo "</form>"; echo "</TD>"; |
