uwetews
2e0b834b59
remove unneeded realpath call
2015-09-01 02:34:59 +02:00
uwetews
fb83a888f3
varname changes
2015-08-23 02:03:25 +02:00
Uwe Tews
1e4f28da54
update Smarty::_realpath()
2015-07-07 17:56:50 +02:00
Uwe Tews
b1fdc085e7
- optimization get rid of __get and __set in source object
2015-07-06 03:25:03 +02:00
Uwe Tews
a9f0b8ad1f
- optimize compile check handling
2015-07-01 03:27:06 +02:00
Uwe Tews
b64d5d26c9
- update realpath handling
2015-06-21 13:53:52 +02:00
Uwe Tews
c3aa9994c8
rework source resource handling
...
- move class Smarty_Template_Source into its own file
- impelement all source processing into the classes it better belongs to
2015-01-01 23:34:29 +01:00
Uwe.Tews@googlemail.com
c2bba29216
- bugfix the bufix of 02.06.2014 broke correct handling of child templates with same name but different template folders in extends resource (issue 194 and topic 25099)
2014-07-03 23:16:23 +00:00
Uwe.Tews@googlemail.com
425091a19f
- fixed spelling, PHPDoc , minor errors, code cleanup
2014-06-06 02:40:04 +00:00
Uwe.Tews@googlemail.com
2c5ce49b97
- using multiple cwd with relative template dirs could result in identical compiled file names. (issue 194 and topic 25099)
2014-06-02 19:56:38 +00:00
Uwe.Tews@googlemail.com
98c1dd29cd
- bugfix and enhancement
...
Because several recent problems with template inheritance the {block} tag compiler has been rewriten
- Error messages shown now the correct child template file and line number
- The compiler could fail on some larger UTF-8 text block (forum topic 24455}
- The {strip} tag can now be placed outside {block} tags in child templates (forum topic 24289}
- change SmartyException::$escape is now false by default
- change PHP traceback has been remove for SmartyException and SmartyCompilerException
2013-08-24 18:46:31 +00:00
Uwe.Tews@googlemail.com
00ccae8857
- update for PHP 5.4 compatibility
...
- reformat source to PSR-2 standard
2013-07-14 22:15:45 +00:00
uwe.tews@googlemail.com
b70b06aa20
- bugfix $auto_literal = false did not work with { block} tags in child templates
...
(problem was reintroduced after fix in 3.1.7)(Forum Topic 20581)
2012-08-21 21:54:30 +00:00
rodneyrehm
6d90cd3fd7
bugfix fetch('extends:foo.tpl') always yielded $source->exists == true (Forum Topic 20980)
2012-02-06 20:18:47 +00:00
uwe.tews@googlemail.com
d6abd3155d
- bugfix template inheritace did fail if mbstring.func_overload != 0 (issue 70) (Forum Topic 20680)
2011-12-22 19:37:44 +00:00
uwe.tews@googlemail.com
29a7600b74
- bugfix removed debug echo output while compiling template inheritance
2011-09-19 23:58:52 +00:00
monte.ohrt
8842e79107
commit 3.1 into the trunk
2011-09-16 14:19:56 +00:00
uwe.tews@googlemail.com
d38cb92059
- bufix replace $smarty->triggerError() by exception
...
- removed obsolete {popup_init..} plugin from demo templates
2011-02-13 22:04:58 +00:00
uwe.tews@googlemail.com
8e4cd21b3d
revert change of 19/11/2010 - bugfix on template inheritance. prefilter did not run over child blocks
...
It was no error
2010-11-20 15:24:32 +00:00
uwe.tews@googlemail.com
1c9f015135
- bugfix on block plugins with modifiers
...
- bugfix on template inheritance. prefilter did not run over child blocks
2010-11-20 00:00:24 +00:00
uwe.tews@googlemail.com
f044178bad
- major update including some API changes
2010-11-11 21:34:36 +00:00
uwe.tews@googlemail.com
7ec3cb453c
- bugfix removed ambiguity between ternary and stream variable in template syntax
...
- bugfix use caching properties of template instead of smarty object when compiling child {block}
- bugfix {*block}...{/block*} did throw an exception in template inheritance
2010-10-13 15:44:03 +00:00
uwe.tews@googlemail.com
b38e46db46
- bugfix untility compileAllConfig() did not create sha1 code for compiled template file names if template_dir was defined with no trailing DS
...
- bugfix on templateExists() for extends resource
2010-09-18 14:57:02 +00:00
uwe.tews@googlemail.com
18bcfa2ba7
- bugfix {$smarty.template} and {$smarty.current_dir} did not compile correctly within {block} tags
...
- bugfix corrected error message on missing template files in extends resource
- bugfix untility compileAllTemplates() did not create sha1 code for compiled template file names if template_dir was defined with no trailing DS
2010-09-17 18:10:10 +00:00
Uwe.Tews
550a416209
- allow multiple template inheritance branches starting in subtemplates
2010-09-08 17:40:00 +00:00
monte.ohrt
21d507a5cb
fix formatting
2010-08-17 15:39:51 +00:00
Uwe.Tews
ad921936b0
- remove exception_handler property from Smarty class
...
- added Smarty's own exceptions SmartyException and SmartyCompilerException
2010-08-13 10:39:51 +00:00
Uwe.Tews
0920b383c6
- bugfix on template inheritance for tag names starting with "block"
...
- bugfix on {function} tag with name attribute in doublequoted strings
2010-04-30 18:11:34 +00:00
Uwe.Tews
6d2fb922e9
- bugfix for multiple {/block} tags on same line
2010-03-19 15:45:32 +00:00
Uwe.Tews
950c3a7307
2010-02-17 21:30:36 +00:00
Uwe.Tews
78c2e92f19
- bugfix on nested {block} tags
...
- changed Smarty special variable $smarty.parent to $smarty.block.parent
2010-02-12 15:56:17 +00:00
Uwe.Tews
99ab6e96a5
- added support of nested {bock} tags
2010-02-12 01:14:34 +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
d287c6b1d9
- bugfix sha1() calculations at extends resource and some general improvments on sha1() handling
2010-01-05 21:10:25 +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
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
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
c5f8ceb5e9
- fix short append/prepend attributes in {block} tags
2009-12-12 10:50:40 +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
89e53f6372
- allow {function} tags within {block} tags
2009-11-30 19:56:17 +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