diff options
| author | lsces <lester@lsces.co.uk> | 2016-02-07 16:50:54 +0000 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2016-02-07 16:50:54 +0000 |
| commit | 253d0d0581fe8e610e4fef728259878d7a5d0d87 (patch) | |
| tree | 5b0a57bcefce95bc91dd2c4467f4bc4a198d04eb /edit.php | |
| parent | 427ceb129fd3bc0e41642e62fdcd89d0f3d5700c (diff) | |
| download | blogs-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.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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' )); ?> |
