diff options
Diffstat (limited to 'frontends/php/include/forms.inc.php')
| -rw-r--r-- | frontends/php/include/forms.inc.php | 5 |
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++); |
