Kyberia v2.0
[mirrors/Kyberia-bloodline.git] / inc / smarty / plugins / modifier.upper.php
diff --git a/inc/smarty/plugins/modifier.upper.php b/inc/smarty/plugins/modifier.upper.php
new file mode 100644 (file)
index 0000000..9d9ef35
--- /dev/null
@@ -0,0 +1,25 @@
+<?php
+/**
+ * Smarty plugin
+ * @package Smarty
+ * @subpackage plugins
+ */
+
+
+/**
+ * Smarty upper modifier plugin
+ *
+ * Type:     modifier<br>
+ * Name:     upper<br>
+ * Purpose:  convert string to uppercase
+ * @link http://smarty.php.net/manual/en/language.modifier.upper.php
+ *          upper (Smarty online manual)
+ * @param string
+ * @return string
+ */
+function smarty_modifier_upper($string)
+{
+       return strtoupper($string);
+}
+
+?>
This page took 0.090336 seconds and 4 git commands to generate.