Smarty 1.4.0b1 available
| From: | Monte Ohrt | Date: | Thu, 26 Apr 2001 17:51:53 +0000 |
| Subject: | Smarty 1.4.0b1 available | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-601@lists.php.net to get a copy of this message | ||
There are enough changes in this release to warrant a beta release. Let
us know of any problem. Be _sure_ read through the RELEASE_NOTES file
before attempting to upgrade!
http://www.phpinsider.com/php/code/Smarty/beta/Smarty-1.4.0b1/
Version 1.4.0
-------------
- added "componentized templates" tip into documentation (Monte)
- added {php}{/php} tags for embedding php code into templates
(Monte)
- changed default value of $show_info_header to false (Monte)
- implemented '->' syntax for accessing properties of objects passed
to the
template. (Andrei)
- allowed custom functions to receive Smarty object as the second
parameter; this can be used to dynamically change template
variables, for
example. (Andrei)
- added custom compiler functions support,
register_compiler_function() and
unregister_compiler_function() API functions. (Andrei, Ivo
Jansch).
- updated GLOBAL_ASSIGN to take SCRIPT_NAME from HTTP_SERVER_VARS
instead of global variable. You can also assign several variables
in one shot with an array. (Monte, Roman Neuhauser)
- added template prefilters, register_prefitler() and
unregister_prefilter() API
functions. (Monte)
- added RELEASE_NOTES file to distribution. (Monte)
- moved CREDITS out of manual into its own file. (Monte)
- added register_resource() and unregister_resource() API functions.
(Monte)
- changed the syntax of indexing template variables, thus supporting
structures of arbitrary complexity; supplied fix_vars.php script
to fix
old syntax. (Andrei)
- added $insert_tag_check to speed up cached pages if {insert ...}
is not
used. (Monte)
- added $compiler_class variable to allow specifying a different
compiler
class. (Andrei)
- changed Smarty to compile templates at runtime, allowing for
arbitrary
template resources. (Monte)
- added fix for LOCK_EX under Windows and changed a couple of file
permissions for security. (Monte, Fernando Nunes)
- allow arbitrary date strings to date_format, html_select_date and
html_select_time (Monte)