Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>

This commit is contained in:
Gregory PLANCHAT 2011-06-28 13:02:55 +02:00
commit 3fd8832b45
138 changed files with 2597 additions and 1253 deletions

View file

@ -33,14 +33,9 @@
* @deprecated
* @param unknown_type $String
*/
function CheckInputStrings ( $String ) {
global $ListCensure;
function CheckInputStrings($string)
{
trigger_error(sprintf('%s is deprecated', __FUNCTION__), E_USER_DEPRECATED);
$ValidString = $String;
for ($Mot = 0; $Mot < count($ListCensure); $Mot++) {
$ValidString = eregi_replace( "$ListCensure[$Mot]", "*", $ValidString );
}
return ($ValidString);
}
?>
return htmlspecialchars($string, ENT_QUOTES, 'UTF-8');
}