Uwe.Tews
60d1a30791
- fixed nocache variable inside if condition of {if} tag
2009-10-21 18:26:14 +00:00
Uwe.Tews
530c4bf108
- fixed function definitions on some autoloaded methods
2009-10-21 16:13:20 +00:00
Uwe.Tews
5fe16d23f0
- fixed file dependency for config files
...
- some code optimizations
2009-10-21 15:19:00 +00:00
Uwe.Tews
4a68612a5a
- added {$foo++}{$foo--} syntax
...
- buxfix changed PHP "if (..):" to "if (..){" because of possible bad code when concenating PHP tags
- autoload Smarty internal classes
2009-10-21 09:49:43 +00:00
Uwe.Tews
dc592e5a44
- check at compile time for variable filter to improve rendering speed if no filter is used
...
- fixed bug at combination of {elseif} tag and {...} in double quoted strings of static class parameter
2009-10-20 17:09:22 +00:00
Uwe.Tews
fad5c12f3a
- fixed compiled template merging on variable double quoted strings as name
2009-10-19 20:25:47 +00:00
Uwe.Tews
7189a3db28
- fixed bug in caching mode 2 and cache_lifetime -1
2009-10-19 18:32:35 +00:00
Uwe.Tews
88229447d1
- fixed modifier support on block tags
2009-10-19 14:36:57 +00:00
Uwe.Tews
5b554f80a4
new experimental version of compile_directory method
2009-10-17 14:40:02 +00:00
Uwe.Tews
72a04fe699
once again include template with variable name
2009-10-17 13:09:31 +00:00
Uwe.Tews
cd321f4bd6
- problem with variable names of included templates
2009-10-17 12:11:00 +00:00
Uwe.Tews
e73de1713b
- bugfix on variable include filename
2009-10-17 10:41:12 +00:00
Uwe.Tews
402e3f4272
- remove ?>\n<?php and ?><?php sequences from compiled template
2009-10-17 03:36:47 +00:00
Uwe.Tews
81ebefccea
experimental compile_directory method
2009-10-17 02:02:28 +00:00
Uwe.Tews
b8837aecba
- parser bugfix on array access
2009-10-16 16:54:25 +00:00
Uwe.Tews
395131c2d0
- buxfix on assigning array elements inside templates
2009-10-16 13:13:33 +00:00
Uwe.Tews
0fe0ad55c9
- allow bit operator '&' inside {if} tag
...
- implementation of ternary operator
2009-10-15 21:00:23 +00:00
Uwe.Tews
5be5d4cf28
- do not recompile evaluated templates if reused just with other data
...
- recompile config files when config properties did change
- some lexer/parser otimizations
2009-10-13 19:44:38 +00:00
Uwe.Tews
526337aa23
- allow {block} tags inside included templates
...
- bugfix for resource plugins in Smarty2 format
- some optimizations of internal.template.php
2009-10-12 14:37:31 +00:00
Uwe.Tews
7afa8dce66
- fixed bug when template with same name is used with different data objects
...
- fixed bug with double quoted name attribute at {insert} tag
- reenabled assign_by_ref and append_by_ref methodes
2009-10-11 20:23:00 +00:00
Uwe.Tews
9eab32ff60
- removed block nesting checks for {capture}
2009-10-07 20:24:17 +00:00
Uwe.Tews
6869fa9a49
- bugfix on {insert}
2009-10-07 15:52:57 +00:00
Uwe.Tews
e62d6baa2a
- added support of "isinstance" to {if} tag
...
- bugfix in PHP resource
2009-10-05 18:55:22 +00:00
Uwe.Tews
585c115c94
- internal changes to improve performance
...
- fix registering of filters for classes
2009-10-04 18:12:30 +00:00
Uwe.Tews
84a1428bf7
- removed default timezone setting
2009-10-01 17:09:49 +00:00
Uwe.Tews
c55e606278
- added missing file
2009-09-30 22:16:14 +00:00
Uwe.Tews
898819dd2b
- reactivated PHP resource for simple PHP templates. Must set allow_php_templates = true to enable
...
- {PHP} tag can be enabled by allow_php_tag = true
2009-09-30 22:03:41 +00:00
Uwe.Tews
25d4535be6
- fixed handling of template_exits methode for all resource types
2009-09-30 18:28:50 +00:00
Uwe.Tews
ed6df80a8f
- bugfix for other cache resources than file
2009-09-30 16:00:11 +00:00
Uwe.Tews
26949347e2
- the methodes assign_by_ref is now wrapped to assign, append_by_ref to append
...
- allow arrays of variables pass in display, fetch and createTemplate calls
$data = array('foo'=>'bar','foo2'=>'blar');
$smarty->display('my.tpl',$data);
2009-09-29 22:58:54 +00:00
Uwe.Tews
8387d1ef6f
- enabled short boolean attributes {some attr} equala {some attr=true}
2009-09-29 21:40:30 +00:00
Uwe.Tews
0fdcb79ec3
- allow $tpl->display(), $tpl->fetch(); and $tpl->is_cached() calls on template objects
2009-09-29 21:00:00 +00:00
Uwe.Tews
56e01e8a45
- allow Smarty2 and Smarty3 parameter ordering on display, fetch and create template
2009-09-29 20:36:29 +00:00
Uwe.Tews
3ab56b041e
- bugfix on <?php ?> tags
2009-09-29 18:52:58 +00:00
Uwe.Tews
6a5f07a1ad
- lexer fix for multiline <?php ...?> tags
2009-09-29 17:17:41 +00:00
Uwe.Tews
1af2723de9
- changed {php} tag handling
...
- removed support of Smarty::instance()
- removed support of PHP resource type
- improved execution speed of {foreach} tags
- fixed bug in {section} tag
2009-09-29 16:23:35 +00:00
Uwe.Tews
4faa5eff33
- reload of {section} tag fix
2009-09-27 17:58:33 +00:00
Uwe.Tews
97278555f7
- bugfix for {literal} tag inside comment
2009-09-26 23:06:57 +00:00
Uwe.Tews
441c1aa978
- update of $smarty->test() methode
2009-09-26 10:38:24 +00:00
Uwe.Tews
d2aeb81188
- bugfix on {section} tag
2009-09-26 10:32:36 +00:00
Uwe.Tews
324276f7fa
- improvements and bugfix on {include} tag handling
...
******************************************************************
NOTICE: existing compiled template and cache files must be deleted
******************************************************************
2009-09-23 16:50:16 +00:00
Uwe.Tews
5bf063d2cc
- fixed error in is_cached
2009-09-20 02:02:44 +00:00
Uwe.Tews
0e68cdd9d2
- replace internal "eval()" calls by "include" during rendering process
...
- speed improvment for templates which have included subtemplates
the compiled code of included templates is merged into the compiled code of the parent template
- added logical operator "xor" for {if} tag
- changed parameter ordering for Smarty2 BC
fetch($template, $cache_id = null, $compile_id = null, $parent = null)
display($template, $cache_id = null, $compile_id = null, $parent = null)
createTemplate($template, $cache_id = null, $compile_id = null, $parent = null)
- property resource_char_set is now replaced by constant SMARTY_RESOURCE_CHAR_SET
- fixed handling of classes in registered blocks
- speed improvement of lexer on text sections
2009-09-19 13:22:32 +00:00
Uwe.Tews
1c30387c96
- update extend resource
2009-09-11 18:59:48 +00:00
Uwe.Tews
b360c7cb5b
- bugfix {extend} tag
...
- bugfix of automatic literals
2009-09-11 15:11:21 +00:00
Uwe.Tews
6c5c0a156e
- bugfix for very large {block} tag content
2009-09-10 23:08:06 +00:00
Uwe.Tews
11a748a6e9
- removed var_dump
2009-09-08 18:58:15 +00:00
Uwe.Tews
62061b73e2
- bugfix on clear_cache()
2009-09-08 18:54:22 +00:00
Uwe.Tews
1cdb112388
- bugfix
2009-09-01 22:04:30 +00:00
Uwe.Tews
5563fc9fd5
- dropped nl2br as plugin
...
- added '<>' as comparission operator in {if} tags
- cached caching_lifetime property to cache_liftime for backward compatibility with Smarty2.
{include} optional attribute is also now cache_lifetime
- fixed trigger_error methode (moved into Smarty class)
- version is now Beta!!!
2009-09-01 21:11:42 +00:00