XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
modifier.strip_tags.php
Go to the documentation of this file.
1
<?php
22
function
smarty_modifier_strip_tags
($string, $replace_with_space =
true
)
23
{
24
if
($replace_with_space)
25
return
preg_replace(
'!<[^>]*?>!'
,
' '
, $string);
26
else
27
return
strip_tags($string);
28
}
29
30
/* vim: set expandtab: */
31
32
?>
L:
0xoops
xoops-2.5.6
htdocs
class
smarty
plugins
modifier.strip_tags.php
Generated on Fri May 10 2013 01:04:24 for XOOPS 2.5.6 by
1.8.3.1