Commit Graph

194 Commits

Author SHA1 Message Date
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
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
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
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
Uwe.Tews
6154717b48 - fixed locaion where outputfilters are running
- fixed config file definitions at EOF
2009-11-14 13:02:48 +00:00
Uwe.Tews
d482a8b137 - bugfix modifiers on registered object tags 2009-11-14 10:40:08 +00:00
Uwe.Tews
2e70e88b0f - bugfix on merging compiled templates when source files got removed or renamed. 2009-11-14 10:08:27 +00:00
Uwe.Tews
39b25f8db8 - fix on nocache code in child {block} tags 2009-11-12 22:50:48 +00:00
Uwe.Tews
f149804f3e - added scope to Smarty variables in the {block} tag compiler 2009-11-12 21:32:46 +00:00
Uwe.Tews
55b2d90fb8 - fixed variable filenames in {include_php} and {insert} 2009-11-12 17:20:42 +00:00
Uwe.Tews
7af23e23b6 - changed debugging handling 2009-11-11 22:09:06 +00:00
Uwe.Tews
ad70b964cb - removed checking for reserved variables 2009-11-11 16:54:04 +00:00
Uwe.Tews
ba6ba0cf8d - fixed {foreachelse}, {forelse}, {sectionelse} compiled code at nocache variables 2009-11-11 16:15:47 +00:00
Uwe.Tews
d35746dd26 - fixed preg_qoute on delimiters 2009-11-10 16:04:32 +00:00
Uwe.Tews
60601acc25 2009-11-09 21:50:11 +00:00
Uwe.Tews
039d9044da 2009-11-09 21:22:28 +00:00
Uwe.Tews
6f7896c87b - bugfix for {function} block tags in included templates 2009-11-09 20:56:50 +00:00
Uwe.Tews
ff8c1050e4 - lexer/parser bugfix 2009-11-09 16:30:56 +00:00
Uwe.Tews
2e61999def - fixed alphanumeric array index 2009-11-08 21:01:22 +00:00
Uwe.Tews
ce18a4cc15 - bugfix on complex double quoted strings 2009-11-08 16:17:51 +00:00
Uwe.Tews
6a9924162b - lexer/parser fix for null,true,false as array index 2009-11-06 17:40:20 +00:00
monte.ohrt
3386b94e15 change linefeed style to native on all files 2009-11-06 14:35:00 +00:00
Uwe.Tews
5c2b897534 - config_load method can now be called on data and template objects 2009-11-05 18:22:40 +00:00
Uwe.Tews
db0767a71e - bugfix on complex indexed special Smarty variables 2009-11-04 17:54:00 +00:00
Uwe.Tews
caac4bb841 - added typecasting support for template variables 2009-11-04 16:03:25 +00:00
Uwe.Tews
94b80e892b - renamed function names of autoloaded Smarty methods to Smarty_Method_....
- new security_class property (default is Smarty_Security)
2009-11-03 20:38:38 +00:00
Uwe.Tews
05c64b7748 - fixed file dependency for {incude} inside {block} tag
- fixed not compiling on non existing compiled templates when compile_check = false
2009-11-03 18:02:13 +00:00
Uwe.Tews
bbbb5e098e - fixed parser error on objects with special smarty vars 2009-11-03 15:23:18 +00:00
Uwe.Tews
7409a9061d - remove last change for unquoted attribute values 2009-11-02 22:25:35 +00:00
Uwe.Tews
15ee358dd7 - change on unquoted attribute values 2009-11-02 20:21:28 +00:00