File indexing completed on 2025-01-26 05:29:07
0001 <?php 0002 0003 /** 0004 * Module defines proprietary tags and attributes in HTML. 0005 * @warning If this module is enabled, standards-compliance is off! 0006 */ 0007 class HTMLPurifier_HTMLModule_Proprietary extends HTMLPurifier_HTMLModule 0008 { 0009 /** 0010 * @type string 0011 */ 0012 public $name = 'Proprietary'; 0013 0014 /** 0015 * @param HTMLPurifier_Config $config 0016 */ 0017 public function setup($config) 0018 { 0019 $this->addElement( 0020 'marquee', 0021 'Inline', 0022 'Flow', 0023 'Common', 0024 array( 0025 'direction' => 'Enum#left,right,up,down', 0026 'behavior' => 'Enum#alternate', 0027 'width' => 'Length', 0028 'height' => 'Length', 0029 'scrolldelay' => 'Number', 0030 'scrollamount' => 'Number', 0031 'loop' => 'Number', 0032 'bgcolor' => 'Color', 0033 'hspace' => 'Pixels', 0034 'vspace' => 'Pixels', 0035 ) 0036 ); 0037 } 0038 } 0039 0040 // vim: et sw=4 sts=4