Simon Wisselink
7677db7bc9
Implement fix and tests
2023-03-24 12:21:08 +01:00
Simon Wisselink
3b0fd82849
Merge branch 'escape' of https://github.com/m-haritonov/smarty into m-haritonov-escape
2021-08-19 15:26:27 +02:00
David Goodwin
039043e5a2
Update modifier.escape.php ( #649 )
...
trigger a notice if an incorrect modifier was used (E.g.|escape:quotes vs |escape:quote).
2021-03-21 21:21:55 +01:00
Mihail Haritonov
9cde36e3bc
plugins: escape: javascript escaping secure fix
2021-02-28 16:44:56 +03: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
Uwe Tews
860ebb618e
- bugfix plugins may not be loaded if {function} or {block} tags are executed in nocache mode
2018-03-28 07:35:52 +02:00
Uwe Tews
654659aadf
remove html tags from PHPDoc blocks
2017-11-11 07:11:33 +01:00
Uwe Tews
dd9c076dfa
- correction of PHPDoc blocks
...
- minor code cleanup
2017-10-26 10:25:41 +02: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
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
b04486a091
- reformat all code for unique style
2016-02-09 01:27:15 +01:00
monte.ohrt
4b3e1eb89d
fix url in comment
2014-07-01 19:33:25 +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
00ccae8857
- update for PHP 5.4 compatibility
...
- reformat source to PSR-2 standard
2013-07-14 22:15:45 +00:00
rodneyrehm
b921a7657d
fixing typo in comments
2012-08-14 13:18:24 +00:00
rodneyrehm
fc8e4767ca
bugfix escape modifier support for PHP < 5.2.3 (Forum Topic 21176)
2012-06-24 18:15: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
d0b232e264
fix mb_str_replace to work with utf8
2011-01-03 23:19:22 +00:00
monte.ohrt
21d507a5cb
fix formatting
2010-08-17 15:39:51 +00:00
Uwe.Tews
c83ef6792c
- create exception on recursive {extends} calls
...
- fixed reported line number at "unexpected closing tag " exception
- bugfix on escape:'mail' modifier
- drop exception if 'item' variable is equal 'from' variable in {foreach} tag
2010-07-06 20:00:41 +00:00
monte.ohrt
7300133dc6
move replacement func
2010-03-01 14:56:24 +00:00
monte.ohrt
0d3137b511
fix mb check
2010-03-01 14:52:01 +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
ba61f12384
- check if mb string functions available otherwise fallback to normal string functions
2009-04-10 15:52:59 +00:00
monte.ohrt
dcaa96a9f8
rearrange things into distribution and development directories
2009-03-22 16:09:05 +00:00