diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-05 19:43:49 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-05 19:43:49 +0000 |
| commit | 2ea5acb35f9b702328712924b9c2573ea90a53d9 (patch) | |
| tree | 5f49f51f48ba120f3975f6a5ef1b4b59567cef4d /frontends/php/include/forms.inc.php | |
| parent | 7b8c1d51b171a1257362da5549c987c8eae716b3 (diff) | |
| download | zabbix-2ea5acb35f9b702328712924b9c2573ea90a53d9.tar.gz zabbix-2ea5acb35f9b702328712924b9c2573ea90a53d9.tar.xz zabbix-2ea5acb35f9b702328712924b9c2573ea90a53d9.zip | |
- new popup selections for forms (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2490 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/forms.inc.php')
| -rw-r--r-- | frontends/php/include/forms.inc.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php index 128bd681..5ef6ac56 100644 --- a/frontends/php/include/forms.inc.php +++ b/frontends/php/include/forms.inc.php @@ -311,7 +311,7 @@ $col=0; show_table2_v_delimiter($col++); - echo "<form method=\"get\" action=\"items.php#form\">"; + echo "<form name=\"item\" method=\"get\" action=\"items.php#form\">"; if(isset($_REQUEST["itemid"])) { echo "<input class=\"biginput\" name=\"itemid\" type=hidden value=".$_REQUEST["itemid"].">"; @@ -323,7 +323,7 @@ show_table2_v_delimiter($col++); echo S_HOST; show_table2_h_delimiter(); - echo "<select class=\"biginput\" name=\"hostid\" value=\"3\">"; +/* echo "<select class=\"biginput\" name=\"hostid\" value=\"3\">"; $result=DBselect("select hostid,host from hosts where status not in (".HOST_STATUS_DELETED.")order by host"); while($row=DBfetch($result)) { @@ -338,7 +338,12 @@ echo "<option value=\"$hostid_\">$host_"; } } - echo "</select>"; + echo "</select>";*/ + + echo "<input class=\"biginput\" readonly name=\"uniq\" value=\"\" size=30>"; +?> + <input title="Select [Alt+T]" accessKey="T" type="button" tabindex='1' class="button" value='Select' name="btn1" onclick="window.open('popup.php?form=item&field=uniq','new_win','width=450,height=450,resizable=1,scrollbars=1');"> +<?php show_table2_v_delimiter($col++); echo S_TYPE; |
