Commit Graph

1385 Commits

Author SHA1 Message Date
uwetews
2c60503dfc - bugfix some custom left and right delimiters like '{^' '^}' did not work
https://github.com/smarty-php/smarty/issues/450 https://github.com/smarty-php/smarty/pull/482
2018-08-31 17:32: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
uwetews
7a8607fe17 - PSR-2 code style fixes for config and template file Lexer/Parser generated with
the Smarty Lexer/Parser generator from https://github.com/smarty-php/smarty-lexer
    https://github.com/smarty-php/smarty/pull/483
2018-08-31 02:37:47 +02:00
uwetews
8e09f97a14 - bugfix/enhancement {capture} allow variable as capture block name in Smarty special variable
like $smarty.capture.$foo https://github.com/smarty-php/smarty/issues/478 https://github.com/smarty-php/smarty/pull/481
2018-08-26 00:20:31 +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
cc4d8fa1a0 - bugfix strip-block produces different output in Smarty v3.1.32 https://github.com/smarty-php/smarty/issues/436 2018-05-17 16:04:48 +02:00
Uwe Tews
87ec44e9f8 - bugfix Smarty::compileAllTemplates ignores $extension parameter https://github.com/smarty-php/smarty/issues/437
https://github.com/smarty-php/smarty/pull/438
2018-05-17 13:50:14 +02:00
Uwe Tews
e2aec4d011 Fix annotation https://github.com/smarty-php/smarty/issues/441 2018-05-17 08:12:26 +02:00
Uwe Tews
514d99beaa - improvement do not compute total property in {foreach} if not needed https://github.com/smarty-php/smarty/issues/443 2018-05-17 06:27:35 +02:00
Uwe Tews
115e178884 - bugfix plugins may not be loaded when setMergeCompiledIncludes is true https://github.com/smarty-php/smarty/issues/435 2018-05-17 04:40:58 +02:00
Uwe Tews
c9dbe1d08c - bugfix regarding Security Vulnerability did not solve the problem under Linux 2018-04-26 21:38:08 +02:00
Uwe Tews
2e081a51b1 - bugfix regarding Security Vulnerability did not solve the problem under Linux 2018-04-26 18:06:45 +02:00
Uwe Tews
f9ca3c63d1 - bugfix regarding Security Vulnerability did not solve the problem under Linux 2018-04-26 13:02:51 +02:00
Uwe Tews
8d21f38dc3 - bugfix possible Security Vulnerability in Smarty_Security class. 2018-04-24 10:38:18 +02:00
Uwe Tews
fbbb292ef0 update access to parent object 2018-04-19 16:04:41 +02:00
Uwe Tews
8bea607b78 fix comment lines of inline subtemplates 2018-04-19 15:57:37 +02:00
Uwe Tews
336c07c23f - bugfix plugins may not be loaded if {function} or {block} tags are executed in nocache mode
https://github.com/smarty-php/smarty/issues/371
2018-03-28 07:15:29 +02:00
Uwe Tews
0dbace8321 - new feature {parent} = {$smarty.block.parent} {child} = {$smarty.block.child} 2018-03-26 22:35:31 +02:00
Uwe Tews
c81948d602 - bugfix preg_replace could fail on large content resulting in a blank page https://github.com/smarty-php/smarty/issues/417 2018-03-23 19:34:18 +01:00
Uwe Tews
3a3b8c75a1 - bugfix preg_replace could fail on large content resulting in a blank page https://github.com/smarty-php/smarty/issues/417 2018-03-23 19:14:53 +01:00
Uwe Tews
d646d4678c - bugfix preg_replace could fail on large content resulting in a blank page https://github.com/smarty-php/smarty/issues/417 2018-03-23 19:11:12 +01:00
Uwe Tews
d79af55485 - bugfix short form of {section} attributes did not work https://github.com/smarty-php/smarty/issues/428 2018-03-21 15:19:57 +01:00
Uwe Tews
b7e7def0b1 - bugfix {$smarty.section...} used outside {section}{/section} showed incorrect values if {section}{/section} was called inside
another loop https://github.com/smarty-php/smarty/issues/422
2018-03-21 07:36:11 +01:00
Uwe Tews
60415e6f2a - improvement Smarty::compileAllTemplates() exit with a non-zero status code if max errors is reached https://github.com/smarty-php/smarty/pull/402 2018-03-17 08:31:40 +01:00
Uwe Tews
a5961606f3 - bugfix extends resource did not work with user defined left/right delimiter https://github.com/smarty-php/smarty/issues/419 2018-03-16 18:44:47 +01:00
Uwe Tews
93909aacf8 bugfix {break} and {continue} could fail if {foreach}{/foreach} did contain other looping tags like {for}, {section} and {while} https://github.com/smarty-php/smarty/issues/323 2017-11-22 01:21:09 +01:00
Uwe Tews
40ea5d89da - replacement of " by ' 2017-11-20 12:26:48 +01:00
Uwe Tews
fcf108b33f bugfix variable filter might not have been loaded in cache file for use in nocache sections. 2017-11-20 11:11:46 +01:00
Uwe Tews
96fd914cc1 bugfix rework of newline spacing between tag code and template text.
now again identical with Smarty2 (forum topic 26878)
2017-11-20 04:07:51 +01:00
Uwe Tews
96bcbd2221 fix comment correct last commit 2017-11-11 07:10:35 +01:00
Uwe Tews
efe0e4c40c fix comment 2017-11-11 06:44:33 +01:00
Uwe Tews
5220ca6776 - bugfix {$smarty.section.name.loop} used together with {$smarty.section.name.total} could produce
wrong results (forum topic 27041) 3.1.32-dev-35
2017-11-06 04:58:02 +01:00
Uwe Tews
3fc8abeb98 code cleanup and optimizations 3.1.32-dev-34 2017-11-06 01:02:56 +01:00
Uwe Tews
3799714d53 lexer/parser optimization 2017-11-05 20:04:32 +01:00
Uwe Tews
dd9c076dfa - correction of PHPDoc blocks
- minor code cleanup
2017-10-26 10:25:41 +02:00
Uwe Tews
5d8cd94c1d - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR 2017-10-26 06:30:19 +02:00
Uwe Tews
570bc41b12 - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR 2017-10-26 06:14:22 +02:00
Uwe Tews
4575a31e62 - deprecate functions Smarty::muteExpectedErrors() and Smarty::unmuteExpectedErrors()
as Smarty does no longer use error suppression like @filemtime().
    for backward compatibility code is moved from Smarty class to an external class and still can be
    called.
2017-10-26 06:00:40 +02:00
Uwe Tews
f86d251e5b - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR 2017-10-26 05:27:25 +02:00
Uwe Tews
c404294a1f - bugfix Smarty version was not filled in header comment of compiled and cached files 2017-10-26 05:09:07 +02:00
Uwe Tews
87f260e3a9 fix Smarty version in header comment (reverted from commit 5ec2e1f62b) 2017-10-26 04:37:39 +02:00
Uwe Tews
41621ca35e - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) 2017-10-26 04:37:31 +02:00
Uwe Tews
a675aaf68e - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3) 2017-10-26 04:37:17 +02:00
Uwe Tews
f3950a45a7 - bugfix Smarty version was not filled in header comment of compiled and cached files
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit 1e787d08f1)
2017-10-26 04:37:05 +02:00
Uwe Tews
8e9108544a - bugfix Smarty version was not filled in header comment of compiled and cached files
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit 1e787d08f1) (reverted from commit 42a292d56a)
2017-10-26 04:36:41 +02:00
Uwe Tews
4cbc436599 - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3) (reverted from commit 86f36196e2) 2017-10-26 04:36:17 +02:00
Uwe Tews
eaac933770 - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3) (reverted from commit 86f36196e2) (reverted from commit 36c6a72015) 2017-10-26 04:36:08 +02:00
Uwe Tews
36c6a72015 - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3) (reverted from commit 86f36196e2) 2017-10-26 04:35:56 +02:00
Uwe Tews
86f36196e2 - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3) 2017-10-26 04:19:23 +02:00