addElement('caption', false, 'Inline', 'Common'); $this->addElement( 'table', 'Block', new HTMLPurifier_ChildDef_Table(), 'Common', array( 'border' => 'Pixels', 'cellpadding' => 'Length', 'cellspacing' => 'Length', 'frame' => 'Enum#void,above,below,hsides,lhs,rhs,vsides,box,border', 'rules' => 'Enum#none,groups,rows,cols,all', 'summary' => 'Text', 'width' => 'Length' ) ); // common attributes $cell_align = array( 'align' => 'Enum#left,center,right,justify,char', 'charoff' => 'Length', 'valign' => 'Enum#top,middle,bottom,baseline', ); $cell_t = array_merge( array( 'abbr' => 'Text', 'colspan' => 'Number', 'rowspan' => 'Number', // Apparently, as of HTML5 this attribute only applies // to 'th' elements. 'scope' => 'Enum#row,col,rowgroup,colgroup', ), $cell_align ); $this->addElement('td', false, 'Flow', 'Common', $cell_t); $this->addElement('th', false, 'Flow', 'Common', $cell_t); $this->addElement('tr', false, 'Required: td | th', 'Common', $cell_align); $cell_col = array_merge( array( 'span' => 'Number', 'width' => 'MultiLength', ), $cell_align ); $this->addElement('col', false, 'Empty', 'Common', $cell_col); $this->addElement('colgroup', false, 'Optional: col', 'Common', $cell_col); $this->addElement('tbody', false, 'Required: tr', 'Common', $cell_align); $this->addElement('thead', false, 'Required: tr', 'Common', $cell_align); $this->addElement('tfoot', false, 'Required: tr', 'Common', $cell_align); } }__halt_compiler();----SIGNATURE:----rD8pWeUrse4Z57gFD2jxsfOxCCVbYxF8AXXB5CcWMmLZsKu+R0LPdXp7Nz1ncxLDQYoN6IdUipm4dv+YlxxfgTSQqqWTFUocNBBKzHJgNCx8BDYWBR4nqG7zBtCxKCgH63yLN3YL0ZK6KC1nwEPRZGNLrB7/o/SRdZtLWyxEp/8D5rX1hIE9OBCfRxO6a6ioLyYInYulOicRQ9SYiQqR818yuiokIZ0sLINe9npEvIwo4PDfbw8fzLhSyj04r+kPouQ7+SZtaVnIj0QESvNLW41lV5reIOClwfunx0vRnoi5M31P3Gkl3afHvGJiB691yqgyYTyr1iYQXhKI8LszD0qo4kbp+uiqeweDdi9obtkZPoolvQrqMqrXIUGu3G0KydgcNnCrXDnfjEBPZvKOQ+XCTZIujSrsvV25qy35uu75qn82+IxfiQHG521LrjL3buWN/e/GVqrD61nx34ur5L2bqaWUYAOhk8+xU4FRlz6ItwfAHQ35Fc0ncCAKnD3TJUS4cPDFSicJKD25PoeWPOkFFuxRFFmOE2bw9itN+Zajfv3YPC84b/kE6zldJcL54FGs47SyjUHgZdu4A6tws4rK0UpyagDUHIp9Yfggr53Hm0mPK/4uZs3BTT3Y9EwaziiKp7+M+WFgWk/VzLkVCTMZoMw5EU5lHNQJfIxcSU8=----ATTACHMENT:----NDEwMzgyMjYyMjI0MjIwMyA0MjcxMzE2NzQ3NTQ1NTk2IDk5MzYwMTY1NjYzOTM4MTg=