Simon Wisselink
0d2c38b482
fix PHP 8.1 deprecation notices in demo/plugins/cacheresource.pdo.php
...
Fixes #706
2022-02-06 22:03:24 +01:00
Mathias
6d8d3b67d8
Changed read and write methods for compatibility with class memcached
...
The methods of the memcached class have different parameters than the memcache class.
2019-05-24 12:08:44 +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
Sławomir Kaleta
d191935127
Fixed #476 , Wrong demo directory location
2018-08-19 09:47:58 +02:00
uwetews
2fe3a30e75
- 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:41:43 +02:00
Sławomir Kaleta
2404095783
Update PSR-2
2018-06-12 09:58:15 +02:00
klemens
51a0e764e8
spelling fixes
2017-04-08 12:10:39 +02:00
uwetews
b04486a091
- reformat all code for unique style
2016-02-09 01:27:15 +01:00
uwetews
633a6285b0
Test if class Memcached exists
2015-12-31 03:44:42 +01:00
uwetews
297f47a15a
- new feature Compiler does now observe the template_dir setting and will create separate compiled files if required
2015-12-24 02:29:21 +01:00
uwetews
efaa61cfb6
- optimization improve speed of filetime checks on extends and extendsall resource
2015-12-21 02:18:27 +01:00
uwetews
3548de5fa1
- bugfix the source uid of the extendsall resource must contain $template_dir settings https://github.com/smarty-php/smarty/issues/123
2015-12-20 17:51:16 +01:00
Uwe Tews
b3fd262541
- bugfix force file: resource in demo resource.extendsall.php
2015-07-10 05:18:10 +02:00
Uwe Tews
5b401789b5
- optimization resource extendsall
2015-07-06 06:57:56 +02:00
Uwe Tews
b1fdc085e7
- optimization get rid of __get and __set in source object
2015-07-06 03:25:03 +02:00
Uwe Tews
21204c6613
Merge branch 'trunk'
2014-10-31 05:31:56 +01:00
Uwe Tews
53c5e3fc4a
Added licence file and demo folder
2014-10-18 17:42:52 +02: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
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
b0b2c0e86d
17.06.2013
...
- fixed spelling in sources and documentation (from smarty-developers forum Veres Lajos)
2013-06-17 12:34:10 +00:00
rodneyrehm
352cb05cf5
- bugfix Smarty_CacheResource_mysql example was missing strtotime() calls
2011-10-10 19:31:34 +00:00
rodneyrehm
a3dc61542d
apc.enable_cli must be activated for the APC test to execute in unit tests (which are run from CLI) duh!
2011-09-20 17:33:15 +00:00
rodneyrehm
c877da74de
- bugfix regression in Smarty_CacheReource_KeyValueStore introduced by r4261
...
- added APC test
- added read/write test to APC demo ('cause it ain't working on my machine!?)
2011-09-19 20:17:22 +00:00
monte.ohrt
8842e79107
commit 3.1 into the trunk
2011-09-16 14:19:56 +00:00
monte.ohrt
be268fe3b0
remove popup_init from demo template
2011-02-13 13:37:27 +00:00
monte.ohrt
3386b94e15
change linefeed style to native on all files
2009-11-06 14:35:00 +00:00
Uwe.Tews
fb29f74f3d
added missing file
2009-10-15 13:51:41 +00:00
Uwe.Tews
898819dd2b
- reactivated PHP resource for simple PHP templates. Must set allow_php_templates = true to enable
...
- {PHP} tag can be enabled by allow_php_tag = true
2009-09-30 22:03:41 +00:00
Uwe.Tews
0e68cdd9d2
- replace internal "eval()" calls by "include" during rendering process
...
- speed improvment for templates which have included subtemplates
the compiled code of included templates is merged into the compiled code of the parent template
- added logical operator "xor" for {if} tag
- changed parameter ordering for Smarty2 BC
fetch($template, $cache_id = null, $compile_id = null, $parent = null)
display($template, $cache_id = null, $compile_id = null, $parent = null)
createTemplate($template, $cache_id = null, $compile_id = null, $parent = null)
- property resource_char_set is now replaced by constant SMARTY_RESOURCE_CHAR_SET
- fixed handling of classes in registered blocks
- speed improvement of lexer on text sections
2009-09-19 13:22:32 +00:00
Uwe.Tews
5563fc9fd5
- dropped nl2br as plugin
...
- added '<>' as comparission operator in {if} tags
- cached caching_lifetime property to cache_liftime for backward compatibility with Smarty2.
{include} optional attribute is also now cache_lifetime
- fixed trigger_error methode (moved into Smarty class)
- version is now Beta!!!
2009-09-01 21:11:42 +00:00
Uwe.Tews
bfefb8e017
- implemented caching of registered Resources
...
- new property 'auto_literal'. if true(default) '{ ' and ' }' interpreted as literal, not as Smarty delimiter
2009-08-29 16:29:52 +00:00
Uwe.Tews
a13ae6628c
- Fix on line breaks inside {if} tags
2009-08-28 18:32:31 +00:00
Uwe.Tews
d88ab67260
- delete obsolete files
2009-03-22 17:03:59 +00:00
monte.ohrt
73f0eae241
fix path
2009-03-22 16:13:14 +00:00
monte.ohrt
dcaa96a9f8
rearrange things into distribution and development directories
2009-03-22 16:09:05 +00:00