Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
parent
61abbb3900
commit
3fd8832b45
138 changed files with 2597 additions and 1253 deletions
|
|
@ -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');
|
||||
}
|
||||
Loading…
Reference in a new issue