From 9663d542ca6853a1a5c44f77d5a52fd31e43b80c Mon Sep 17 00:00:00 2001 From: hugetoad Date: Tue, 10 Jan 2006 12:12:04 +0000 Subject: Frontend improvements. git-svn-id: svn://svn.zabbix.com/trunk@2509 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/forms.inc.php | 41 +++++++++++++++---------------------- 1 file changed, 17 insertions(+), 24 deletions(-) (limited to 'frontends/php/include/forms.inc.php') diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php index 820a3553..e8d680ed 100644 --- a/frontends/php/include/forms.inc.php +++ b/frontends/php/include/forms.inc.php @@ -1422,13 +1422,16 @@ $pattern=$row["pattern"]; $priority=$row["priority"]; - $hopstid=$row["hostid"]; + $hostid=$row["hostid"]; + $h=get_host_by_hostid($hostid); + $host=$h["host"]; } else { $pattern="*"; $priority=10; $hostid=0; + $host=""; } $col=0; @@ -1437,7 +1440,7 @@ echo S_AUTOREGISTRATION; show_table2_v_delimiter($col++); - echo "
"; + echo ""; echo ""; if(isset($id)) { @@ -1456,26 +1459,17 @@ show_table2_v_delimiter($col++); echo S_HOST; show_table2_h_delimiter(); - - echo ""; + echo ""; + echo ""; + echo ""; show_table2_v_delimiter2($col++); - echo ""; + echo ""; if(isset($id)) { - echo ""; - echo ""; + echo ""; } + echo ""; show_table2_header_end(); } @@ -1895,13 +1889,12 @@ } show_table2_v_delimiter2(); - echo ""; - + echo ""; if(isset($_REQUEST["mediatypeid"])) { - echo ""; - echo ""; + echo ""; } + echo ""; show_table2_header_end(); } @@ -1961,12 +1954,12 @@ function insert_image_form() echo ""; show_table2_v_delimiter2(); - echo ""; + echo ""; if(isset($_REQUEST["imageid"])) { - echo ""; - echo ""; + echo ""; } + echo ""; show_table2_header_end(); } -- cgit