芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/public_html/cepali/lib/htmlpurifier/HTMLPurifier/TagTransform/Simple.php
transform_to = $transform_to; $this->style = $style; } /** * @param HTMLPurifier_Token_Tag $tag * @param HTMLPurifier_Config $config * @param HTMLPurifier_Context $context * @return string */ public function transform($tag, $config, $context) { $new_tag = clone $tag; $new_tag->name = $this->transform_to; if (!is_null($this->style) && ($new_tag instanceof HTMLPurifier_Token_Start || $new_tag instanceof HTMLPurifier_Token_Empty) ) { $this->prependCSS($new_tag->attr, $this->style); } return $new_tag; } } // vim: et sw=4 sts=4