summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2016-02-07 16:50:54 +0000
committerlsces <lester@lsces.co.uk>2016-02-07 16:50:54 +0000
commit253d0d0581fe8e610e4fef728259878d7a5d0d87 (patch)
tree5b0a57bcefce95bc91dd2c4467f4bc4a198d04eb /edit.php
parent427ceb129fd3bc0e41642e62fdcd89d0f3d5700c (diff)
downloadblogs-253d0d0581fe8e610e4fef728259878d7a5d0d87.tar.gz
blogs-253d0d0581fe8e610e4fef728259878d7a5d0d87.tar.bz2
blogs-253d0d0581fe8e610e4fef728259878d7a5d0d87.zip
Move from Smarty2 to Smarty3 function style
Diffstat (limited to 'edit.php')
-rw-r--r--edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/edit.php b/edit.php
index 95830e8..c4328e2 100644
--- a/edit.php
+++ b/edit.php
@@ -47,7 +47,7 @@ if (isset($_REQUEST['save_blog'])) {
if( $gContent->store( $_REQUEST ) ) {
bit_redirect( $gContent->getDisplayUrl() );
} else {
- $gBitSmarty->assign_by_ref( 'errors', $gContent->mErrors );
+ $gBitSmarty->assignByRef( 'errors', $gContent->mErrors );
}
}
@@ -55,7 +55,7 @@ $gBitSystem->setBrowserTitle( tra( 'Edit Blog' ).' - '.$gContent->getTitle() );
$gBitSmarty->assign( 'textarea_label', 'Blog Description' );
-$gBitSmarty->assign_by_ref('gContent', $gContent);
+$gBitSmarty->assignByRef('gContent', $gContent);
$gBitSystem->display( 'bitpackage:blogs/edit_blog.tpl', NULL, array( 'display_mode' => 'edit' ));
?>