diff options
Diffstat (limited to 'frontends/php/include/html.inc.php')
| -rw-r--r-- | frontends/php/include/html.inc.php | 7 |
1 files changed, 5 insertions, 2 deletions
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 "<td class=\"".$element["class"]."\">".$element["value"]."</td>"; + if(isset($element["class"])) + echo "<td class=\"".$element["class"]."\">".$element["value"]."</td>"; + else + echo "<td>".$element["value"]."</td>"; } else { |
