diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2002-12-21 21:48:49 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2002-12-21 21:48:49 +0000 |
| commit | d0fad7a598d08076ade284ee13dd1008f08e3867 (patch) | |
| tree | f69a7af986becab091220c66d8e0acb7228dc3d7 /frontends/php/hosts.php | |
| parent | 2dd91f6393e0001ec1931176e1ce38ff1359ba84 (diff) | |
- 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
Diffstat (limited to 'frontends/php/hosts.php')
| -rw-r--r-- | frontends/php/hosts.php | 7 |
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\">"; |
