mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01:00
fixes #2155 register more PHP functions for templates
This commit is contained in:
1 parent
e8090d4149
commit
ac98cfdcc2
1 file changed
+3
@@ -118,6 +118,9 @@ class Template
|
||||
$this->smarty->registerPlugin('modifier', 'ucfirst', 'ucfirst');
|
||||
$this->smarty->registerPlugin('modifier', 'strstr', 'strstr');
|
||||
$this->smarty->registerPlugin('modifier', 'stristr', 'stristr');
|
||||
$this->smarty->registerPlugin('modifier', 'trim', 'trim');
|
||||
$this->smarty->registerPlugin('modifier', 'md5', 'md5');
|
||||
$this->smarty->registerPlugin('modifier', 'strtolower', 'strtolower');
|
||||
$this->smarty->registerPlugin('modifier', 'str_ireplace', 'str_ireplace');
|
||||
$this->smarty->registerPlugin('modifier', 'explode', array('Template', 'mod_explode') );
|
||||
$this->smarty->registerPlugin('modifier', 'ternary', array('Template', 'mod_ternary') );
|
||||
|
||||
Reference in new issue
Block a user