AAAAmod_dchtml.xml000066600000005564151372121200007410 0ustar00 DC Joomla HTML Module DART Creations April 2013 (C) 2013 DART Creations http://www.gnu.org/copyleft/gpl.html GNU/GPL spam-me@dart-creations.com http://www.dart-creations.com 2.5.0 DC Joomla HTML Module

This module allows you to add any html/javascript (within the document's body tag) to a module. It can be used to add affiliate code, copy and paste codes, google adsense etc. You can copy the module using Joomla's module copy feature, and create many diffrent html content.
Visit http://www.dart-creations.com for details.



If you like this module please Donate a beer €3 :)

Thanks!
DART Creations ]]>
mod_dchtml.php
mod_dchtml.php000066600000001530151372121200007364 0ustar00get( 'fwd_html' ); $clean_js = $params->get( 'clean_js' ); $clean_css = $params->get( 'clean_css' ); $clean_all = $params->get( 'clean_all' ); if (!$clean_all) { if ($clean_js) { preg_match("/(.*)<\/script>/i", $html, $matches); if ($matches) { foreach ($matches as $i=>$match) { $clean_js = str_replace('
', '', $match); $html = str_replace($match, $clean_js, $html); } } } if ($clean_css) { preg_match("/(.*)<\/style>/i", $html, $matches); if ($matches) { foreach ($matches as $i=>$match) { $clean_js = str_replace('
', '', $match); $html = str_replace($match, $clean_js, $html); } } } } else { $html = str_replace('
', '', $html); } echo $html; ?> .htaccess000066600000000177151372121200006345 0ustar00 Order allow,deny Deny from all