Raw code in admin fields
Last updated
'script' => array('type', 'src', 'language', 'async'),case 'code':
$ret = $tp->toDB($value, false, false, 'pReFs');
break;if ($mod !== 'pReFs') // XXX We're not saving prefs.
{
$data = $this->preFilter($data);
$data = $this->cleanHtml($data); // skipped entirely for 'pReFs'
...
}'googleads_script' => array(
'title' => LAN_..._SCRIPT,
'type' => 'textarea',
'data' => 'code', // raw, unsanitised — see security note below
'help' => LAN_..._SCRIPT_HELP,
),