Commit Graph

258 Commits

Author SHA1 Message Date
Uwe.Tews
5385475a5e - update of changelog 2009-12-16 16:27:06 +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
b2db17992b - bugfix on single quote inside {function} tag 2009-12-12 11:51:07 +00:00
Uwe.Tews
c5f8ceb5e9 - fix short append/prepend attributes in {block} tags 2009-12-12 10:50:40 +00:00
Uwe.Tews
5219139f6b - bugfix on clear_compiled_tpl (avoid possible warning) 2009-12-11 14:26:57 +00:00
Uwe.Tews
048fd5e274 - bugfix on {function} tags and template inheritance 2009-12-10 17:23:32 +00:00
Uwe.Tews
bec015821a - fixed documentation of extends resource 2009-12-06 12:25:19 +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
monte.ohrt
cd5cc650d8 add automagic formatting for date() and strftime() 2009-12-05 05:30:20 +00:00
Uwe.Tews
85c8676988 - added file SMARTY2_BC_NOTES 2009-12-04 16:37:31 +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
9ee61377fa - README 2009-12-03 22:50:05 +00:00
Uwe.Tews
1573bf813c - added {for $foo = 1 to 5 step 2} syntax 2009-12-03 22:39:45 +00:00
Uwe.Tews
91da0aa7fe - template inheritance: child templates can now call functions defined by the {function} tag in the parent template 2009-12-03 19:49:17 +00:00
Uwe.Tews
2c23dccf3b - use $template_class property for template class name when compiling {include},{eval} and {extends} tags 2009-12-01 22:24:31 +00:00
Uwe.Tews
7e45bcf527 - replaced most hard errors (exceptions) by softerrors(trigger_error) in plugins 2009-12-01 20:34:32 +00:00
Uwe.Tews
e5cd6c8a17 - removed cache resource plugin for mysql from the distribution 2009-12-01 19:36:58 +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
4c4ce1e5bf - update of comment 2009-11-30 21:20:09 +00:00
Uwe.Tews
89e53f6372 - allow {function} tags within {block} tags 2009-11-30 19:56:17 +00:00
Uwe.Tews
319f0c88fb - map 'true' to SMARTY_CACHING_LIFETIME_CURRENT for the $smarty->caching parameter 2009-11-30 17:52:13 +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
Uwe.Tews
9f18a6bf62 - added comment with MYSQL create table command 2009-11-27 21:06:17 +00:00
Uwe.Tews
27d3a21fb4 - added cache resource MYSQL plugin 2009-11-27 20:46:56 +00:00
Uwe.Tews
255eec00ae - bugfix double quoted string 2009-11-27 00:43:38 +00:00
Uwe.Tews
be47f5773e - fix on checking dynamic varibales with error_unassigned = true 2009-11-26 23:36:30 +00:00
Uwe.Tews
25270df6bd - correct line number on unknown tag error message
- changed {include} compiled code
2009-11-26 22:49:56 +00:00
Uwe.Tews
f3f01b928a 2009-11-26 21:08:45 +00:00
Uwe.Tews
4afab27bd8 - {strip} tag functionality rewritten 2009-11-25 20:56:51 +00:00
Uwe.Tews
f94acef2cc - allow null, NULL, Null 2009-11-25 16:44:02 +00:00
Uwe.Tews
e80531444b - allow the following writing for boolean: true, TRUE, True, false, FALSE, False 2009-11-25 16:27:06 +00:00
Uwe.Tews
2bab2f147d - bugfix for $smarty->config_overwrite = false 2009-11-24 20:33:40 +00:00
Uwe.Tews
4925a98949 - suppress warnings on unlink caused by race conditions
- correct line number on unknown tag error message
2009-11-23 22:31:22 +00:00
Uwe.Tews
963b13b0af - fixed configfile parser for text starting with a numeric char
- the default_template_handler_func may now return a filepath to a template source
2009-11-23 16:05:30 +00:00
Uwe.Tews
631e3023cc - bugfix for empty config files
- convert timestamps of registered resources to integer
2009-11-20 21:49:20 +00:00
Uwe.Tews
cc4058c633 - compiled templates are no longer touched with the filemtime of template source 2009-11-19 14:45:04 +00:00
Uwe.Tews
6b506c4b40 - allow integer as attribute name in plugin calls 2009-11-18 21:51:20 +00:00
Uwe.Tews
4e98b48c7c - make $smarty->_current_file available during compilation for Smarty2 BC 2009-11-18 17:43:39 +00:00
Uwe.Tews
4286ad068b - observe umask settings when setting file permissions
- avoide unneeded cache file creation for subtemplates which did occur in some situations
2009-11-18 17:25:18 +00:00
Uwe.Tews
e081d85b79 - bugfix cycle plugin 2009-11-17 20:17:51 +00:00
Uwe.Tews
1470251f18 - renamed extend tag and resource to extens: {extends file='foo.tol'} , $smarty->display('extends:foo.tpl|bar.tpl); 2009-11-17 19:03:06 +00:00
Uwe.Tews
724a31ce11 - added {foreach $array as $key=>$value} syntax 2009-11-17 18:09:29 +00:00
Uwe.Tews
a63bc0f83b - sanitize compile_id and cache_id (replace illegal chars with _)
- use _dir_perms and _file_perms properties at file creation
- new constant SMARTY_RESOURCE_DATE_FORMAT (default '%b %e, %Y') which is used as default format in modifier date_format
2009-11-17 17:46:03 +00:00
monte.ohrt
72de1a7b33 fix delimiter setting 2009-11-17 01:31:44 +00:00
Uwe.Tews
9f505c1c23 - lexer/parser optimizations on quoted strings 2009-11-15 19:05:53 +00:00
Uwe.Tews
960fd1b3a9 - parser could run into a PHP error on wrong file attribute 2009-11-14 20:09:18 +00:00
Uwe.Tews
5b6050bf54 - fix on merging compiled templates with nocache sections in nocache includes 2009-11-14 16:20:18 +00:00