]> git.mxchange.org Git - friendica.git/blobdiff - library/Smarty/libs/plugins/modifiercompiler.indent.php
reverting tinymce changes, updating smarty to 3.1.19
[friendica.git] / library / Smarty / libs / plugins / modifiercompiler.indent.php
index 020c4fdb35c9636477d24d6861d26ed335ae3ac9..e3ca2082103114a8c11bef3b375ed69710be3a06 100644 (file)
@@ -1,32 +1,33 @@
-<?php\r
-/**\r
- * Smarty plugin\r
- * @package Smarty\r
- * @subpackage PluginsModifierCompiler\r
- */\r
-\r
-/**\r
- * Smarty indent modifier plugin\r
- *\r
- * Type:     modifier<br>\r
- * Name:     indent<br>\r
- * Purpose:  indent lines of text\r
- *\r
- * @link http://www.smarty.net/manual/en/language.modifier.indent.php indent (Smarty online manual)\r
- * @author Uwe Tews\r
- * @param array $params parameters\r
- * @return string with compiled code\r
- */\r
-\r
-function smarty_modifiercompiler_indent($params, $compiler)\r
-{\r
-    if (!isset($params[1])) {\r
-        $params[1] = 4;\r
-    }\r
-    if (!isset($params[2])) {\r
-        $params[2] = "' '";\r
-    }\r
-    return 'preg_replace(\'!^!m\',str_repeat(' . $params[2] . ',' . $params[1] . '),' . $params[0] . ')';\r
-}\r
-\r
-?>
\ No newline at end of file
+<?php
+/**
+ * Smarty plugin
+ *
+ * @package    Smarty
+ * @subpackage PluginsModifierCompiler
+ */
+
+/**
+ * Smarty indent modifier plugin
+ * Type:     modifier<br>
+ * Name:     indent<br>
+ * Purpose:  indent lines of text
+ *
+ * @link   http://www.smarty.net/manual/en/language.modifier.indent.php indent (Smarty online manual)
+ * @author Uwe Tews
+ *
+ * @param array $params parameters
+ *
+ * @return string with compiled code
+ */
+
+function smarty_modifiercompiler_indent($params)
+{
+    if (!isset($params[1])) {
+        $params[1] = 4;
+    }
+    if (!isset($params[2])) {
+        $params[2] = "' '";
+    }
+
+    return 'preg_replace(\'!^!m\',str_repeat(' . $params[2] . ',' . $params[1] . '),' . $params[0] . ')';
+}