uwe.tews@googlemail.com
ce7a278f44
- bugfix for the E_NOTICE change
2010-10-20 18:28:04 +00:00
uwe.tews@googlemail.com
7ec3cb453c
- bugfix removed ambiguity between ternary and stream variable in template syntax
...
- bugfix use caching properties of template instead of smarty object when compiling child {block}
- bugfix {*block}...{/block*} did throw an exception in template inheritance
2010-10-13 15:44:03 +00:00
uwe.tews@googlemail.com
44c6732970
15/09/2010
...
- bugfix resolving conflict between '<%'/'%>' as custom Smarty delimiter and ASP tags
- use ucfirst for resource name on internal resource class names
2010-09-15 15:17:28 +00:00
Uwe.Tews
a2f50cebd4
- bugfix {counter} and {cycle} plugin assigned result to smarty variable not in local(template) scope
...
- bugfix templates containing just {strip} {/strip} tags did produce an error
2010-09-07 16:24:34 +00:00
monte.ohrt
21d507a5cb
fix formatting
2010-08-17 15:39:51 +00:00
Uwe.Tews
6ae00435af
- changed execution order. A variable filter does now run before modifiers on output of variables
...
- bugfix use always { and } as delimiter for debug.tpl
2010-07-23 12:53:04 +00:00
Uwe.Tews
c1e1c03892
- make the date_format modifier work also on objects of the DateTime class
...
- implementation of parsetrees in the parser to close security holes and remove unwanted empty line in HTML output
2010-07-14 22:47:37 +00:00
Uwe.Tews
db38a0aaec
- bugfix on assigning multidimensional arrays within templates
...
- corrected bugfix for truncate modifier
2010-07-08 18:30:03 +00:00
Uwe.Tews
ccc0e1b6c8
- added $smarty->register->templateClass() and $smarty->unregister->templateClass() methods for supporting static classes with namespace
2010-06-24 20:30:19 +00:00
Uwe.Tews
7626cbf093
- removed use of PHP shortags SMARTY_PHP_PASSTHRU mode
2010-06-21 18:01:36 +00:00
Uwe.Tews
5a974e69cf
2010-06-20 21:16:18 +00:00
Uwe.Tews
1380199f43
- closed security hole when php.ini asp_tags = on
2010-06-20 20:37:16 +00:00
Uwe.Tews
7075a1186d
- bugfix Smarty3 did not handle hexadecimals like 0x0F as numerical value
...
- bugifx Smarty3 did not accept numerical constants like .1 or 2. (without a leading or trailing digit)
2010-06-13 12:52:36 +00:00
Uwe.Tews
6ac2489ea5
- bugfix the parser did not allow some smarty variables with special name like $for, $if, $else and others.
2010-05-31 17:58:23 +00:00
Uwe.Tews
b889d66dd9
- bugfix on object chaining using variable properties
2010-05-27 15:59:40 +00:00
Uwe.Tews
eb12b18929
- bugfix when passing parameter with numeric name like {foo 1='bar' 2='blar'}
2010-05-16 20:12:14 +00:00
Uwe.Tews
a15c0f85d1
14/05/2010
...
- bugfix compile new config files if compile_check and force_compile = false
- added variable static classes names to template syntax
2010-05-14 13:45:04 +00:00
Uwe.Tews
cf11940bf7
- update of template and config file parser because of minor parser generator bugs
2010-05-09 16:48:03 +00:00
Uwe.Tews
e71c82ff1d
- bugfix on handling of variable method names at object chaning
2010-05-01 16:10:20 +00:00
Uwe.Tews
d7a629df0c
- change default of $debugging_ctrl to 'NONE'
...
- optimization of compiled code of {foreach} and {for} loops
- change of compiler for config variables
2010-04-28 20:30:27 +00:00
Uwe.Tews
c8be3ed029
- removed parser restrictions in using true,false and null as ID
2010-04-12 18:22:53 +00:00
Uwe.Tews
24d5ad78f3
- bugfix allow array definitions as modifier parameter
...
- bugfix observe compile_check property when loading config files
- added the template object as third filter parameter
2010-03-29 15:41:01 +00:00
Uwe.Tews
eb4436e7be
- bugfix on assign attribute at registered template objects
...
- make handling of modifiers on expression BC to Smarty2
2010-03-16 18:26:46 +00:00
Uwe.Tews
13089f2d64
- changed parsing of <?php and ?> back to Smarty2 behaviour
2010-03-11 22:26:46 +00:00
Uwe.Tews
d9e4646b60
- bugfix on accessing chained objects of static classes
2010-03-04 20:33:53 +00:00
Uwe.Tews
3898f593f4
- allow block tags inside double quoted string
2010-02-27 20:10:32 +00:00
Uwe.Tews
a4d34aebce
- support of access to a class constant from an object (since PHP 5.3)
2010-02-26 13:28:54 +00:00
Uwe.Tews
0426dd0459
- bugfix on expressions in doublequoted string enclosed in backticks
...
- added security property $static_classes for static class security
2010-02-24 18:01:03 +00:00
Uwe.Tews
f393874262
- bugfix on parsing Smarty tags inside <?xml ... ?>
...
- bugfix on truncate modifier
2010-02-18 16:28:11 +00:00
Uwe.Tews
950c3a7307
2010-02-17 21:30:36 +00:00
Uwe.Tews
44feb88c19
- bugfix on <?xml ... ?> tags for all php_handling modes
...
- bugfix on parameter of variablefilter.htmlspecialchars.php plugin
2010-02-16 20:20:49 +00:00
Uwe.Tews
239462fde4
- bugfix $smarty.const... inside doublequoted strings and backticks was compiled into wrong PHP code
2010-02-14 20:26:57 +00:00
Uwe.Tews
cb0ba1908a
- allow Smarty tags inside <? ... ?> tags in SMARTY_PHP_QUOTE and SMARTY_PHP_PASSTHRU mode
...
- bugfix at new "for" syntax like {for $x=1 to 10 step 2}
2010-02-10 20:51:36 +00:00
Uwe.Tews
2c570f25b9
- bugfix on $smarty.const... in double quoted strings
2010-01-17 15:52:37 +00:00
Uwe.Tews
19c0e47495
- bugfix on {if} tags
2010-01-13 15:33:54 +00:00
Uwe.Tews
51ed5b7861
- closed possible security hole at <?php ... ?> tags
...
- bugfix of config file parser on large config files
2010-01-12 22:12:19 +00:00
Uwe.Tews
f83fd47acc
- changed back modifer handling in parser. Some restrictions still apply:
...
if modifiers are used in side {if...} expression or in mathematical expressions
parentheses must be used.
2010-01-12 19:05:26 +00:00
Uwe.Tews
aabc4352c2
- added optional nocache attribute to {block} tags in parent template
...
- updated <?php...?> handling supporting now heredocs and newdocs. (thanks to Thue Jnaus Kristensen)
2010-01-11 20:44:01 +00:00
Uwe.Tews
72219be200
- optimization of generated code for doublequoted strings containing variables
...
- rewrite of {function} tag handling
- can now be declared in an external subtemplate
- can contain nocache sections (nocache_hash handling)
- can be called in noccache sections (nocache_hash handling)
- new {call..} tag to call template functions with a variable name {call name=$foo}
- fixed nocache_hash handling in merged compiled templates
2009-12-31 16:38:12 +00:00
Uwe.Tews
44dd7830dd
--- this is a major update with a couple of internal changes ---
...
- new config file lexer/parser (thanks to Thue Jnaus Kristensen)
- template lexer/parser fixes for PHP and {literal} handing (thanks to Thue Jnaus Kristensen)
- fix on registered plugins with different type but same name
- rewrite of plugin handling (optimized execution speed)
- closed a security hole regarding PHP code injection into cache files
- fixed bug in clear cache handling
- Renamed a couple of internal classes
- code cleanup for merging compiled templates
- couple of runtime optimizations (still not all done)
2009-12-27 15:06:49 +00:00
Uwe.Tews
be04e0904c
- fixed {strip} handling in auto literals
2009-12-17 20:39:11 +00:00
Uwe.Tews
8d5fab37e8
- bugfix on object as array index
2009-12-15 00:02:10 +00:00
Uwe.Tews
7406a7386a
- allow !$foo as value
2009-12-13 20:21:54 +00:00
Uwe.Tews
74a20f4650
- removed unneeded lexer code
2009-12-05 15:10:47 +00:00
Uwe.Tews
1723b98ce0
- fixed problem when a cached file was fetched several times
2009-12-05 13:38:09 +00:00
Uwe.Tews
7e6da87134
- added max attribute to for loop
...
- added security mode allow_super_globals
2009-12-04 15:44:47 +00:00
Uwe.Tews
19413d8dab
- bugfix for {$foo.$x.$y.$z}
2009-12-04 00:18:54 +00:00
Uwe.Tews
1573bf813c
- added {for $foo = 1 to 5 step 2} syntax
2009-12-03 22:39:45 +00:00
Uwe.Tews
a8a17d09e9
- fixed parsing of names of special formated tags like if,elseif,while,for,foreach
...
- removed direct access to constants in templates because of some syntax problems
2009-12-01 17:08:54 +00:00
Uwe.Tews
732ab27055
- ignore compile_id at debug template
...
- added direct access to constants in templates
- some lexer/parser optimizations
2009-11-28 18:48:02 +00:00