summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/forms.inc.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-06 14:31:40 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-06 14:31:40 +0000
commitdf99ab1a15ff0657be064a15caac3893140f9032 (patch)
treede0f6195e5a96196063bb1c19187ae5412115c57 /frontends/php/include/forms.inc.php
parent76c3e7c4e138c46e344e3ad200bda30d527ba626 (diff)
downloadzabbix-df99ab1a15ff0657be064a15caac3893140f9032.tar.gz
zabbix-df99ab1a15ff0657be064a15caac3893140f9032.tar.xz
zabbix-df99ab1a15ff0657be064a15caac3893140f9032.zip
Better forms.
git-svn-id: svn://svn.zabbix.com/trunk@2492 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/forms.inc.php')
-rw-r--r--frontends/php/include/forms.inc.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php
index 5ef6ac56..e06bb3aa 100644
--- a/frontends/php/include/forms.inc.php
+++ b/frontends/php/include/forms.inc.php
@@ -340,9 +340,10 @@
}
echo "</select>";*/
- echo "<input class=\"biginput\" readonly name=\"uniq\" value=\"\" size=30>";
+ echo "<input class=\"biginput\" name=\"hostid\" type=hidden value=\"$hostid\">";
+ echo "<input class=\"biginput\" readonly name=\"host\" value=\"$host\" 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');">
+ <input title="Select [Alt+T]" accessKey="T" type="button" tabindex='1' class="button" value='Select' name="btn1" onclick="window.open('popup.php?form=item&field1=hostid&field2=host','new_win','width=450,height=450,resizable=1,scrollbars=1');">
<?php
show_table2_v_delimiter($col++);