diff --git a/NEWS b/NEWS index a260f12c..4555abc6 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ + - fix cache groups with compile_id set (Monte) - add support for appending key=>value vars (messju, Monte) - change embedded variable logic to only recognize $foo and $foo[0][bar] and $smarty.foo.bar syntax (Monte) diff --git a/Smarty.class.php b/Smarty.class.php index b269561c..77f708a0 100644 --- a/Smarty.class.php +++ b/Smarty.class.php @@ -32,9 +32,9 @@ * Lincoln, NE 68510 * * The latest version of Smarty can be obtained from: - * http://www.phpinsider.com/ + * http://smarty.php.net/ * - * @link http://www.phpinsider.com/ + * @link http://smarty.php.net/ * @copyright 2001,2002 ispi of Lincoln, Inc. * @author Monte Ohrt * @author Andrei Zmievski @@ -902,7 +902,7 @@ class Smarty $compile_id = $this->compile_id; if (isset($cache_id)) - $auto_id = (isset($compile_id)) ? $cache_id . '|' . $compile_id : $cache_id; + $auto_id = (isset($compile_id)) ? $compile_id . '|' . $cache_id : $cache_id; elseif(isset($compile_id)) $auto_id = $compile_id; else @@ -2250,7 +2250,7 @@ class Smarty } else { // use local cache file if (isset($cache_id)) - $auto_id = (isset($compile_id)) ? $cache_id . '|' . $compile_id : $cache_id; + $auto_id = (isset($compile_id)) ? $compile_id . '|' . $cache_id : $cache_id; elseif(isset($compile_id)) $auto_id = $compile_id; else @@ -2292,7 +2292,7 @@ class Smarty } else { // use local cache file if (isset($cache_id)) - $auto_id = (isset($compile_id)) ? $cache_id . '|' . $compile_id : $cache_id; + $auto_id = (isset($compile_id)) ? $compile_id . '|' . $cache_id : $cache_id; elseif(isset($compile_id)) $auto_id = $compile_id; else diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index b269561c..77f708a0 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -32,9 +32,9 @@ * Lincoln, NE 68510 * * The latest version of Smarty can be obtained from: - * http://www.phpinsider.com/ + * http://smarty.php.net/ * - * @link http://www.phpinsider.com/ + * @link http://smarty.php.net/ * @copyright 2001,2002 ispi of Lincoln, Inc. * @author Monte Ohrt * @author Andrei Zmievski @@ -902,7 +902,7 @@ class Smarty $compile_id = $this->compile_id; if (isset($cache_id)) - $auto_id = (isset($compile_id)) ? $cache_id . '|' . $compile_id : $cache_id; + $auto_id = (isset($compile_id)) ? $compile_id . '|' . $cache_id : $cache_id; elseif(isset($compile_id)) $auto_id = $compile_id; else @@ -2250,7 +2250,7 @@ class Smarty } else { // use local cache file if (isset($cache_id)) - $auto_id = (isset($compile_id)) ? $cache_id . '|' . $compile_id : $cache_id; + $auto_id = (isset($compile_id)) ? $compile_id . '|' . $cache_id : $cache_id; elseif(isset($compile_id)) $auto_id = $compile_id; else @@ -2292,7 +2292,7 @@ class Smarty } else { // use local cache file if (isset($cache_id)) - $auto_id = (isset($compile_id)) ? $cache_id . '|' . $compile_id : $cache_id; + $auto_id = (isset($compile_id)) ? $compile_id . '|' . $cache_id : $cache_id; elseif(isset($compile_id)) $auto_id = $compile_id; else