PATH:
home
/
letacommog
/
letaweb
/
admin
/
modules
/
html
<div class="html_content"> <?php Yii::import('application.classes.htmlpurifier.library.HTMLPurifier_auto', true); $code = $this->module_data['code']; $config = HTMLPurifier_Config::createDefault(); $config->set('Core.Encoding', 'UTF-8'); // replace with your encoding $config->set('HTML.Doctype', 'XHTML 1.0 Transitional'); // replace with your doctype $config->set('HTML.Trusted', true); $config->set('CSS.Trusted', true); $purifier = new HTMLPurifier($config); $pure_html = $purifier->purify($code); echo($pure_html); ?> </div>
[+]
..
[-] frontend_class.php
[edit]
[-] backend.php
[edit]
[-] backend.js
[edit]
[-] frontend_view.php
[edit]