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
db887adc37
- bugfix the {function..} tag did not accept the name attribute in double quotes
2010-01-12 20:37:05 +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
e912e731bc
- added missing support of insert plugins
2010-01-11 20:22:41 +00:00
Uwe.Tews
cdd2aae582
- added \n to the compiled code of the {if},{else},{elseif},{/if} tags to get output of newlines as expected by the template source
2010-01-11 17:58:10 +00:00
Uwe.Tews
64503880b3
- added \n to the compiled code of the {/if} tag to get output of newlines as expected by the template source
2010-01-11 17:36:37 +00:00
Uwe.Tews
a3459b2e3a
- bugfix on nocache {block} tags in parent templates
2010-01-09 19:23:35 +00:00
Uwe.Tews
6c020763a8
- bugfix on variable filters. filter/nofilter attributes did not work on output statements
2010-01-08 15:54:21 +00:00
Uwe.Tews
17a8c7f0a2
- bugfix on file dependendcy at template inheritance
...
- bugfix on nocache code at template inheritance
2010-01-07 19:33:18 +00:00
Uwe.Tews
1227de42cc
- bugfix for custom delimiter at extends resource and {extends} tag
2010-01-06 18:48:50 +00:00
Uwe.Tews
ceb4cb75c7
- bugfix for custom delimiter at extends resource and {extends} tag
2010-01-06 17:31:59 +00:00
Uwe.Tews
57fd94ddb1
- fixed typo in smarty_internal_resource_registered
2010-01-06 15:52:33 +00:00
Uwe.Tews
d287c6b1d9
- bugfix sha1() calculations at extends resource and some general improvments on sha1() handling
2010-01-05 21:10:25 +00:00
Uwe.Tews
a6c2f5f8d4
- internal change on building cache files
2010-01-03 11:53:28 +00:00
Uwe.Tews
4519218f04
- update cached_timestamp at the template object after cache file is written to avoid possible side effects
...
- use internally always SMARTY_CACHING_LIFETIME_* constants
2010-01-02 12:15:04 +00:00
Uwe.Tews
b5ff9e450f
- bugfix for {php} tag (trow an exception if allow_php_tag = false)
2010-01-01 20:19:26 +00:00
Uwe.Tews
8c93e0765a
- bugfix for obtaining plugins which must be included (related to change of 12/30/2009)
2010-01-01 12:07:36 +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
a6c4c0b192
- bugfix for plugins defined in the script as smarty_function_foo
2009-12-30 14:26:42 +00:00
Uwe.Tews
67641b63e8
- fixed cache filename for custom resources
2009-12-29 23:46:31 +00:00
Uwe.Tews
7a8e24cfc1
- internal change on merging some data
2009-12-29 22:27:04 +00:00
Uwe.Tews
8327f57f36
2009-12-29 20:12:51 +00:00
Uwe.Tews
d1969d6f56
- use sha1() for filepath encoding
...
- updates on nocache_hash handling
2009-12-29 20:12:11 +00:00
Uwe.Tews
589f736efa
- fixed bug loading modifiers in child template at template inheritance
2009-12-28 20:46:31 +00:00
monte.ohrt
5d6b87d9a1
replace md5 with str_replace
2009-12-28 17:41:27 +00:00
Uwe.Tews
8ad3fade36
- adding md5 to nocache_hash
2009-12-28 17:02:48 +00:00
Uwe.Tews
de4957a151
- update for security fixes
...
- make modifier plugins always trusted
2009-12-28 15:27:13 +00:00
monte.ohrt
f908aa0a27
update cache logic to use secure dynamic cache id
2009-12-28 05:08:45 +00:00
monte.ohrt
55d50efb1d
set default cache lifetime to 3600, BC with Smarty 2
2009-12-28 03:22:57 +00:00
Uwe.Tews
997b8cd73f
- fixed bug on modifier plugins at nocache output
2009-12-27 22:26:06 +00:00
Uwe.Tews
36da15cee8
- update of getCachedTimestamp()
2009-12-27 19:12:51 +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
5f02276a2a
- bugfix on comment lines in config files
2009-12-19 16:57:12 +00:00
Uwe.Tews
8f7a70de38
- bugfix on comment lines in config files
2009-12-19 12:36:15 +00:00
Uwe.Tews
be04e0904c
- fixed {strip} handling in auto literals
2009-12-17 20:39:11 +00:00
Uwe.Tews
aaa7b8f245
- bugfix of parent/global variable update at included/merged subtemplates
...
- encode final template filepath into filename of compiled and cached files
2009-12-17 16:58:44 +00:00
Uwe.Tews
13448b9b0b
- added {include file='foo.tpl' inline} inline option to merge compiled code of aubtemplate into the calling template
2009-12-16 17:05:31 +00:00
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