Commit Graph

104 Commits

Author SHA1 Message Date
Uwe.Tews@googlemail.com
a0a24e1975 - enhancement additional debug output at $smarty->_parserdebug = true; 2013-12-15 15:25:50 +00:00
Uwe.Tews@googlemail.com
6abc9ea0d3 - bugfix compiler could fail if PHP mbstring.func_overload is enabled (Issue 164) 2013-11-07 20:00:56 +00:00
Uwe.Tews@googlemail.com
96c2a9c71a - bugfix delimiter followed by linebreak did not work as auto literak after update form 24.08.2013 (forum topic 24518} 2013-08-27 19:42: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
518ffca6f5 - bugfix internal $tmpx variables must be unique over all inheritance templates (Issue 149) 2013-08-12 21:09:29 +00:00
Uwe.Tews@googlemail.com
584886cb1c - update code generated by PSR-2 standards fixer which introduced PHP 5.4 incompatibilities of 14.7.2013 2013-07-15 18:18:28 +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
f99e6a83ce - bugfix increase of internal maximum parser stacksize to allow more complex tag code {forum topic 24426} 2013-07-14 21:12:08 +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
uwe.tews@googlemail.com
50b3a4f070 28.07.2012
- bugfix array access of config variables did not work (Forum Topic 22527)
2012-07-28 08:10:04 +00:00
uwe.tews@googlemail.com
7be2c1fded - bugfix the patch for Topic 21856 did break tabs between tag attributes (Forum Topic 22124) 2012-06-11 18:14:41 +00:00
uwe.tews@googlemail.com
766d3f04a2 - bugfix the patch for Topic 21856 did break multiline tags (Forum Topic 22124) 2012-06-09 14:27:25 +00:00
uwe.tews@googlemail.com
35a68ed535 - bugfix attribute parameter names of plugins may now contain also "-" and ":" (Forum Topic 21856) 2012-05-24 16:01:19 +00:00
uwe.tews@googlemail.com
4c86e72faa - Smarty did eat the linebreak after the <?xml...?> closing tag (Issue 93) 2012-04-12 15:43:06 +00:00
uwe.tews@googlemail.com
e2b14e7c19 - correction of yesterdays bugfix (Forum Topic 21175 and 21182) 2012-03-13 18:10:00 +00:00
uwe.tews@googlemail.com
a7f7267b04 - bugfix a double quoted string of "$foo" did not compile into PHP "$foo" (Forum Topic 21175) 2012-03-12 19:25:30 +00:00
uwe.tews@googlemail.com
1e2fb8fbbe - fixed typo in template parser 2012-01-20 14:52:50 +00:00
uwe.tews@googlemail.com
6c17076d19 - improvement of compiling speed by new handling of plain text blocks in the lexer/parser (issue 68) 2011-12-17 14:23:31 +00:00
uwe.tews@googlemail.com
904731fd1f - bugfix switch lexer internals depending on mbstring.func_overload 2011-10-06 14:36:30 +00:00
uwe.tews@googlemail.com
0348e71109 - bugfix variable property did not work on objects variable in template 2011-09-27 17:52:21 +00:00
monte.ohrt
8842e79107 commit 3.1 into the trunk 2011-09-16 14:19:56 +00:00
uwe.tews@googlemail.com
7c90b107b2 - bugfix <?xml..?> in templates did break "cache modified check" 2011-05-29 10:37:57 +00:00
uwe.tews@googlemail.com
184557ed46 - bugfix condition starting with "-" did fail at {if} and {while} tags 2011-05-13 14:08:55 +00:00
uwe.tews@googlemail.com
91c2c9ae1d -bugfix a variable filter should run before modifers on an output tag (see change of 23/07/2010) 2011-03-09 13:26:34 +00:00
uwe.tews@googlemail.com
5c8541eae3 - removed assert() from config and template parser 2011-02-01 12:51:01 +00:00
uwe.tews@googlemail.com
9ef3c770ef -bugfix removed memory leak while processing compileAllTemplates 2011-01-14 18:39:16 +00:00
uwe.tews@googlemail.com
6ddcf3819a - bugfix empty($foo) in {if} did drop a notice when $foo was not assigned 2010-12-05 22:15:23 +00:00
uwe.tews@googlemail.com
2e1c83f44d -bugfix on parser at !$foo|modifier
-change parser logic when assignments used as condition in {if] and {while} to allow assign to array element
2010-11-24 19:38:45 +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
eddb301947 - change on handling of unassigned template variable -- default will drop E_NOTICE
- bugfix on Smarty2 wrapper load_filter() did not work
2010-11-18 18:58:53 +00:00
uwe.tews@googlemail.com
db8867cd88 - bugfix whitespace in front of "<?php" in smarty_internal_compile_private_block_plugin.php
- bugfix {$smarty.now} did compile incorrectly
- bugfix on reset(),end(),next(),prev(),current() within tempaltes
2010-11-16 21:06:46 +00:00
uwe.tews@googlemail.com
21ed644f82 - bugfix when using {$smarty.session} as object
- bugfix scoping problem on $smarty object passed to filters
2010-11-15 19:17:18 +00:00
uwe.tews@googlemail.com
7135787127 - bugfix isset() did not allow multiple parameter
- improvment of some error messages
- bugfix html_image did use removed property $request_use_auto_globals
2010-11-14 15:08:44 +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
7af4fc7521 - bugfix do not allow access of dynamic and private object members of assigned objects when security is enabled. 2010-11-04 15:53:28 +00:00
uwe.tews@googlemail.com
c7e7f5b3b2 - bugfix related to E_NOTICE change. {if empty($foo)} did fail when $foo contained a string 2010-11-01 17:23:28 +00:00
uwe.tews@googlemail.com
5176f39583 - bugfix for E_NOTICE change, array elements did not work as modifier parameter 2010-10-25 18:53:43 +00:00
uwe.tews@googlemail.com
ce7a278f44 - bugfix for the E_NOTICE change 2010-10-20 18:28:04 +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
44c6732970 15/09/2010
- bugfix resolving conflict between '<%'/'%>' as custom Smarty delimiter and ASP tags
- use ucfirst for resource name on internal resource class names
2010-09-15 15:17:28 +00:00
Uwe.Tews
a2f50cebd4 - bugfix {counter} and {cycle} plugin assigned result to smarty variable not in local(template) scope
- bugfix templates containing just {strip} {/strip} tags did produce an error
2010-09-07 16:24:34 +00:00
monte.ohrt
21d507a5cb fix formatting 2010-08-17 15:39:51 +00:00
Uwe.Tews
6ae00435af - changed execution order. A variable filter does now run before modifiers on output of variables
- bugfix use always { and } as delimiter for debug.tpl
2010-07-23 12:53:04 +00:00
Uwe.Tews
c1e1c03892 - make the date_format modifier work also on objects of the DateTime class
- implementation of parsetrees in the parser to close security holes and remove unwanted empty line in HTML output
2010-07-14 22:47:37 +00:00
Uwe.Tews
db38a0aaec - bugfix on assigning multidimensional arrays within templates
- corrected bugfix for truncate modifier
2010-07-08 18:30:03 +00:00
Uwe.Tews
ccc0e1b6c8 - added $smarty->register->templateClass() and $smarty->unregister->templateClass() methods for supporting static classes with namespace 2010-06-24 20:30:19 +00:00
Uwe.Tews
7626cbf093 - removed use of PHP shortags SMARTY_PHP_PASSTHRU mode 2010-06-21 18:01:36 +00:00
Uwe.Tews
5a974e69cf 2010-06-20 21:16:18 +00:00
Uwe.Tews
1380199f43 - closed security hole when php.ini asp_tags = on 2010-06-20 20:37:16 +00:00
Uwe.Tews
7075a1186d - bugfix Smarty3 did not handle hexadecimals like 0x0F as numerical value
- bugifx Smarty3 did not accept numerical constants like .1 or 2. (without a leading or trailing digit)
2010-06-13 12:52:36 +00:00