- update of mb support in plugins

This commit is contained in:
Uwe.Tews
2009-08-10 17:52:26 +00:00
parent a693a00280
commit 0ba34008a7
8 changed files with 55 additions and 78 deletions

View File

@@ -20,8 +20,7 @@
*/
function smarty_modifier_upper($string)
{
$smarty = Smarty::instance();
if ($smarty->has_mb) {
if (function_exists('mb_strtoupper')) {
return mb_strtoupper($string);
} else {
return strtoupper($string);