mirror of
https://github.com/smarty-php/smarty.git
synced 2026-01-29 17:52:25 +01:00
98 lines
3.9 KiB
Plaintext
98 lines
3.9 KiB
Plaintext
- added $check_cached_insert_tags 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. Also added fix for LOCK_EX under windows and changed
|
|
a couple file permissions for security. (Monte)
|
|
- allow arbitrary date strings to date_format, html_select_date and
|
|
html_select_time (Monte)
|
|
|
|
Version 1.3.2
|
|
-------------
|
|
- fixed a bug that caused some nested includes to loop infinitely. (Andrei)
|
|
- added optional HTML header to output. (Monte)
|
|
- significantly improved config_load performance. (Andrei)
|
|
- added format attribute to math function. (Monte)
|
|
- added html_select_time custom function. (Andrei)
|
|
- fixed minor PHP warning when attempting to unset an unset variable
|
|
(Monte)
|
|
- added count_characters, count_words, count_sentences, count_paragraphs
|
|
modifiers (Monte)
|
|
|
|
Version 1.3.1pl1
|
|
--------------
|
|
- bug fix, recovered missing _syntax_error function (Monte)
|
|
|
|
Version 1.3.1
|
|
-------------
|
|
- document first, last, index_prev, index_next (Monte)
|
|
- added 'first' and 'last' section properties. (Andrei)
|
|
- split out compiling code to separate class for faster template execution
|
|
time (Monte)
|
|
- fixed a couple of minor PHP warnings (Monte)
|
|
- added and documented unregister_modifier() and unregister_function() API
|
|
calls. (Monte)
|
|
- added and documented 'fetch' and 'math' functions. (Monte)
|
|
- added ability to index looped variables by section properties, e.g.
|
|
$foo.index_prev/bar. (Andrei)
|
|
- added index_prev and index_next section properties. (Andrei)
|
|
- fixed issue with php executing in literal blocks. (Monte)
|
|
|
|
Version 1.3.0
|
|
-------------
|
|
- moved license from GPL to LGPL (Monte)
|
|
- implemented workaround for PHP "feature" that eats carriage returns
|
|
if the PHP tag is at the end of the line. (Andrei)
|
|
- removed $allow_php, added $php_handling logic (Monte)
|
|
- added file locking to prevent reader/writer problem. (Andrei)
|
|
- made Smarty catch unimplemented modifiers and custom functions and output
|
|
error messages during compilation instead of failing during run time.
|
|
(Andrei)
|
|
- removed short-tags at the top of the smarty scripts (Monte)
|
|
- added register_function() and register_modifier() API calls to make
|
|
registering stuff easier. (Andrei)
|
|
- added template results caching capability. (Monte, Andrei)
|
|
- added optional 'options' attribute to html_options custom function
|
|
that allows passing associative arrays for values/output. (Andrei)
|
|
- modifier arguments can now contain '|' and ':' characters inside quoted
|
|
strings. (Andrei)
|
|
|
|
Version 1.2.2
|
|
-------------
|
|
- fixed bug that would not respect nested template directories and would
|
|
put all compiled files into top-level one. (Andrei)
|
|
- fixed bug using $PHP_VERSION instead of environment var PHP_VERSION.
|
|
(Monte)
|
|
- a couple small warning fixes. (Monte)
|
|
|
|
Version 1.2.1
|
|
-------------
|
|
- added $compile_dir, removed $compile_dir_ext, simplified usage. (Monte)
|
|
- added tips & tricks chapter to documentation. (Monte)
|
|
- misc documentation updates. (Monte)
|
|
|
|
Version 1.2.0
|
|
-------------
|
|
- updated documentation (Monte)
|
|
- added file and line number information to syntax error messages. (Andrei)
|
|
- added ability to index template vars by a key. (Andrei)
|
|
|
|
Version 1.1.0
|
|
-------------
|
|
- misc documentation changes, official stable release
|
|
|
|
Version 1.0b
|
|
------------
|
|
- fixed the bug that prevented using non-array values for 'loop' attribute.
|
|
(Andrei)
|
|
- many misc documentation changes & additions (Monte)
|
|
|
|
Version 1.0a
|
|
------------
|
|
- fixed bug that caused templates to recompile every time (Monte)
|
|
|
|
Version 1.0
|
|
------------
|
|
- initial release
|