Proprietary.php 852 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * Module defines proprietary tags and attributes in HTML.
  4. * @warning If this module is enabled, standards-compliance is off!
  5. */
  6. class HTMLPurifier_HTMLModule_Proprietary extends HTMLPurifier_HTMLModule
  7. {
  8. public $name = 'Proprietary';
  9. public function setup($config) {
  10. $this->addElement('marquee', 'Inline', 'Flow', 'Common',
  11. array(
  12. 'direction' => 'Enum#left,right,up,down',
  13. 'behavior' => 'Enum#alternate',
  14. 'width' => 'Length',
  15. 'height' => 'Length',
  16. 'scrolldelay' => 'Number',
  17. 'scrollamount' => 'Number',
  18. 'loop' => 'Number',
  19. 'bgcolor' => 'Color',
  20. 'hspace' => 'Pixels',
  21. 'vspace' => 'Pixels',
  22. )
  23. );
  24. }
  25. }
  26. // vim: et sw=4 sts=4