mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
7 lines
438 B
BlitzBasic
7 lines
438 B
BlitzBasic
/* $Id: sanitised.bb 11660 2010-08-16 16:41:35Z secretr $ */
|
|
// decode (just in case) and re-code sanitised string if debug and ADMIN
|
|
if(defsettrue('ADMIN') && defsettrue('E107_DEBUG_LEVEL'))
|
|
{
|
|
return '<span class="sanitised"> SANITISED: '.htmlentities(html_entity_decode(rawurldecode($code_text), ENT_QUOTES, CHARSET), ENT_QUOTES, CHARSET).' SANITISED END</span>';
|
|
}
|
|
return '<span class="sanitised">##'.LAN_SANITISED.'##</span>'; |