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 /edit.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 'edit.php')
| -rw-r--r-- | edit.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -238,11 +238,11 @@ if( empty( $formInfo ) ) { // make original page title available for template $formInfo['original_title'] =( !empty( $gContent->mInfo['title'] ) ) ? $gContent->mInfo['title'] : "" ; -$gBitSmarty->assign_by_ref( 'pageInfo', $formInfo ); -$gBitSmarty->assign_by_ref( 'errors', $gContent->mErrors ); +$gBitSmarty->assignByRef( 'pageInfo', $formInfo ); +$gBitSmarty->assignByRef( 'errors', $gContent->mErrors ); if( $gBitSystem->isPackageActive( 'ckeditor' ) ) { - loadCkEditor(); +// loadCkEditor(); } $gBitSystem->display( 'bitpackage:wiki/edit_page.tpl', 'Edit: '.$gContent->getTitle() , array( 'display_mode' => 'edit' )); |
