Code

Removed smarty
[gosa.git] / gosa-core / include / smarty / plugins / modifiercompiler.upper.php
diff --git a/gosa-core/include/smarty/plugins/modifiercompiler.upper.php b/gosa-core/include/smarty/plugins/modifiercompiler.upper.php
deleted file mode 100644 (file)
index 739057c..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php\r
-/**\r
- * Smarty plugin\r
- *\r
- * @package Smarty\r
- * @subpackage PluginsModifierCompiler\r
- */\r
-\r
-/**\r
- * Smarty upper modifier plugin\r
- * \r
- * Type:     modifier<br>\r
- * Name:     lower<br>\r
- * Purpose:  convert string to uppercase\r
- * \r
- * @link http://smarty.php.net/manual/en/language.modifier.upper.php lower (Smarty online manual)\r
- * @author Uwe Tews \r
- * @param array $params parameters\r
- * @return string with compiled code\r
- */\r
-function smarty_modifiercompiler_upper($params, $compiler)\r
-{\r
-    if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {\r
-        return 'mb_strtoupper(' . $params[0] . ',SMARTY_RESOURCE_CHAR_SET)' ;\r
-    }\r
-    // no MBString fallback\r
-    return 'strtoupper(' . $params[0] . ')';\r
-} \r
-\r
-?>
\ No newline at end of file