summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2016-02-07 17:44:38 +0000
committerlsces <lester@lsces.co.uk>2016-02-07 17:44:38 +0000
commit48d38bcee6e51e54102c85cabb2f5b94a819a03c (patch)
tree3ad8d7370c6a0ffc301b407f56270e1bb0b4c89f /edit.php
parent5f2e82a1fb1803fcc79fd31bd0f318f3661d639c (diff)
downloadwiki-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.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/edit.php b/edit.php
index 495849a..1fde2e5 100644
--- a/edit.php
+++ b/edit.php
@@ -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' ));