diff options
author | thomascube <thomas@roundcube.net> | 2008-07-29 12:32:19 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2008-07-29 12:32:19 +0000 |
commit | f92aba3918575f30f577542753a2912df5729374 (patch) | |
tree | d14e1c6b27bfa7219a906be7a8fd9540daa7aae0 /program/include/html.php | |
parent | 8c72e33d3764cf2695256ab9c2a490d4c4f53696 (diff) |
Add microformats to address book + fix html output + codestyle
Diffstat (limited to 'program/include/html.php')
-rw-r--r-- | program/include/html.php | 8 |
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)) { |