summaryrefslogtreecommitdiffstats
path: root/frontends/php/hosts.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/hosts.php')
-rw-r--r--frontends/php/hosts.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/frontends/php/hosts.php b/frontends/php/hosts.php
index 5c9864ce..e88175fa 100644
--- a/frontends/php/hosts.php
+++ b/frontends/php/hosts.php
@@ -19,7 +19,7 @@
{
if($HTTP_GET_VARS["register"]=="add")
{
- $result=add_host($HTTP_GET_VARS["host"],$HTTP_GET_VARS["port"],$HTTP_GET_VARS["status"],$HTTP_GET_VARS["template"],$HTTP_GET_VARS["useip"],$HTTP_GET_VARS["ip"],$HTTP_GET_VARS["host_templateid"],$HTTP_GET_VARS["newgroup"],$HTTP_GET_VARS["groups"]);
+ $result=add_host($HTTP_GET_VARS["host"],$HTTP_GET_VARS["port"],$HTTP_GET_VARS["status"],$HTTP_GET_VARS["useip"],$HTTP_GET_VARS["ip"],$HTTP_GET_VARS["host_templateid"],$HTTP_GET_VARS["newgroup"],$HTTP_GET_VARS["groups"]);
show_messages($result,"Host added","Cannot add host");
unset($HTTP_GET_VARS["hostid"]);
}
@@ -232,11 +232,6 @@
echo "</select>";
show_table2_v_delimiter();
- echo "Add parameters supported by zabbix_agent";
- show_table2_h_delimiter();
- echo "<INPUT class=\"biginput\" NAME=\"template\" TYPE=\"CHECKBOX\" VALUE=\"true\" CHECKED>";
-
- show_table2_v_delimiter();
echo "Use the host as a template";
show_table2_h_delimiter();
echo "<select class=\"biginput\" name=\"host_templateid\" size=\"1\">";