From bd443d5587cb568520c8ca2ea0e98ac0c7e5ac29 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Tue, 4 Jan 2005 10:35:24 +0000 Subject: Added screen for host-templates linkage. git-svn-id: svn://svn.zabbix.com/trunk@1578 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/hosts.php | 111 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 110 insertions(+), 1 deletion(-) (limited to 'frontends/php/hosts.php') diff --git a/frontends/php/hosts.php b/frontends/php/hosts.php index 2f1dcdb1..c1a3d4cb 100644 --- a/frontends/php/hosts.php +++ b/frontends/php/hosts.php @@ -133,12 +133,84 @@ $h2=$h2.""; show_header2($h1, $h2, "
", "
"); ?> + + +"; + $h2=$h2.""; + + $h2=$h2." ".S_HOST." "; + $h2=$h2.""; + + echo "
"; + show_header2($h1, $h2, "
", "
"); + } +?> + +1,"value"=>""); +# $actions="".S_CHANGE.""; + $actions="ZZZ"; + + table_row(array( + $host["host"], + $template["host"], + get_template_permission_str($row["items"]), + get_template_permission_str($row["triggers"]), + get_template_permission_str($row["actions"]), + get_template_permission_str($row["graphs"]), + get_template_permission_str($row["screens"]), + $actions + ),$col++); + } + if(DBnum_rows($result)==0) + { + echo ""; + echo "".S_NO_HOST_GROUPS_DEFINED.""; + echo ""; + } + table_end(); + } +?> + -- cgit