diff options
| author | lsces <lester@lsces.co.uk> | 2016-02-07 17:44:38 +0000 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2016-02-07 17:44:38 +0000 |
| commit | 48d38bcee6e51e54102c85cabb2f5b94a819a03c (patch) | |
| tree | 3ad8d7370c6a0ffc301b407f56270e1bb0b4c89f /slideshow.php | |
| parent | 5f2e82a1fb1803fcc79fd31bd0f318f3661d639c (diff) | |
| download | wiki-48d38bcee6e51e54102c85cabb2f5b94a819a03c.tar.gz wiki-48d38bcee6e51e54102c85cabb2f5b94a819a03c.tar.bz2 wiki-48d38bcee6e51e54102c85cabb2f5b94a819a03c.zip | |
Move from Smarty2 to Smarty3 function style
Diffstat (limited to 'slideshow.php')
| -rwxr-xr-x | slideshow.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/slideshow.php b/slideshow.php index deac9b6..d403b9b 100755 --- a/slideshow.php +++ b/slideshow.php @@ -97,13 +97,13 @@ $current_slide = $_REQUEST["slide"] + 1; $gBitSmarty->assign('total_slides', $total_slides); $gBitSmarty->assign('current_slide', $current_slide); -//$gBitSmarty->assign_by_ref('last_modified',date("l d of F, Y [H:i:s]",$info["last_modified"])); -$gBitSmarty->assign_by_ref('last_modified', $info["last_modified"]); +//$gBitSmarty->assignByRef('last_modified',date("l d of F, Y [H:i:s]",$info["last_modified"])); +$gBitSmarty->assignByRef('last_modified', $info["last_modified"]); if (empty($info["user"])) { $info["user"] = 'anonymous'; } -$gBitSmarty->assign_by_ref('lastUser', $info["user"]); +$gBitSmarty->assignByRef('lastUser', $info["user"]); $gBitSmarty->display("bitpackage:wiki/slideshow.tpl"); ?> |
