diff --git a/contrib/Smarty-2.6.19/BUGS b/contrib/Smarty-2.6.20/BUGS similarity index 100% rename from contrib/Smarty-2.6.19/BUGS rename to contrib/Smarty-2.6.20/BUGS diff --git a/contrib/Smarty-2.6.19/COPYING.lib b/contrib/Smarty-2.6.20/COPYING.lib similarity index 100% rename from contrib/Smarty-2.6.19/COPYING.lib rename to contrib/Smarty-2.6.20/COPYING.lib diff --git a/contrib/Smarty-2.6.19/ChangeLog b/contrib/Smarty-2.6.20/ChangeLog similarity index 100% rename from contrib/Smarty-2.6.19/ChangeLog rename to contrib/Smarty-2.6.20/ChangeLog diff --git a/contrib/Smarty-2.6.19/FAQ b/contrib/Smarty-2.6.20/FAQ similarity index 100% rename from contrib/Smarty-2.6.19/FAQ rename to contrib/Smarty-2.6.20/FAQ diff --git a/contrib/Smarty-2.6.19/INSTALL b/contrib/Smarty-2.6.20/INSTALL similarity index 100% rename from contrib/Smarty-2.6.19/INSTALL rename to contrib/Smarty-2.6.20/INSTALL diff --git a/contrib/Smarty-2.6.19/NEWS b/contrib/Smarty-2.6.20/NEWS similarity index 99% rename from contrib/Smarty-2.6.19/NEWS rename to contrib/Smarty-2.6.20/NEWS index fa550ff..1e3b77e 100644 --- a/contrib/Smarty-2.6.19/NEWS +++ b/contrib/Smarty-2.6.20/NEWS @@ -1,3 +1,15 @@ +Version 2.6.20 (Aug 15th, 2008) +------------------------------- + +- fix cache tag bug when multiple cache tags on a page (mankyd, + mohrt) +- fix /e tag checking when using arrays with regex_replace + (mohrt) +- fix that function results can be used with condition like "is even" in + {if} tags (U.Tews) +- fix handling of non-empty
-tags and empty !is", $source, $match);
+    preg_match_all("!]*?>.*?!is", $source, $match);
     $_textarea_blocks = $match[0];
-    $source = preg_replace("!]+>.*?!is",
+    $source = preg_replace("!]*?>.*?!is",
                            '@@@SMARTY:TRIM:TEXTAREA@@@', $source);
 
     // remove all leading spaces, tabs and carriage returns NOT
diff --git a/contrib/Smarty-2.6.19/libs/plugins/shared.escape_special_chars.php b/contrib/Smarty-2.6.20/libs/plugins/shared.escape_special_chars.php
similarity index 100%
rename from contrib/Smarty-2.6.19/libs/plugins/shared.escape_special_chars.php
rename to contrib/Smarty-2.6.20/libs/plugins/shared.escape_special_chars.php
diff --git a/contrib/Smarty-2.6.19/libs/plugins/shared.make_timestamp.php b/contrib/Smarty-2.6.20/libs/plugins/shared.make_timestamp.php
similarity index 100%
rename from contrib/Smarty-2.6.19/libs/plugins/shared.make_timestamp.php
rename to contrib/Smarty-2.6.20/libs/plugins/shared.make_timestamp.php
diff --git a/contrib/Smarty-2.6.19/misc/smarty_icon.README b/contrib/Smarty-2.6.20/misc/smarty_icon.README
similarity index 100%
rename from contrib/Smarty-2.6.19/misc/smarty_icon.README
rename to contrib/Smarty-2.6.20/misc/smarty_icon.README
diff --git a/contrib/Smarty-2.6.19/misc/smarty_icon.gif b/contrib/Smarty-2.6.20/misc/smarty_icon.gif
similarity index 100%
rename from contrib/Smarty-2.6.19/misc/smarty_icon.gif
rename to contrib/Smarty-2.6.20/misc/smarty_icon.gif
diff --git a/contrib/Smarty-2.6.19/unit_test/README b/contrib/Smarty-2.6.20/unit_test/README
similarity index 100%
rename from contrib/Smarty-2.6.19/unit_test/README
rename to contrib/Smarty-2.6.20/unit_test/README
diff --git a/contrib/Smarty-2.6.19/unit_test/config.php b/contrib/Smarty-2.6.20/unit_test/config.php
similarity index 100%
rename from contrib/Smarty-2.6.19/unit_test/config.php
rename to contrib/Smarty-2.6.20/unit_test/config.php
diff --git a/contrib/Smarty-2.6.19/unit_test/configs/globals_double_quotes.conf b/contrib/Smarty-2.6.20/unit_test/configs/globals_double_quotes.conf
similarity index 100%
rename from contrib/Smarty-2.6.19/unit_test/configs/globals_double_quotes.conf
rename to contrib/Smarty-2.6.20/unit_test/configs/globals_double_quotes.conf
diff --git a/contrib/Smarty-2.6.19/unit_test/configs/globals_single_quotes.conf b/contrib/Smarty-2.6.20/unit_test/configs/globals_single_quotes.conf
similarity index 100%
rename from contrib/Smarty-2.6.19/unit_test/configs/globals_single_quotes.conf
rename to contrib/Smarty-2.6.20/unit_test/configs/globals_single_quotes.conf
diff --git a/contrib/Smarty-2.6.19/unit_test/smarty_unit_test.php b/contrib/Smarty-2.6.20/unit_test/smarty_unit_test.php
similarity index 100%
rename from contrib/Smarty-2.6.19/unit_test/smarty_unit_test.php
rename to contrib/Smarty-2.6.20/unit_test/smarty_unit_test.php
diff --git a/contrib/Smarty-2.6.19/unit_test/smarty_unit_test_gui.php b/contrib/Smarty-2.6.20/unit_test/smarty_unit_test_gui.php
similarity index 100%
rename from contrib/Smarty-2.6.19/unit_test/smarty_unit_test_gui.php
rename to contrib/Smarty-2.6.20/unit_test/smarty_unit_test_gui.php
diff --git a/contrib/Smarty-2.6.19/unit_test/templates/assign_var.tpl b/contrib/Smarty-2.6.20/unit_test/templates/assign_var.tpl
similarity index 100%
rename from contrib/Smarty-2.6.19/unit_test/templates/assign_var.tpl
rename to contrib/Smarty-2.6.20/unit_test/templates/assign_var.tpl
diff --git a/contrib/Smarty-2.6.19/unit_test/templates/constant.tpl b/contrib/Smarty-2.6.20/unit_test/templates/constant.tpl
similarity index 100%
rename from contrib/Smarty-2.6.19/unit_test/templates/constant.tpl
rename to contrib/Smarty-2.6.20/unit_test/templates/constant.tpl
diff --git a/contrib/Smarty-2.6.19/unit_test/templates/index.tpl b/contrib/Smarty-2.6.20/unit_test/templates/index.tpl
similarity index 100%
rename from contrib/Smarty-2.6.19/unit_test/templates/index.tpl
rename to contrib/Smarty-2.6.20/unit_test/templates/index.tpl
diff --git a/contrib/Smarty-2.6.19/unit_test/templates/parse_math.tpl b/contrib/Smarty-2.6.20/unit_test/templates/parse_math.tpl
similarity index 100%
rename from contrib/Smarty-2.6.19/unit_test/templates/parse_math.tpl
rename to contrib/Smarty-2.6.20/unit_test/templates/parse_math.tpl
diff --git a/contrib/Smarty-2.6.19/unit_test/templates/parse_obj_meth.tpl b/contrib/Smarty-2.6.20/unit_test/templates/parse_obj_meth.tpl
similarity index 100%
rename from contrib/Smarty-2.6.19/unit_test/templates/parse_obj_meth.tpl
rename to contrib/Smarty-2.6.20/unit_test/templates/parse_obj_meth.tpl
diff --git a/contrib/Smarty-2.6.19/unit_test/test_cases.php b/contrib/Smarty-2.6.20/unit_test/test_cases.php
similarity index 100%
rename from contrib/Smarty-2.6.19/unit_test/test_cases.php
rename to contrib/Smarty-2.6.20/unit_test/test_cases.php
diff --git a/contrib/smarty b/contrib/smarty
index e2d53ee..a55cbfd 120000
--- a/contrib/smarty
+++ b/contrib/smarty
@@ -1 +1 @@
-Smarty-2.6.19
\ No newline at end of file
+Smarty-2.6.20
\ No newline at end of file