uwetews
b05bc1b617
- bugfix in date-format modifier; NULL at date string or default_date did not produce correct output
...
https://github.com/smarty-php/smarty/pull/458
2018-10-11 09:22:23 +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
2404095783
Update PSR-2
2018-06-12 09:58:15 +02:00
Uwe Tews
654659aadf
remove html tags from PHPDoc blocks
2017-11-11 07:11:33 +01:00
Uwe Tews
3fc8abeb98
code cleanup and optimizations 3.1.32-dev-34
2017-11-06 01:02:56 +01:00
uwetews
e51b0ac4af
- performance store flag for already required shared plugin functions in static variable or
...
Smarty's $_cache to improve performance when plugins are often called
51e0d5cd40 (commitcomment-22280086)
2017-05-27 11:04:00 +02:00
uwetews
51e0d5cd40
- performance require_once should be called only once for shared plugins https://github.com/smarty-php/smarty/issues/280
2016-09-06 04:26:46 +02:00
uwetews
e1d27d68d7
- performance require_once should be called only once for shared plugins https://github.com/smarty-php/smarty/issues/280
2016-09-02 01:08:50 +02:00
uwetews
2003020df9
- bugfix remove constant DS as shortcut for DIRECTORY_SEPARATOR as the user may have defined it to something else https://github.com/smarty-php/smarty/issues/277
2016-08-23 08:03:39 +02:00
Uwe Tews
740a583c7c
Use require_once
2015-01-07 16:46:03 +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
00ccae8857
- update for PHP 5.4 compatibility
...
- reformat source to PSR-2 standard
2013-07-14 22:15:45 +00:00
rodneyrehm
dd6d9b159e
bugfix treat "0000-00-00" as 0 in modifier.date_format (Issue 103)
2012-06-07 13:01:58 +00:00
rodneyrehm
d645ad2ea1
- changed internals to use Smarty::$_MBSTRING ($_CHARSET, $_DATE_FORMAT) for better unit testing
2011-12-18 18:20:09 +00:00
monte.ohrt
8842e79107
commit 3.1 into the trunk
2011-09-16 14:19:56 +00:00
monte.ohrt
21d507a5cb
fix formatting
2010-08-17 15:39:51 +00:00
monte.ohrt
cd5cc650d8
add automagic formatting for date() and strftime()
2009-12-05 05:30:20 +00:00
Uwe.Tews
a63bc0f83b
- sanitize compile_id and cache_id (replace illegal chars with _)
...
- use _dir_perms and _file_perms properties at file creation
- new constant SMARTY_RESOURCE_DATE_FORMAT (default '%b %e, %Y') which is used as default format in modifier date_format
2009-11-17 17:46:03 +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
monte.ohrt
770ef89611
remove built-in exception handling, add DS as shorthand to DIRECTORY_SEPARATOR
2009-08-29 22:57:29 +00:00
monte.ohrt
dcaa96a9f8
rearrange things into distribution and development directories
2009-03-22 16:09:05 +00:00