issue #2155 more PHP functions {end, key} for SmartPocket

This commit is contained in:
plegall
2024-04-29 09:48:55 +02:00
parent b20886cbe3
commit d2941d71c2

View File

@@ -121,6 +121,8 @@ class Template
$this->smarty->registerPlugin('modifier', 'trim', 'trim');
$this->smarty->registerPlugin('modifier', 'md5', 'md5');
$this->smarty->registerPlugin('modifier', 'strtolower', 'strtolower');
$this->smarty->registerPlugin('modifier', 'end', 'end');
$this->smarty->registerPlugin('modifier', 'key', 'key');
$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') );