equal
deleted
inserted
replaced
6 * @subpackage PluginsShared |
6 * @subpackage PluginsShared |
7 */ |
7 */ |
8 |
8 |
9 if (version_compare(PHP_VERSION, '5.2.3', '>=')) { |
9 if (version_compare(PHP_VERSION, '5.2.3', '>=')) { |
10 /** |
10 /** |
11 * escape_special_chars common function |
11 * escape_special_chars core function |
12 * Function: smarty_function_escape_special_chars<br> |
12 * Function: smarty_function_escape_special_chars<br> |
13 * Purpose: used by other smarty functions to escape |
13 * Purpose: used by other smarty functions to escape |
14 * special chars except for already escaped ones |
14 * special chars except for already escaped ones |
15 * |
15 * |
16 * @author Monte Ohrt <monte at ohrt dot com> |
16 * @author Monte Ohrt <monte at ohrt dot com> |
26 |
26 |
27 return $string; |
27 return $string; |
28 } |
28 } |
29 } else { |
29 } else { |
30 /** |
30 /** |
31 * escape_special_chars common function |
31 * escape_special_chars core function |
32 * Function: smarty_function_escape_special_chars<br> |
32 * Function: smarty_function_escape_special_chars<br> |
33 * Purpose: used by other smarty functions to escape |
33 * Purpose: used by other smarty functions to escape |
34 * special chars except for already escaped ones |
34 * special chars except for already escaped ones |
35 * |
35 * |
36 * @author Monte Ohrt <monte at ohrt dot com> |
36 * @author Monte Ohrt <monte at ohrt dot com> |