mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
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:
@@ -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') );
|
||||
|
||||
Reference in New Issue
Block a user