summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2014-06-04 08:35:37 +0100
committerlsces <lester@lsces.co.uk>2014-06-04 08:35:37 +0100
commit4d28b3cef506e8411f9586b8d659352e8d99493d (patch)
tree30e2febdf518e64f6f493ee015969578661aa4a3 /modules
parentfcf635a7a525cf8e5c31426f97ee8858e54bd84f (diff)
downloadfisheye-4d28b3cef506e8411f9586b8d659352e8d99493d.tar.gz
fisheye-4d28b3cef506e8411f9586b8d659352e8d99493d.tar.bz2
fisheye-4d28b3cef506e8411f9586b8d659352e8d99493d.zip
Switch to Smarty3 style variables
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/mod_specials.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/mod_specials.php b/modules/mod_specials.php
index 038f332..1c27440 100755
--- a/modules/mod_specials.php
+++ b/modules/mod_specials.php
@@ -30,11 +30,11 @@ if( $display ) {
$moduleTitle = 'Specials';
$moduleTitle = tra( $moduleTitle );
-
- $gBitSmarty->assign( 'moduleTitle', $moduleTitle );
- $gBitSmarty->assign( 'modImages', $images );
- $gBitSmarty->assign( 'module_params', $module_params );
- $gBitSmarty->assign( 'maxlen', isset( $module_params["maxlen"] ) ? $module_params["maxlen"] : 0 );
- $gBitSmarty->assign( 'maxlendesc', isset( $module_params["maxlendesc"] ) ? $module_params["maxlendesc"] : 0 );
+
+ $_template->tpl_vars['moduleTitle'] = new Smarty_variable( $moduleTitle );
+ $_template->tpl_vars['modImages'] = new Smarty_variable( $images );
+ $_template->tpl_vars['module_params'] = new Smarty_variable( $module_params );
+ $_template->tpl_vars['maxlen'] = new Smarty_variable( isset( $module_params["maxlen"] ) ? $module_params["maxlen"] : 0 );
+ $_template->tpl_vars['maxlendesc'] = new Smarty_variable( isset( $module_params["maxlendesc"] ) ? $module_params["maxlendesc"] : 0 );
}
?>