Commit Graph

1697 Commits

Author SHA1 Message Date
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
Uwe.Tews
33082844a5 - fixed {$smarty.block.parent.foo} 2009-04-10 02:29:46 +00:00
Uwe.Tews
066467ca82 - implementation of a 'variable' filter as replacement for default modifier
- update of unregister_....filter methods
2009-04-10 01:15:53 +00:00
Uwe.Tews
a424da0671 - syntax corrections on variable object property 2009-04-09 17:43:32 +00:00
Uwe.Tews
ba74349d59 - fixed execution of filters defined by classes 2009-04-09 16:38:07 +00:00
Uwe.Tews
57d190e997 - compile the always the content of {block} tags to make shure that the filters are running over it
- syntax corrections on variable object property
- syntax corrections on array access in dot syntax
2009-04-09 15:53:52 +00:00
Uwe.Tews
8bcd6514b5 - allow variable object property 2009-04-08 14:47:28 +00:00
Uwe.Tews
9b41308bf6 - changed variable scopes to SMARTY_LOCAL_SCOPE, SMARTY_PARENT_SCOPE, SMARTY_ROOT_SCOPE to avoid possible conflicts with user constants
- Smarty variable global attribute replaced with scope attribute
2009-04-07 16:22:31 +00:00
Uwe.Tews
0ab30877db - variable scopes LOCAL_SCOPE, PARENT_SCOPE, ROOT_SCOPE
- more getter/setter methodes
2009-04-06 02:53:09 +00:00
Uwe.Tews
fa3a23dace - replaced new array looping syntax {for $foo in $array} with {foreach $foo in $array} to avoid confusion 2009-04-05 17:56:04 +00:00
Uwe.Tews
827e9b08d8 - added append array for short form of assign {$foo[]='bar'} and allow assignments to nested arrays {$foo['bla']['blue']='bar'} 2009-04-05 14:49:27 +00:00
Uwe.Tews
45e2a5f0d6 - make output of template default handlers cachable 2009-04-04 19:07:42 +00:00
Uwe.Tews
228a225f5b - some fixes on yesterdays update 2009-04-04 15:46:09 +00:00
Uwe.Tews
3c5f0d56d3 - added registerDefaultTemplateHandler methode and functionallity
- added registerDefaultPluginHandler methode and functionallity
- added {append} tag to extend Smarty array variabled
2009-04-03 15:59:40 +00:00
Uwe.Tews
b46b973b8e - added setter/getter methodes
- added $foo@first and $foo@last properties at {for} tag
- added $set_timezone (true/false) property to setup optionally the default time zone
2009-04-02 12:24:50 +00:00
Uwe.Tews
25e4ef7fb9 - bugfix smarty.class and internal.security_handler
- added compile_check configuration 
- added all setter/getter methodes
2009-03-31 14:20:10 +00:00
Uwe.Tews
c9bbd7e834 - added all major setter/getter methodes 2009-03-30 17:05:37 +00:00
Uwe.Tews
590029c092 - code optimization at crc32 hash computation 2009-03-29 13:13:33 +00:00
Uwe.Tews
53e31d8162 - {block} tags can be nested now 2009-03-28 12:20:53 +00:00
Uwe.Tews
7f00b38f34 - md5 hash function replace with crc32 for speed optimization 2009-03-28 09:41:06 +00:00
Uwe.Tews
e180d015ea - file order for exted resource inverted
- clear_compiled_tpl and clear_cache_all will not touch .svn folder any longer
2009-03-28 08:47:26 +00:00
Uwe.Tews
8a8766b0bd - added extend resource 2009-03-27 15:31:47 +00:00
Uwe.Tews
000e5c7892 - implemented $smarty.block.name.parent to access parent block content
- fixed smarty.class
2009-03-26 21:06:02 +00:00
Uwe.Tews
9f95d63ab7 - parser fix 2009-03-26 15:36:01 +00:00
Uwe.Tews
526d5e0388 - fixed parser not to create error on word in double quoted strings
- allow PHP  array(...)
2009-03-26 14:08:43 +00:00
Uwe.Tews
52652dd4f9 - fixed {foreachelse} and {forelse} tags 2009-03-23 15:29:50 +00:00
Uwe.Tews
c20094c923 - update of paths 2009-03-22 22:36:46 +00:00
Uwe.Tews
a752396d41 - updated paths in development folder 2009-03-22 22:35:10 +00:00
Uwe.Tews
0e2e7efc99 2009-03-22 17:04:35 +00:00
monte.ohrt
dcaa96a9f8 rearrange things into distribution and development directories 2009-03-22 16:09:05 +00:00