summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/html.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-07-29 12:32:19 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-07-29 12:32:19 +0000
commit2057e9c3379a8c832d84dcc6327e22a8edfd3614 (patch)
tree544fdd31119526fa0747c758d68818a6df126082 /roundcubemail/program/include/html.php
parent5455ef5767bfbc1ce4c6216bd08b6861d603ece9 (diff)
Add microformats to address book + fix html output + codestyle
git-svn-id: https://svn.roundcube.net/trunk@1615 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/html.php')
-rw-r--r--roundcubemail/program/include/html.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/roundcubemail/program/include/html.php b/roundcubemail/program/include/html.php
index 68bc66b36..4a79def91 100644
--- a/roundcubemail/program/include/html.php
+++ b/roundcubemail/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)) {