From f92aba3918575f30f577542753a2912df5729374 Mon Sep 17 00:00:00 2001 From: thomascube Date: Tue, 29 Jul 2008 12:32:19 +0000 Subject: Add microformats to address book + fix html output + codestyle --- program/include/html.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'program/include') 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 if (!empty($this->header)) { -- cgit v1.2.3