diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2004-11-19 21:53:02 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2004-11-19 21:53:02 +0000 |
| commit | f617fb752abb648c642d4a42944e84ba8d97c7ee (patch) | |
| tree | c9ab326da43ed68682ad4ce5201e420cbc86be24 /frontends/php/config.php | |
| parent | 02253e79d270cf4ff545e3b93930bd622f206583 (diff) | |
- use checkbox instead of lists in users.php (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1493 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/config.php')
| -rw-r--r-- | frontends/php/config.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/php/config.php b/frontends/php/config.php index 50ec4bb0..eb74da99 100644 --- a/frontends/php/config.php +++ b/frontends/php/config.php @@ -184,9 +184,9 @@ show_table2_v_delimiter($col++); echo "<form name=\"selForm\" method=\"get\" action=\"config.php\">"; - if(isset($mediatypeid)) + if(isset($_GET["mediatypeid"])) { - echo "<input class=\"biginput\" name=\"mediatypeid\" type=\"hidden\" value=\"$mediatypeid\" size=8>"; + echo "<input class=\"biginput\" name=\"mediatypeid\" type=\"hidden\" value=\"".$_GET["mediatypeid"]."\" size=8>"; } echo S_DESCRIPTION; @@ -244,7 +244,7 @@ show_table2_v_delimiter2(); echo "<input class=\"button\" type=\"submit\" name=\"register\" value=\"add\">"; - if(isset($mediatypeid)) + if(isset($_GET["mediatypeid"])) { echo "<input class=\"button\" type=\"submit\" name=\"register\" value=\"update media\">"; echo "<input class=\"button\" type=\"submit\" name=\"register\" value=\"delete\" onClick=\"return Confirm('".S_DELETE_SELECTED_MEDIA."');\">"; |
