summaryrefslogtreecommitdiffstats
path: root/frontends/php/queue.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-05-14 21:04:35 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-05-14 21:04:35 +0000
commitd9fe75cd26afc681a902a611d56454add751b113 (patch)
tree1810bf536507e9e7e2708fbadfef64d84cf045ac /frontends/php/queue.php
parent1196b90ca4175ae95a6e6a48280a5dc8b5403a81 (diff)
downloadzabbix-d9fe75cd26afc681a902a611d56454add751b113.tar.gz
zabbix-d9fe75cd26afc681a902a611d56454add751b113.tar.xz
zabbix-d9fe75cd26afc681a902a611d56454add751b113.zip
- better readability of php code (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1772 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/queue.php')
-rw-r--r--frontends/php/queue.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/queue.php b/frontends/php/queue.php
index 71b9b945..08294e3b 100644
--- a/frontends/php/queue.php
+++ b/frontends/php/queue.php
@@ -46,8 +46,8 @@
# $h2=S_GROUP."&nbsp;";
$h2="";
$h2=$h2."<select class=\"biginput\" name=\"show\" onChange=\"submit()\">";
- $h2=$h2."<option value=\"0\" ".iif($_GET["show"]==0,"selected","").">".S_OVERVIEW;
- $h2=$h2."<option value=\"1\" ".iif($_GET["show"]==1,"selected","").">".S_DETAILS;
+ $h2=$h2.form_select("show",0,S_OVERVIEW);
+ $h2=$h2.form_select("show",1,S_DETAILS);
$h2=$h2."</select>";
show_header2($h1, $h2, "<form name=\"selection\" method=\"get\" action=\"queue.php\">", "</form>");