PATH:
home
/
letacommog
/
crmleta
/
libraries
/
htmlpurifier
/
library
/
HTMLPurifier
/
HTMLModule
<?php /** * A "safe" embed module. See SafeObject. This is a proprietary element. */ class HTMLPurifier_HTMLModule_SafeEmbed extends HTMLPurifier_HTMLModule { public $name = 'SafeEmbed'; public function setup($config) { $max = $config->get('HTML', 'MaxImgLength'); $embed = $this->addElement( 'embed', 'Inline', 'Empty', 'Common', array( 'src*' => 'URI#embedded', 'type' => 'Enum#application/x-shockwave-flash', 'width' => 'Pixels#' . $max, 'height' => 'Pixels#' . $max, 'allowscriptaccess' => 'Enum#never', 'allownetworking' => 'Enum#internal', 'wmode' => 'Enum#window', 'name' => 'ID', ) ); $embed->attr_transform_post[] = new HTMLPurifier_AttrTransform_SafeEmbed(); } } // vim: et sw=4 sts=4
[+]
..
[-] Name.php
[edit]
[-] Bdo.php
[edit]
[-] Tables.php
[edit]
[-] Edit.php
[edit]
[-] CommonAttributes.php
[edit]
[-] NonXMLCommonAttributes.php
[edit]
[-] Text.php
[edit]
[-] Presentation.php
[edit]
[-] Target.php
[edit]
[-] StyleAttribute.php
[edit]
[-] SafeObject.php
[edit]
[-] Image.php
[edit]
[-] Proprietary.php
[edit]
[-] XMLCommonAttributes.php
[edit]
[-] Scripting.php
[edit]
[-] SafeEmbed.php
[edit]
[-] Tidy.php
[edit]
[-] Hypertext.php
[edit]
[-] Object.php
[edit]
[+]
Tidy
[-] Ruby.php
[edit]
[-] Legacy.php
[edit]
[-] List.php
[edit]
[-] Forms.php
[edit]