rodneyrehm
6979b4efb0
- add concept unique_resource to combat potentially ambiguous template_resource values when custom resource handlers are used (Forum Topic 2012)
...
http://www.smarty.net/forums/viewtopic.php?t=2012
thereby DRYed and optimized the resource handler identification method.
2011-10-13 13:10:06 +00:00
uwe.tews@googlemail.com
0fabe627ad
- add runtime checks for not matching {capture}/{/capture} calls (Forum Topic 20120)
2011-10-11 15:49:19 +00:00
uwe.tews@googlemail.com
12e8593760
- improvement add internal $joined_template_dir property instead computing it on the fly several times
2011-10-03 19:02:44 +00:00
uwe.tews@googlemail.com
bc2d519c38
- bugfix on template functions called nocache calling other template functions
2011-09-28 15:56:01 +00:00
uwe.tews@googlemail.com
d9ba05407a
- bugfix wrong resource could be used on compile check of custom resource
2011-09-27 21:48:33 +00:00
uwe.tews@googlemail.com
5c33be7fc0
- bugfix remove race condition when a custom resource did change timestamp during compilation
2011-09-27 17:15:31 +00:00
uwe.tews@googlemail.com
709e5e1e84
- bugfix repeated calls to same subtemplate did not make use of cached template object
2011-09-26 15:21:50 +00:00
uwe.tews@googlemail.com
a98d83bbf3
- improvment better error message for undefined templates at {include}
2011-09-24 18:20:13 +00:00
uwe.tews@googlemail.com
50a8f805dd
- remove unused properties
...
- optimization use real function instead anonymous function for preg_replace_callback
- bugfix a relative {include} in child template blocks failed
- bugfix direct setting of $template_dir, $config_dir, $plugins_dir in __construct() of an
extended Smarty class created problems
2011-09-23 20:21:16 +00:00
uwe.tews@googlemail.com
c8eb5d078a
- bugfix output filter shall not run on included subtemplates
2011-09-19 21:13:44 +00:00
uwe.tews@googlemail.com
a44d9a6ac9
- bugfix template caching did not care about file.tpl in different template_dir
...
- bugfix {include $file} was broken when merge_compiled_incluges = true
- bugfix {include} was broken when merge_compiled_incluges = true and same indluded template
was used in different main templates in one compilation run
2011-09-18 02:31:58 +00:00
monte.ohrt
8842e79107
commit 3.1 into the trunk
2011-09-16 14:19:56 +00:00
uwe.tews@googlemail.com
c4c0cd254c
- bugfix experimental getTags() method did not work
2011-07-26 18:09:31 +00:00
uwe.tews@googlemail.com
4d07e3b03e
- bugfix do not overwrite 'smarty' template variable when {include ... scope=parent} exits
2011-06-16 17:27:32 +00:00
uwe.tews@googlemail.com
6b0f3a6ede
- bugfix on default {function} parameters when {function} was used in nocache sections
...
- bugfix on compiler object destruction. compiler_object property was by mistake unset.
2011-03-16 23:57:04 +00:00
uwe.tews@googlemail.com
05335415d4
- bugfix "smarty" template variable was not recreated when cached templated had expired
2011-03-03 16:15:31 +00:00
uwe.tews@googlemail.com
e4e5418b46
-fixed typo in exception message of Smarty_Internal_Template
2011-02-16 14:20:23 +00:00
monte.ohrt
f9ce2d8c7e
fix typos, rewording
2011-02-11 22:21:17 +00:00
uwe.tews@googlemail.com
d494d0db22
-bugfix of Iterator object handling in internal _count() method
2011-01-16 16:22:58 +00:00
uwe.tews@googlemail.com
7dfb27d322
-bugfix of ArrayAccess object handling in internal _count() method
2011-01-16 15:28:43 +00:00
uwe.tews@googlemail.com
cfd81bafba
fix memory leak
2011-01-14 21:51:08 +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
f0c95ab79c
- bugfix {$smarty.template} in child template did not return right content
...
- bugfix Smarty3 did not search the PHP include_path for template files
2010-12-13 22:05:27 +00:00
uwe.tews@googlemail.com
e80dd75958
-change run output filter before cache file is written (as in Smarty2)
2010-11-27 15:05:38 +00:00
uwe.tews@googlemail.com
ef85c9f2ad
- bugfix captured content could not be accessed globally
...
- bugfix Smarty2 wrapper functions could not be call from within plugins
2010-11-15 22:54:59 +00:00
uwe.tews@googlemail.com
6ff5c28343
- bugfix overloading problem when $smarty->fetch()/display() have been used in plugins
2010-11-13 18:32:50 +00:00
uwe.tews@googlemail.com
5d278ce5ad
- code cleanup
2010-11-13 17:48:30 +00:00
uwe.tews@googlemail.com
7dc5c0a09d
- bugix overloading problem when $smarty->fetch()/display() have been used in plugins (introduced with 3.0.2)
2010-11-13 15:26:03 +00:00
uwe.tews@googlemail.com
fe63ad36b8
- reverted location of loadPlugin() to Smarty class
...
- fixed comments in plugins
2010-11-13 04:10:52 +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
415d2f43e2
- added {break} and {continue} tags for flow control of {foreach},{section},{for} and {while} loops
...
- change of 'string' resource. It's no longer evaluated and compiled files are now stored
- new 'eval' resource which evaluates a template without saving the compiled file
- change in isCached() method to allow multiple calls for the same template
2010-10-01 13:19:53 +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@googlemail.com
255c271246
- bugfix for change of 08/09/2010 (final {block} tags in subtemplates did not produce correct results)
2010-09-10 11:15:15 +00:00
Uwe.Tews
550a416209
- allow multiple template inheritance branches starting in subtemplates
2010-09-08 17:40:00 +00:00
Uwe.Tews
96e3d9937a
- fixed E_STRICT errors for uninitialized variables
2010-08-23 14:40:10 +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
e8fbee624d
- bugfix on nocache attribute at {assign} and {append}
2010-07-31 13:29:59 +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
8bf398e22c
- bugfix removed decrepated register_resource call in smarty_internal_template.php
2010-05-26 20:35:15 +00:00
Uwe.Tews
6e97a8a393
- bugfix make sure that the cache resource is loaded in all conditions when template methods getCached... are called externally
2010-05-11 16:24:24 +00:00
Uwe.Tews
1eb8a44b0f
- bugfix typo in smarty_internal_templatecompilerbase and smarty_internal_template
2010-04-07 15:19:02 +00:00
Uwe.Tews
b52e9f1ac8
- compile locking by touching old compiled files to avoid concurrent compilations
2010-03-31 16:23:01 +00:00
Uwe.Tews
63d671b935
- bugfix on caching mode SMARTY_CACHING_LIFETIME_SAVED and cache_lifetime = 0
2010-03-23 17:08:46 +00:00
monte.ohrt
cba54ad3d8
remove old API call
2010-03-10 16:21:16 +00:00
Uwe.Tews
5e2bf86e66
- bugfix on uninitialized properties in smarty_internal_template
...
- bugfix on $smarty->disableSecurity()
2010-03-09 21:11:21 +00:00
monte.ohrt
689ee2c73c
fix overload error
2010-03-09 15:14:11 +00:00
monte.ohrt
54a8dcd343
add __get() to templateCreate class
2010-03-08 16:20:19 +00:00
monte.ohrt
05a9c3beab
add setters/getters to created templates
2010-03-08 15:15:41 +00:00