diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-05-14 21:04:35 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-05-14 21:04:35 +0000 |
| commit | d9fe75cd26afc681a902a611d56454add751b113 (patch) | |
| tree | 1810bf536507e9e7e2708fbadfef64d84cf045ac /frontends/php/maps.php | |
| parent | 1196b90ca4175ae95a6e6a48280a5dc8b5403a81 (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/maps.php')
| -rw-r--r-- | frontends/php/maps.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/maps.php b/frontends/php/maps.php index 8a2fe70c..444daf20 100644 --- a/frontends/php/maps.php +++ b/frontends/php/maps.php @@ -85,7 +85,7 @@ } $h2=$h2."<select class=\"biginput\" name=\"sysmapid\" onChange=\"submit()\">"; - $h2=$h2."<option value=\"0\" ".iif(!isset($_GET["groupid"]),"selected","").">".S_SELECT_MAP_DOT_DOT_DOT; + $h2=$h2.form_select("sysmapid",0,S_SELECT_MAP_DOT_DOT_DOT); $result=DBselect("select sysmapid,name from sysmaps order by name"); while($row=DBfetch($result)) @@ -94,7 +94,7 @@ { continue; } - $h2=$h2."<option value=\"".$row["sysmapid"]."\" ".iif(isset($_GET["sysmapid"])&&($_GET["sysmapid"]==$row["sysmapid"]),"selected","").">".$row["name"]; + $h2=$h2.form_select("sysmapid",$row["sysmapid"],$row["name"]); } $h2=$h2."</select>"; |
