mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
commit final changes for 2.5.0-RC1
This commit is contained in:
5
NEWS
5
NEWS
@@ -1,3 +1,6 @@
|
|||||||
|
Version 2.5.0-RC1 (March 5, 2003)
|
||||||
|
---------------------------------
|
||||||
|
|
||||||
- fixed notice in popup function (Nagger, Monte)
|
- fixed notice in popup function (Nagger, Monte)
|
||||||
- fix "once" var compiling for include_php (Monte)
|
- fix "once" var compiling for include_php (Monte)
|
||||||
- added nl2br modifier to distribution (Monte)
|
- added nl2br modifier to distribution (Monte)
|
||||||
@@ -26,8 +29,6 @@
|
|||||||
Monte)
|
Monte)
|
||||||
- fix cache groups with compile_id set (Monte)
|
- fix cache groups with compile_id set (Monte)
|
||||||
- add support for merging appended vars (messju, Monte)
|
- add support for merging appended vars (messju, Monte)
|
||||||
- change embedded variable logic to only recognize $foo and
|
|
||||||
$foo[0][bar] and $smarty.foo.bar syntax (Monte)
|
|
||||||
- allow null as function attribute value
|
- allow null as function attribute value
|
||||||
(Andr<64> Rabold, Monte)
|
(Andr<64> Rabold, Monte)
|
||||||
- support $foo->bar[index] syntax (Monte)
|
- support $foo->bar[index] syntax (Monte)
|
||||||
|
2
README
2
README
@@ -2,7 +2,7 @@ NAME:
|
|||||||
|
|
||||||
Smarty - the PHP compiling template engine
|
Smarty - the PHP compiling template engine
|
||||||
|
|
||||||
VERSION: 2.4.2
|
VERSION: 2.5.0-RC1
|
||||||
|
|
||||||
AUTHORS:
|
AUTHORS:
|
||||||
|
|
||||||
|
@@ -1,3 +1,17 @@
|
|||||||
|
2.5.0-RC1
|
||||||
|
---------
|
||||||
|
|
||||||
|
Release Candidate 1. All $smarty vars can now by dynamic, such as
|
||||||
|
$smarty.get.$foo. A new class function get_function_object() gets you a
|
||||||
|
reference to an assigned object, useful within your own custom functions.
|
||||||
|
append() can now merge as well as append with a third optional attribute. A new
|
||||||
|
class function get_config_vars() was added, and get_template_vars() can now be
|
||||||
|
used to get individual vars. Full variable syntax is now supported within
|
||||||
|
double quotes via a backtick (`) syntax. Files created by smarty are now
|
||||||
|
written to a tmp file then renamed to avoid file lock retention. html_radios,
|
||||||
|
html_checkboxes, html_table, html_image, nl2br functions added, see the NEWS
|
||||||
|
file for full details.
|
||||||
|
|
||||||
2.4.2
|
2.4.2
|
||||||
-----
|
-----
|
||||||
Another point release. Added support for dynamic object reference syntax
|
Another point release. Added support for dynamic object reference syntax
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
* http://www.phpinsider.com
|
* http://www.phpinsider.com
|
||||||
*
|
*
|
||||||
* @link http://www.phpinsider.com
|
* @link http://www.phpinsider.com
|
||||||
* @version 2.4.2
|
* @version 2.5.0-RC1
|
||||||
* @copyright Copyright: 2001,2002 ispi of Lincoln, Inc.
|
* @copyright Copyright: 2001,2002 ispi of Lincoln, Inc.
|
||||||
* @author Andrei Zmievski <andrei@php.net>
|
* @author Andrei Zmievski <andrei@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
|
@@ -39,7 +39,7 @@
|
|||||||
* @author Monte Ohrt <monte@ispi.net>
|
* @author Monte Ohrt <monte@ispi.net>
|
||||||
* @author Andrei Zmievski <andrei@php.net>
|
* @author Andrei Zmievski <andrei@php.net>
|
||||||
* @package Smarty
|
* @package Smarty
|
||||||
* @version 2.4.2
|
* @version 2.5.0-RC1
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -460,7 +460,7 @@ class Smarty
|
|||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
var $_version = '2.4.2';
|
var $_version = '2.5.0-RC1';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* current template inclusion depth
|
* current template inclusion depth
|
||||||
|
@@ -33,7 +33,7 @@
|
|||||||
* @link http://www.phpinsider.com/
|
* @link http://www.phpinsider.com/
|
||||||
* @author Monte Ohrt <monte@ispi.net>
|
* @author Monte Ohrt <monte@ispi.net>
|
||||||
* @author Andrei Zmievski <andrei@php.net>
|
* @author Andrei Zmievski <andrei@php.net>
|
||||||
* @version 2.4.2
|
* @version 2.5.0-RC1
|
||||||
* @copyright 2001,2002 ispi of Lincoln, Inc.
|
* @copyright 2001,2002 ispi of Lincoln, Inc.
|
||||||
* @package Smarty
|
* @package Smarty
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user