From d0fad7a598d08076ade284ee13dd1008f08e3867 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Sat, 21 Dec 2002 21:48:49 +0000 Subject: - support of template hosts. Remove tables hosts_templates and triggers_template. (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@603 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/hosts.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'frontends/php/hosts.php') 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"]); } @@ -231,11 +231,6 @@ } echo ""; - show_table2_v_delimiter(); - echo "Add parameters supported by zabbix_agent"; - show_table2_h_delimiter(); - echo ""; - show_table2_v_delimiter(); echo "Use the host as a template"; show_table2_h_delimiter(); -- cgit