Commit Graph

76 Commits

Author SHA1 Message Date
Uwe.Tews
6e9350f7c7 - fixed parser problems 2009-08-12 16:43:37 +00:00
Uwe.Tews
9fecdb57b8 - fixed parser problems with custom delimiter 2009-08-11 18:53:23 +00:00
Uwe.Tews
a693a00280 - fixed problems with doublequoted strings at name attribute of {block} tag
- bugfix at scope attribute of {append} tag
2009-08-09 22:03:33 +00:00
Uwe.Tews
d2d8c8925b - removed all internal calls of Smarty::instance()
- fixed code in double quoted strings
2009-08-08 17:28:23 +00:00
Uwe.Tews
fc9b7eef10 - bugfix of \n.\t etc in double quoted strings 2009-08-05 19:41:49 +00:00
Uwe.Tews
83cc212060 - added syntax for variable config vars like #$foo# 2009-07-29 16:43:54 +00:00
Uwe.Tews
85998e3fca - fixed parsing of $smarty.session vars containing objects 2009-07-28 19:26:56 +00:00
Uwe.Tews
21659a76e8 - fix of "$" handling indouble quoted strings 2009-07-22 16:22:24 +00:00
Uwe.Tews
0c7113d98e 2009-07-21 17:41:16 +00:00
Uwe.Tews
51cc106811 - fix that {$smarty.current_dir} returns correct value within {block} tags. 2009-07-21 16:26:11 +00:00
Uwe.Tews
12ef15812c - drop error message on unmatched {block} {/block} pairs 2009-07-20 15:38:11 +00:00
Uwe.Tews
581620d8cd - fix on \n and spaces inside smarty tags
- removed request_use_auto_globals propert as it is no longer needed because Smarty 3 will always run under PHP 5
2009-06-22 14:23:21 +00:00
Uwe.Tews
f5aabcd47f - added $smarty.current_dir which returns the current working directory 2009-06-18 18:51:21 +00:00
Uwe.Tews
b6b4d90487 - fixed compilation of block plugins when caching enabled 2009-06-18 17:46:25 +00:00
Uwe.Tews
ce9a656829 - allow smarty tags within xml tags
- PHPunit update
2009-06-14 13:08:13 +00:00
Uwe.Tews
ae3c3fce48 - fixed array access on super globals
- changed internal access to smarty object
2009-06-14 11:07:26 +00:00
Uwe.Tews
18a3bb1971 - instantiate classes of plugins instead of calling them static 2009-06-13 21:05:57 +00:00
Uwe.Tews
06ce127133 - bugfix at extend resource: create unique files for compiled template and cache for each combination of template files
- update extend resource to handle appen and prepend block attributes
2009-06-13 20:39:56 +00:00
Uwe.Tews
30bd8f119b - fixed repeat at block plugins 2009-06-03 18:07:15 +00:00
Uwe.Tews
d4558ca158 - fixed problem with caching of compiler plugins 2009-05-25 21:14:44 +00:00
Uwe.Tews
1084678645 - fixed directory separator handling 2009-05-14 10:53:28 +00:00
Uwe.Tews
bd6b49ee1e - syntax change for stream variables 2009-05-09 12:44:43 +00:00
Uwe.Tews
8f8111a449 - fixed bug when using absolute template filepath and caching 2009-05-09 07:04:55 +00:00
Uwe.Tews
0a64988240 - fixed bug of {nocache} tag in included templates 2009-05-08 11:34:21 +00:00
Uwe.Tews
d7a8731ac9 - fixed E_STRICT incompabilities
- {function} tag bug fix 
- security policy definitions have been moved from plugins folder to file Security.class.php in libs folder
- added allow_super_global configuration to security
2009-05-05 17:19:33 +00:00
Uwe.Tews
5bbc44f35d - functions defined with the {function} tag now always have global scope 2009-04-30 17:39:17 +00:00
Uwe.Tews
f3c58dfa8d - allow that cache_dir can end without directory separator 2009-04-29 19:31:33 +00:00
Uwe.Tews
0b9887cc17 - allow that cache_dir can end without directory separator 2009-04-29 19:25:44 +00:00
Uwe.Tews
d7093433ae - fixed problem with directory setter methodes 2009-04-29 17:56:56 +00:00
Uwe.Tews
4c794a3d70 - the {function} tag can no longer overwrite standard smarty tags
- inherit functions defined by the {fuction} tag into subtemplates
- added {while <statement>} sytax to while tag
2009-04-28 15:37:13 +00:00
Uwe.Tews
c724b720be - added trusted stream checking to security
- internal changes at file dependency check for caching
2009-04-26 16:56:17 +00:00
Uwe.Tews
4f4f2d3dd3 - changed name of {template} tag to {function} 2009-04-24 22:36:12 +00:00
Uwe.Tews
e315782819 - added new {template} tag 2009-04-24 19:59:51 +00:00
Uwe.Tews
1ee0747801 - fixed access of special smarty variables from included template 2009-04-23 13:32:45 +00:00
Uwe.Tews
d991f96423 - unified template stream syntax with standard Smarty resource syntax $smarty->display('mystream:mytemplate') 2009-04-21 22:09:17 +00:00
Uwe.Tews
453d8a23da - change of new style syntax for forach. Now: {foreach $array as $var} like in PHP 2009-04-21 18:02:34 +00:00
Uwe.Tews
380cb27945 - fixed "$foo.bar ..." variable replacement in double quoted strings 2009-04-20 20:33:14 +00:00
Uwe.Tews
73fe38c488 - fixed error in {include} tag with variable file attribute 2009-04-20 14:08:02 +00:00
Uwe.Tews
152cedb75c - added stream resources ($smarty->display('mystream://mytemplate'))
- added stream variables  {$mystream:myvar}
2009-04-18 14:46:29 +00:00
Uwe.Tews
24e3218d28 - added {if 'expression' is in 'array'} syntax 2009-04-14 12:41:07 +00:00
Uwe.Tews
1970c0cbdb - fixed compile_id handling on {include} tags 2009-04-14 11:25:45 +00:00
Uwe.Tews
3d0b7663e2 - fixed compile_id handling on {include} tags 2009-04-14 10:31:02 +00:00
Uwe.Tews
04fc33b99a - fixed append/prepend attributes in {block} tag
- added  {if  'expression' is in 'array'}  syntax
- use crc32 as hash for compiled config files.
2009-04-14 09:04:15 +00:00
Uwe.Tews
139b3d4570 - fixed scope problem with parent variables when appending variables within templates.
- fixed code for {block} without childs (possible sources for notice errors removed)
2009-04-12 22:26:02 +00:00
Uwe.Tews
bdb43faab3 - update on append and prepend attribute at {block} tag 2009-04-12 05:40:30 +00:00
Uwe.Tews
62039b5e24 - added append and prepend attribute to {block} tag 2009-04-12 02:30:54 +00:00
Uwe.Tews
c9b789ca32 - fixed variables in 'file' attribute of {extend} tag
- fixed problems in modifiers (if mb string functions not present)
2009-04-11 08:47:28 +00:00
Uwe.Tews
ba61f12384 - check if mb string functions available otherwise fallback to normal string functions 2009-04-10 15:52:59 +00:00
Uwe.Tews
1262b7d873 - parser update 2009-04-10 14:31:23 +00:00
Uwe.Tews
eace27e2b6 - added global variable scope SMARTY_GLOBAL_SCOPE
- enable 'variable' filter by default
2009-04-10 12:33:51 +00:00