PATH:
home
/
letacommog
/
crmleta
/
libraries
/
htmlpurifier
/
library
/
HTMLPurifier
/
AttrTransform
<?php /** * Pre-transform that changes deprecated name attribute to ID if necessary */ class HTMLPurifier_AttrTransform_Name extends HTMLPurifier_AttrTransform { public function transform($attr, $config, $context) { if (!isset($attr['name'])) return $attr; $id = $this->confiscateAttr($attr, 'name'); if ( isset($attr['id'])) return $attr; $attr['id'] = $id; return $attr; } } // vim: et sw=4 sts=4
[+]
..
[-] BdoDir.php
[edit]
[-] BgColor.php
[edit]
[-] Length.php
[edit]
[-] ImgRequired.php
[edit]
[-] SafeObject.php
[edit]
[-] BoolToCSS.php
[edit]
[-] ScriptRequired.php
[edit]
[-] Border.php
[edit]
[-] SafeParam.php
[edit]
[-] Name.php
[edit]
[-] SafeEmbed.php
[edit]
[-] Lang.php
[edit]
[-] EnumToCSS.php
[edit]
[-] Background.php
[edit]
[-] Textarea.php
[edit]
[-] Input.php
[edit]
[-] ImgSpace.php
[edit]