]> git.mxchange.org Git - friendica.git/blobdiff - library/Smarty/libs/plugins/modifiercompiler.cat.php
Merge branch 'develop' of github.com:annando/friendica into 1409-shadow-items
[friendica.git] / library / Smarty / libs / plugins / modifiercompiler.cat.php
index 1cfe6308a18bf2606a49e964991b254454773e25..db9d81fbfa835cff118162c3c17da8610dfee6b8 100644 (file)
@@ -1,30 +1,29 @@
-<?php\r
-/**\r
- * Smarty plugin\r
- *\r
- * @package Smarty\r
- * @subpackage PluginsModifierCompiler\r
- */\r
-\r
-/**\r
- * Smarty cat modifier plugin\r
- *\r
- * Type:     modifier<br>\r
- * Name:     cat<br>\r
- * Date:     Feb 24, 2003<br>\r
- * Purpose:  catenate a value to a variable<br>\r
- * Input:    string to catenate<br>\r
- * Example:  {$var|cat:"foo"}\r
- *\r
- * @link http://smarty.php.net/manual/en/language.modifier.cat.php cat\r
- *          (Smarty online manual)\r
- * @author   Uwe Tews\r
- * @param array $params parameters\r
- * @return string with compiled code\r
- */\r
-function smarty_modifiercompiler_cat($params, $compiler)\r
-{\r
-    return '('.implode(').(', $params).')';\r
-}\r
-\r
-?>
\ No newline at end of file
+<?php
+/**
+ * Smarty plugin
+ *
+ * @package    Smarty
+ * @subpackage PluginsModifierCompiler
+ */
+
+/**
+ * Smarty cat modifier plugin
+ * Type:     modifier<br>
+ * Name:     cat<br>
+ * Date:     Feb 24, 2003<br>
+ * Purpose:  catenate a value to a variable<br>
+ * Input:    string to catenate<br>
+ * Example:  {$var|cat:"foo"}
+ *
+ * @link     http://smarty.php.net/manual/en/language.modifier.cat.php cat
+ *           (Smarty online manual)
+ * @author   Uwe Tews
+ *
+ * @param array $params parameters
+ *
+ * @return string with compiled code
+ */
+function smarty_modifiercompiler_cat($params)
+{
+    return '(' . implode(').(', $params) . ')';
+}