alecpl
2011-06-15 3f3ec14ed011ef1df326035d450a451801947f08
- Force allowed attributes on table rows


1 files modified
4 ■■■■ changed files
program/include/html.php 4 ●●●● patch | view | raw | blame | history
program/include/html.php
@@ -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);
            }
        }