diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-08-29 10:06:42 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-08-29 10:06:42 +0000 |
| commit | 450bedfbd08dbb30b3a6fa47abe411e2bc689024 (patch) | |
| tree | b2a57904c928e0d63785109b7d8db93723e8e365 /frontends/php/hosts.php | |
| parent | 2ce640571ab5c0db1a26858f96ba804e36f1fb37 (diff) | |
| download | zabbix-450bedfbd08dbb30b3a6fa47abe411e2bc689024.tar.gz zabbix-450bedfbd08dbb30b3a6fa47abe411e2bc689024.tar.xz zabbix-450bedfbd08dbb30b3a6fa47abe411e2bc689024.zip | |
- misc fixes for host-templates linkage (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2009 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/hosts.php')
| -rw-r--r-- | frontends/php/hosts.php | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/frontends/php/hosts.php b/frontends/php/hosts.php index c995b487..1da7a166 100644 --- a/frontends/php/hosts.php +++ b/frontends/php/hosts.php @@ -131,12 +131,6 @@ add_audit(AUDIT_ACTION_ADD,AUDIT_RESOURCE_HOST,"Host [".addslashes($_GET["host"])."] IP [".$_GET["ip"]."] Status [".$_GET["status"]."]"); unset($_GET["hostid"]); } - if($_GET["register"]=="add items from template") - { - $result=add_using_host_template($_GET["hostid"],$_GET["host_templateid"]); - show_messages($result, S_ITEMS_ADDED, S_CANNOT_ADD_ITEMS); - unset($_GET["hostid"]); - } if($_GET["register"]=="update") { $groups=array(); @@ -464,6 +458,7 @@ { continue; } + $id="<INPUT TYPE=\"CHECKBOX\" class=\"biginput\" NAME=\"".$row["hostid"]."\"> ".$row["hostid"]; $host="<a href=\"items.php?hostid=".$row["hostid"]."\">".$row["host"]."</a>"; if($row["useip"]==1) @@ -544,7 +539,7 @@ $actions=S_CHANGE; } table_row(array( - $row["hostid"], + $id, $host, $ip, $row["port"], |
