Expose serendipity_rewriteURL to smarty API
This commit is contained in:
parent
e2ab5e9858
commit
8323d9272d
@ -25,6 +25,9 @@ Version 2.1 ()
|
||||
Version 2.0.1 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Make "rewriteURL" smarty modifier available to do a
|
||||
{$CONST.PATH_ARCHIVE|rewriteURL} within a smarty template file.
|
||||
|
||||
* Add a generic odd/even for backend dashboard widgets to align
|
||||
properly. Future dashboard widgets need to get the new extra
|
||||
class dashboard widget on the section element they create.
|
||||
|
@ -962,6 +962,7 @@ function serendipity_smarty_init($vars = array()) {
|
||||
$serendipity['smarty']->registerPlugin('modifier', 'checkPermission', 'serendipity_checkPermission');
|
||||
$serendipity['smarty']->registerPlugin('modifier', 'serendipity_refhookPlugin', 'serendipity_smarty_refhookPlugin');
|
||||
$serendipity['smarty']->registerPlugin('modifier', 'serendipity_html5time', 'serendipity_smarty_html5time');
|
||||
$serendipity['smarty']->registerPlugin('modifier', 'rewriteURL', 'serendipity_rewriteURL');
|
||||
|
||||
$serendipity['smarty']->registerPlugin('function', 'serendipity_printSidebar', 'serendipity_smarty_printSidebar');
|
||||
$serendipity['smarty']->registerPlugin('function', 'serendipity_hookPlugin', 'serendipity_smarty_hookPlugin');
|
||||
|
Loading…
x
Reference in New Issue
Block a user