From 9c17c8be0eef94e9b0f62a9848d1dcd8a88d2130 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Tue, 28 Sep 2004 17:58:11 +0000 Subject: Frontend improvements. git-svn-id: svn://svn.zabbix.com/trunk@1439 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/html.inc.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'frontends/php/include/html.inc.php') diff --git a/frontends/php/include/html.inc.php b/frontends/php/include/html.inc.php index d796f799..1eeeec16 100644 --- a/frontends/php/include/html.inc.php +++ b/frontends/php/include/html.inc.php @@ -76,10 +76,13 @@ while(list($num,$element)=each($elements)) { - if(!$element) continue; + if(is_array($element)&&isset($element["hide"])&&($element["hide"]==1)) continue; if(is_array($element)) { - echo "".$element["value"].""; + if(isset($element["class"])) + echo "".$element["value"].""; + else + echo "".$element["value"].""; } else { -- cgit