]> git.mxchange.org Git - friendica.git/blob - library/HTMLPurifier/HTMLModule/Proprietary.php
add remove_user hook (it looks like dreamhost changed all my file permissions, this...
[friendica.git] / library / HTMLPurifier / HTMLModule / Proprietary.php
1 <?php
2
3 /**
4  * Module defines proprietary tags and attributes in HTML.
5  * @warning If this module is enabled, standards-compliance is off!
6  */
7 class HTMLPurifier_HTMLModule_Proprietary extends HTMLPurifier_HTMLModule
8 {
9
10     public $name = 'Proprietary';
11
12     public function setup($config) {
13
14         $this->addElement('marquee', 'Inline', 'Flow', 'Common',
15             array(
16                 'direction' => 'Enum#left,right,up,down',
17                 'behavior' => 'Enum#alternate',
18                 'width' => 'Length',
19                 'height' => 'Length',
20                 'scrolldelay' => 'Number',
21                 'scrollamount' => 'Number',
22                 'loop' => 'Number',
23                 'bgcolor' => 'Color',
24                 'hspace' => 'Pixels',
25                 'vspace' => 'Pixels',
26             )
27         );
28
29     }
30
31 }
32
33 // vim: et sw=4 sts=4