Commit Graph

29 Commits

Author SHA1 Message Date
Alec Smecher
0fb29024e7 #155 Adapt Smarty upper/lower functions to be codesafe (e.g. for Turkish locale) (#586)
* Implemented locale safe strotoupper, strolower and ucfirst functions for translating user string to filenames etc.

Fixes #155

Co-Authored-By: Alexkurd <7689609+Alexkurd@users.noreply.github.com>
2022-09-22 23:32:55 +02:00
uwetews
4f7cd8f1b3 - reformating for PSR-2 coding standards https://github.com/smarty-php/smarty/pull/483 2018-08-31 16:45:09 +02:00
uwetews
799b5cb342 - fix PSR-2 coding standards and PHPDoc blocks https://github.com/smarty-php/smarty/pull/452
https://github.com/smarty-php/smarty/pull/475
    https://github.com/smarty-php/smarty/pull/473
  - bugfix PHP5.2 compatibility https://github.com/smarty-php/smarty/pull/472
2018-08-19 02:35:46 +02:00
Sławomir Kaleta
2404095783 Update PSR-2 2018-06-12 09:58:15 +02:00
uwetews
6ef0d0eaa0 - optimization and cleanup of resource code 2016-05-15 11:13:31 +02:00
uwetews
b04486a091 - reformat all code for unique style 2016-02-09 01:27:15 +01:00
uwetews
7e7591f6c0 new _clearTemplateCache() method 2015-12-27 03:28:26 +01:00
uwetews
db2cace210 - optimization move subtemplate processing back into template object 2015-12-23 03:08:23 +01:00
uwetews
017120c1ef - bugfix a call to clearAllCache() and other should clear all internal template object caches (forum topic 25828) 2015-12-15 03:37:13 +01:00
uwetews
56a884a428 - optimize autoloader 2015-09-14 23:02:59 +02:00
uwetews
189b2af115 - optimize invalidation of internal caches 2015-08-23 05:27:16 +02:00
uwetews
87985d1243 - move caching to Smarty::_cache 2015-08-23 01:39:18 +02:00
uwetews
6cbcdf4d7b - load seldom used Smarty API methods dynamically to reduce memory footprint 2015-08-17 21:52:32 +02:00
uwetews
5c9c57df7d replace property array by object properties 2015-08-09 21:14:16 +02:00
Uwe Tews
f2585a035c - rework clear cache methods 2015-08-03 05:40:34 +02:00
Uwe Tews
f9d9ca0f67 - improvement impement workaround for HHVM PHP incompatibillity https://github.com/facebook/hhvm/issues/4797 2015-07-26 18:04:40 +02:00
Uwe Tews
af4a923da5 - uodate and fixes at cache locking 2015-05-08 07:27:45 +02:00
Uwe Tews
d7b0b57420 - optimization of resource class loading 2015-05-08 06:02:59 +02:00
Uwe Tews
48f66c81c7 rework class Smarty_Template_Cached
- move class Smarty_Template_Cached in its own file
- implement all code for chached template handling in class
2015-01-01 23:53:59 +01:00
Uwe Tews
adc6091c4d update of cache resources for template function calls in nocache mode 2014-11-09 10:20:06 +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
Uwe.Tews@googlemail.com
425091a19f - fixed spelling, PHPDoc , minor errors, code cleanup 2014-06-06 02:40:04 +00:00
Uwe.Tews@googlemail.com
1dfbe19ebf - internals content cache should be clear when updating cache file 2014-01-11 12:21:12 +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
b0b2c0e86d 17.06.2013
- fixed spelling in sources and documentation (from smarty-developers forum Veres Lajos)
2013-06-17 12:34:10 +00:00
uwe.tews@googlemail.com
678b28769d - bugfix is_cache() for individual cached subtemplates with $smarty->caching = CACHING_OFF did produce
an exception (Forum Topic 20531)
2011-11-30 16:31:25 +00:00
rodneyrehm
131553272a - bugfix Smarty_Resource and Smarty_CacheResource runtime caching (Forum Post 75264)
www.smarty.net/forums/viewtopic.php?p=75264#75264
2011-10-15 10:46:03 +00:00
rodneyrehm
8a82d84861 - add locking to custom resources (Forum Post 75252)
this is a potentially dirty commit
2011-10-14 16:17:27 +00:00
monte.ohrt
8842e79107 commit 3.1 into the trunk 2011-09-16 14:19:56 +00:00