From f92aba3918575f30f577542753a2912df5729374 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Tue, 29 Jul 2008 08:32:19 -0400
Subject: [PATCH] Add microformats to address book + fix html output + codestyle

---
 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 68bc66b..4a79def 100644
--- a/program/include/html.php
+++ b/program/include/html.php
@@ -33,7 +33,7 @@
     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 @@
      */
     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)) {

--
Gitblit v1.9.1