diff --git a/include/template.class.php b/include/template.class.php index b08a8c15e..b3172e355 100644 --- a/include/template.class.php +++ b/include/template.class.php @@ -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') );