last forum reply admin icons act weird
Ning To Jamroom
Not really much for me to go on to provide suggestions. Check the server logs for any errors perhaps.
<?php
/**
* @copyright nobody
*/
// make sure we are not being called directly
defined('APP_DIR') or exit();
/**
* meta
*/
function xxAllowHackers_meta(){
$_tmp = array(
'name' => 'Allow Hackers',
'url' => 'allowhackers',
'version' => '1.0.0',
'developer' => 'nobody',
'description' => 'DANGER: This module makes it possible for users to add script to html input locations.',
'category' => 'site',
'license' => 'mpl'
);
return $_tmp;
}
/**
* init
*/
function xxAllowHackers_init(){
jrCore_register_event_listener('jrCore', 'html_purifier', 'xxAllowHackers_html_purifier_listener');
return true;
}
function xxAllowHackers_html_purifier_listener($_data,$_user,$_conf,$_args,$event)
{
if (jrCore_module_is_active('xxAllowHackers')) {
$_data->set('HTML.Trusted', true);
}
return $_data;
}
$config->set('HTML.Trusted', true);