diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2004-11-13 11:56:12 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2004-11-13 11:56:12 +0000 |
| commit | e7b40fc153ce6f7be399380f45e22ee48e2ceb00 (patch) | |
| tree | 5566c4f33373d2fd94c44faf78973ff03b355778 /frontends/php/alerts.php | |
| parent | 6fe1ce1513c87a8b20c2281a342303aebc0a2414 (diff) | |
PHP GUI improvements.
git-svn-id: svn://svn.zabbix.com/trunk@1478 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/alerts.php')
| -rw-r--r-- | frontends/php/alerts.php | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/frontends/php/alerts.php b/frontends/php/alerts.php index d95bfffd..72215262 100644 --- a/frontends/php/alerts.php +++ b/frontends/php/alerts.php @@ -48,24 +48,22 @@ ?> <?php - show_table3_header_begin(); - echo " ".S_ALERT_HISTORY_BIG; - show_table3_h_delimiter(20); - echo "<span style=\"float:right\">"; - echo "<form name=\"form2\" method=\"get\" action=\"alerts.php\">"; + $h1=" ".S_ALERT_HISTORY_BIG; + + $h2=""; + if(isset($_GET["start"])) { - echo "<input class=\"biginput\" name=\"start\" type=hidden value=".$_GET["start"]." size=8>"; - echo "<input class=\"button\" type=\"submit\" name=\"do\" value=\"<< Prev 100\">"; + $h2=$h2."<input class=\"biginput\" name=\"start\" type=hidden value=".$_GET["start"]." size=8>"; + $h2=$h2."<input class=\"button\" type=\"submit\" name=\"do\" value=\"<< Prev 100\">"; } else { - echo "<input class=\"button\" type=\"submit\" disabled name=\"do\" value=\"<< Prev 100\">"; + $h2=$h2."<input class=\"button\" type=\"submit\" disabled name=\"do\" value=\"<< Prev 100\">"; } - echo "<input class=\"button\" type=\"submit\" name=\"do\" value=\"Next 100 >>\">"; - echo "</form>"; - echo "</span>"; - show_table_header_end(); + $h2=$h2."<input class=\"button\" type=\"submit\" name=\"do\" value=\"Next 100 >>\">"; + + show_header2($h1,$h2,"<form name=\"form2\" method=\"get\" action=\"alerts.php\">","</form>"); ?> <FONT COLOR="#000000"> |
