123456789101112131415161718192021222324252627282930 |
- <?php
- function smarty_modifiercompiler_upper($params, $compiler)
- {
- if (SMARTY_MBSTRING &&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])) {
- return 'mb_strtoupper(' . $params[0] . ',SMARTY_RESOURCE_CHAR_SET)' ;
- }
-
- return 'strtoupper(' . $params[0] . ')';
- }
- ?>
|