[Svn] r4854 - trunk/roundcubemail/program/include

trac at roundcube.net trac at roundcube.net
Wed Jun 15 13:43:06 CEST 2011


Author: alec
Date: 2011-06-15 06:43:01 -0500 (Wed, 15 Jun 2011)
New Revision: 4854

Modified:
   trunk/roundcubemail/program/include/html.php
Log:
- Force allowed attributes on table rows


Modified: trunk/roundcubemail/program/include/html.php
===================================================================
--- trunk/roundcubemail/program/include/html.php	2011-06-15 11:34:51 UTC (rev 4853)
+++ trunk/roundcubemail/program/include/html.php	2011-06-15 11:43:01 UTC (rev 4854)
@@ -713,7 +713,7 @@
             foreach ($this->header as $c => $col) {
                 $rowcontent .= self::tag('td', $col->attrib, $col->content);
             }
-            $thead = self::tag('thead', null, self::tag('tr', null, $rowcontent));
+            $thead = self::tag('thead', null, self::tag('tr', null, $rowcontent, parent::$common_attrib));
         }
 
         foreach ($this->rows as $r => $row) {
@@ -723,7 +723,7 @@
             }
 
             if ($r < $this->rowindex || count($row->cells)) {
-                $tbody .= self::tag('tr', $row->attrib, $rowcontent);
+                $tbody .= self::tag('tr', $row->attrib, $rowcontent, parent::$common_attrib);
             }
         }
 

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list