Commit Graph

659 Commits

Author SHA1 Message Date
monte.ohrt
c188b50ecc change ereg to preg 2010-02-16 15:20:47 +00:00
Uwe.Tews
239462fde4 - bugfix $smarty.const... inside doublequoted strings and backticks was compiled into wrong PHP code 2010-02-14 20:26:57 +00:00
Uwe.Tews
9afda44ebf - added missing _plugins property in smarty.class.php 2010-02-14 16:42:39 +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
cb0ba1908a - allow Smarty tags inside <? ... ?> tags in SMARTY_PHP_QUOTE and SMARTY_PHP_PASSTHRU mode
- bugfix at new "for" syntax like {for $x=1 to 10 step 2}
2010-02-10 20:51:36 +00:00
Uwe.Tews
9f5d885835 - avoid possible notice on $smarty->cache->clear(...), $smarty->clear_cache(....) 2010-02-10 18:00:41 +00:00
Uwe.Tews
43ae585e5e - added $smarty->_tag_stack for tracing block tag hierarchy 2010-02-09 21:20:17 +00:00
Uwe.Tews
24141e81dd - bugfix use template fullpath at §smarty->cache->clear(...), $smarty->clear_cache(....) 2010-02-08 21:04:43 +00:00
monte.ohrt
fbebb5bb02 update wrapper 2010-02-08 17:41:48 +00:00
Uwe.Tews
b48ef33cd5 - bugfix of cache filename on extended templates when force_compile=true 2010-02-08 17:39:48 +00:00
monte.ohrt
0c2b18c727 move getTemplateVars() into data object 2010-02-08 17:31:15 +00:00
Uwe.Tews
7bfa54f067 - bugfix on changes of 05/02/2010 2010-02-07 22:21:37 +00:00
Uwe.Tews
d19fbb19d9 - bugfix on changes of 05/02/2010 2010-02-07 20:45:44 +00:00
Uwe.Tews
063cb19f18 - preserve line endings type form template source 2010-02-07 12:49:57 +00:00
Uwe.Tews
ae49fe099b - minor fixes on API update 2010-02-07 11:09:28 +00:00
monte.ohrt
8f8a11f733 add new files 2010-02-07 03:03:48 +00:00
monte.ohrt
9af377d7d3 major API update 2010-02-06 22:11:10 +00:00
Uwe.Tews
3ad446bb21 - bugfix on modifier and block plugins with same name 2010-02-05 17:03:22 +00:00
Uwe.Tews
fde7a592f4 - retaining newlines at registered functions and function plugins 2010-02-02 20:09:57 +00:00
Uwe.Tews
3c88d12e00 - added test that $_SERVER['SCRIPT_NAME'] does exist in Smarty.class.php 2010-01-25 19:02:34 +00:00
Uwe.Tews
8defafbb14 - bugfix cache resource was not loaded when caching was globally off but enabled at a template object 2010-01-25 18:10:35 +00:00
Uwe.Tews
e89c15d65d - new method $smarty->createData([$parent]) for creating a data object (required for bugfixes below)
- bugfix config_load() method now works also on a data object
- bugfix get_config_vars() method now works also on a data and template objects
- bugfix clear_config() method now works also on a data and template objects
2010-01-22 16:39:30 +00:00
Uwe.Tews
cfea085629 - bugfix on plugins if same plugin was called from a nocache section first and later from a cached section 2010-01-19 17:01:10 +00:00
Uwe.Tews
2c570f25b9 - bugfix on $smarty.const... in double quoted strings 2010-01-17 15:52:37 +00:00
Uwe.Tews
f11e4e40bc - internal change of config file lexer/parser on handling of section names
- bugfix on registered objects (format parameter of register_object was not handled correctly)
2010-01-16 12:03:53 +00:00
Uwe.Tews
da2f22438c - allow special characters in config file section names for Smarty2 BC 2010-01-14 22:05:32 +00:00
Uwe.Tews
383e4bb4ae - revert handling of newline on no output tags like {if...} 2010-01-14 20:57:27 +00:00
Uwe.Tews
13444e9781 - bugfix on special Smarty variable $smarty.cookies 2010-01-14 19:12:14 +00:00
Uwe.Tews
db2c655322 - bugfix allow absolute filepath for config files 2010-01-14 16:43:43 +00:00
Uwe.Tews
ecfc492298 - bugfix on backslash within single quoted strings 2010-01-14 15:57:09 +00:00
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