summaryrefslogtreecommitdiff
path: root/program/include/html.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/html.php')
-rw-r--r--program/include/html.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/program/include/html.php b/program/include/html.php
index 68bc66b36..4a79def91 100644
--- a/program/include/html.php
+++ b/program/include/html.php
@@ -33,7 +33,7 @@ class html
protected $content;
public static $common_attrib = array('id','class','style','title','align');
- public static $containers = array('div','span','p','h1','h2','h3','form','textarea');
+ public static $containers = array('div','span','p','h1','h2','h3','form','textarea','table','tr','th','td');
public static $lc_tags = true;
/**
@@ -607,10 +607,10 @@ class html_table extends html
*/
public function show($attrib = null)
{
- if (is_array($attrib))
- $this->attrib = array_merge($this->attrib, $attrib);
+ if (is_array($attrib))
+ $this->attrib = array_merge($this->attrib, $attrib);
- $thead = $tbody = "";
+ $thead = $tbody = "";
// include <thead>
if (!empty($this->header)) {