summaryrefslogtreecommitdiff
path: root/program/include/html.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-07-29 12:32:19 +0000
committerthomascube <thomas@roundcube.net>2008-07-29 12:32:19 +0000
commitf92aba3918575f30f577542753a2912df5729374 (patch)
treed14e1c6b27bfa7219a906be7a8fd9540daa7aae0 /program/include/html.php
parent8c72e33d3764cf2695256ab9c2a490d4c4f53696 (diff)
Add microformats to address book + fix html output + codestyle
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)) {