Commit Graph

723 Commits

Author SHA1 Message Date
Uwe Tews
230c5787e6 move Smarty exceptions into syslibs folder 2014-11-09 06:42:20 +01:00
Uwe Tews
b82756a705 - bugfix subtemplate called in nocache mode could be called with wrong compile_id when it did change on one of the calling templates 2014-11-08 21:27:53 +01:00
Uwe Tews
ea9c681106 remove no longer needed code 2014-11-08 21:06:53 +01:00
Uwe Tews
f92af96419 fixed $smarty->debugging on merged compiled subtemplates 2014-11-08 21:02:14 +01:00
Uwe Tews
8f8d462b8a add code of template functions called in nocache mode dynamically to cache file 2014-11-08 17:19:53 +01:00
Uwe Tews
963e5dae5e new $smarty->debug options
- new feature $smarty->debug = true; => overwrite existing Debug Console
window (old behaviour)
$smarty->debug = 2; => individual Debug Console window by template name
2014-11-04 18:59:57 +01:00
Uwe Tews
158b7be58a Debug Console Update
- bugfix Debug Console did not show included subtemplates since 3.1.17
(forum 25301)
- bugfix Modifier debug_print_var did not limit recursion or prevent
recursive object display at Debug Console
(ATTENTION: parameter order has changed to be able to specify maximum
recursion)
- bugfix Debug consol did not include subtemplate information with
$smarty->merge_compiled_includes = true
- improvement The template variables are no longer displayed as objects
on the Debug Console
- improvement $smarty->createData($parent = null, $name = null) new
optional name parameter for display at Debug Console
- addition of some hooks for future extension of Debug Console
2014-11-03 22:27:32 +01:00
Uwe Tews
bc13ebbc9b -bugfix and enhancement on subtemplate {include} and template {function} tags.
* Calling a template which has a nocache section could fail if it was
called from a cached and a not cached subtemplate.
* Calling the same subtemplate cached and not cached with the
$smarty->merge_compiled_includes enabled could cause problems
* Many smaller related changes
2014-11-01 22:42:34 +01:00
Ilya Antipenko
95cc39deb6 Clean merge conflicts 2014-11-01 11:22:03 +02:00
Uwe Tews
199c16e827 resolved merge conflict 2014-11-01 00:34:32 +01:00
Uwe Tews
21204c6613 Merge branch 'trunk' 2014-10-31 05:31:56 +01:00
Uwe Tews
52fb7b1e25 - bugfix access to class constant by object like {$object::CONST} or variable class name {$class::CONST} did not work (forum 25301) me 2014-10-30 00:55:01 +01:00
Uwe Tews
0c9ca2994e - bugfix merge_compiled_includes option failed when caching enables and same subtemplate was included cached and not cached 2014-10-26 09:47:10 +01:00
Uwe Tews
f7955513b2 Revert "- bugfix template function call handler must never be called as nocache code"
This reverts commit db183d1aa4.
2014-10-24 00:09:45 +02:00
Uwe Tews
db183d1aa4 - bugfix template function call handler must never be called as nocache code 2014-10-23 19:05:25 +02:00
Uwe Tews
a22ee9f264 - bugfix E_NOTICE message was created during compilation when ASP tags '<%' or '%>' are in template source text 2014-10-23 18:27:12 +02:00
Uwe Tews
117d28f647 Upload 3.21 2014-10-18 01:17:22 +02:00
Uwe Tews
024b336bea Upload 3.1.20 2014-10-18 01:05:22 +02:00
Uwe Tews
eb48f3bcea Upload 3.1.21 2014-10-18 00:31:50 +02:00
Uwe Tews
0409ab005e Upload version 3.1.20 2014-10-18 00:18:11 +02:00
Uwe.Tews@googlemail.com
279bdbd352 - bugfix on $php_handling security and optimization of smarty_internal_parsetree (Thue Kristensen) 2014-10-16 22:53:22 +00:00
Uwe.Tews@googlemail.com
b10b12165a - bugfix calling a new created cache file with fetch() and Smarty::CACHING_LIFETIME_SAVED multiple times did fail (forum 22350) 2014-10-15 20:22:22 +00:00
Uwe.Tews@googlemail.com
c77cc80a8c - bugfix any tag placed within "<script language=php>" will throw a security exception to close all thinkable holes 2014-10-14 21:45:05 +00:00
Uwe.Tews@googlemail.com
4dde85a089 - bugfix "<script language=php>" with $php_handling PHP_PASSTHRU was executed in {nocache} sections 2014-10-12 15:57:16 +00:00
Uwe.Tews@googlemail.com
f03fc13bc9 - bugfix change of 08.10.2014 could create E_NOTICE meassage when using "<?php" tags 2014-10-12 15:09:52 +00:00
Uwe.Tews@googlemail.com
6af75db3c3 2014-10-12 14:11:34 +00:00
Uwe.Tews@googlemail.com
a7b4f6cdd9 2014-10-07 22:20:21 +00:00
Uwe.Tews@googlemail.com
6af4441f0e - bugfix security mode of "<script language=php>" must be controlled by $php_handling property (Thue Kristensen) 2014-10-07 22:07:15 +00:00
Uwe.Tews@googlemail.com
2a311c5473 - bugfix existing child {block} tag must override parent {block} tag append / prepend setting (topic 25259) 2014-10-01 21:03:40 +00:00
Uwe.Tews@googlemail.com
bbf0e42847 Fix typo's in Smarty_Security class comment and documentation 2014-10-01 17:15:24 +00:00
Uwe.Tews@googlemail.com
68b83f591d - bugfix template resource of inheritance blocks could get invalid if the default resource type is not 'file'(Issue 202) 2014-09-30 23:20:56 +00:00
monte.ohrt
fcece85062 fix issue where cache dir does not exist
-This line, and those below, will be ignored--

M    distribution/libs/sysplugins/smarty_internal_cacheresource_file.php
2014-07-24 15:08:32 +00:00
Uwe.Tews@googlemail.com
071f9af42f anchor BOM regex to front of file 2014-07-16 21:40:57 +00:00
Uwe.Tews@googlemail.com
77292d394a - enhancement remove BOM automatically from template source (topic 25161) 2014-07-16 18:21:25 +00: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
a75e36b357 - bugfix template variables could not be passed as paramter in {include} when the include was in a {nocache} section (topic 25131) 2014-06-21 08:53:38 +00:00
Uwe.Tews@googlemail.com
ee69f963c6 - bugfix large template text of some charsets could cause parsing errors (topic 24630) 2014-06-17 20:24:20 +00:00
Uwe.Tews@googlemail.com
ee4a77b797 upload reformatted versions 2014-06-08 16:00:56 +00:00
Uwe.Tews@googlemail.com
e5dd155809 - bugfix {block} tags within {literal} .. {/literal} got not displayed correctly (topic 25024) 2014-06-08 15:52:08 +00:00
Uwe.Tews@googlemail.com
642c071437 - bugfix registered objects did not work after spelling fixes of 006.06.2014 2014-06-08 15:43:02 +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
c7071d9d2c - bugfix clearCompiledTemplate() did not delete files on WINDOWS when a compile_id was specified 2014-04-19 13:53:20 +00:00
Uwe.Tews@googlemail.com
8658b04c86 bugfix calling createTemplate(template, data) with empty data array caused notice of array to string conversion (Issue 189) 2014-04-19 11:42:11 +00:00
Uwe.Tews@googlemail.com
668bc16717 - bugfix template inheritance fail when using custom resource after patch of 8.3.2014 (Issue 187) 2014-04-06 18:50:39 +00:00
Uwe.Tews@googlemail.com
58982caf27 - bugfix Smart_Resource_Custom should not lowercase the resource name (Issue 183) 2014-03-26 20:33:03 +00:00
Uwe.Tews@googlemail.com
474e863af1 - bugfix using a {foreach} property like @iteration could fail when used in inheritance parent templates (Issue 182) 2014-03-24 18:52:29 +00:00
Uwe.Tews@googlemail.com
478db521c9 - bugfix $smarty->auto_literal and mbsting.func_overload 2, 6 or 7 did fail (forum topic 24899) 2014-03-20 22:07:26 +00:00
Uwe.Tews@googlemail.com
7dec7d9963 - revert change of 17.03.2014 2014-03-18 18:22:33 +00:00
Uwe.Tews@googlemail.com
d82d54bffd fix line endings 2014-03-17 21:57:15 +00:00