diff options
| author | lsces <lester@lsces.co.uk> | 2026-05-08 14:06:44 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2026-05-08 14:06:44 +0100 |
| commit | 1b4c6ca4c9e9ea2ce75d52edcca5f7a4f7bc89c3 (patch) | |
| tree | 6092c410f8e4622d8362075db68526fc93fd1b9a | |
| parent | 0a8224eb87b0d00e579bf088a6adbf21363090d2 (diff) | |
| download | themes-1b4c6ca4c9e9ea2ce75d52edcca5f7a4f7bc89c3.tar.gz themes-1b4c6ca4c9e9ea2ce75d52edcca5f7a4f7bc89c3.tar.bz2 themes-1b4c6ca4c9e9ea2ce75d52edcca5f7a4f7bc89c3.zip | |
Add html_entity_decode to the smarty modifiersV5-php84
| -rwxr-xr-x | includes/classes/BitweaverExtension.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/classes/BitweaverExtension.php b/includes/classes/BitweaverExtension.php index b373a72..af3c2c3 100755 --- a/includes/classes/BitweaverExtension.php +++ b/includes/classes/BitweaverExtension.php @@ -111,6 +111,7 @@ class BitweaverExtension extends Base { case 'is_file': return [$this, 'smarty_modifier_is_file']; case 'is_readable': return [$this, 'smarty_modifier_is_readable']; case 'ucfirst': return [$this, 'smarty_modifier_ucfirst']; + case 'html_entity_decode': return [$this, 'smarty_modifier_html_entity_decode']; } } else { if ( !$this->callbacks[$modifierName]['loaded'] ) { @@ -312,4 +313,8 @@ class BitweaverExtension extends Base { public function smarty_modifier_ucfirst ( string $file ) { return ucfirst( $file ); } + + public function smarty_modifier_html_entity_decode ( string $file ) { + return html_entity_decode( $file ); + } } |
