summaryrefslogtreecommitdiffstats
path: root/frontends/php/users.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/users.php
parent1196b90ca4175ae95a6e6a48280a5dc8b5403a81 (diff)
- 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/users.php')
-rw-r--r--frontends/php/users.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/users.php b/frontends/php/users.php
index 3c7e9d2b..c5ff8929 100644
--- a/frontends/php/users.php
+++ b/frontends/php/users.php
@@ -142,8 +142,8 @@
# $h2=S_GROUP."&nbsp;";
$h2="";
$h2=$h2."<select class=\"biginput\" name=\"config\" onChange=\"submit()\">";
- $h2=$h2."<option value=\"0\" ".iif(isset($_GET["config"])&&$_GET["config"]==0,"selected","").">".S_USERS;
- $h2=$h2."<option value=\"1\" ".iif(isset($_GET["config"])&&$_GET["config"]==1,"selected","").">".S_USER_GROUPS;
+ $h2=$h2.form_select("config",0,S_USERS);
+ $h2=$h2.form_select("config",1,S_USER_GROUPS);
$h2=$h2."</select>";
show_header2($h1, $h2, "<form name=\"selection\" method=\"get\" action=\"users.php\">", "</form>");