|
Revision 21, 0.9 kB
(checked in by admin, 18 years ago)
|
|
|
| Line | |
|---|
| 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 __construct() { |
|---|
| 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 | |
|---|