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

This reverts commit d2941d71c2.

Using end/key in Smarty template (SmartPocket navigation_bar.tpl) actually does not
work. SmartPocket now (14.4.0.2) uses a dedicated template variable to know the total
number of pages.
This commit is contained in:
plegall 2024-05-31 11:10:00 +02:00
parent b0485f6365
commit 158e99573b

View file

@ -121,8 +121,6 @@ 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') );