diff options
| author | spider <spider@bitweaver.org> | 2015-04-07 11:30:43 -0400 |
|---|---|---|
| committer | spider <spider@bitweaver.org> | 2015-04-07 11:30:43 -0400 |
| commit | 5f2e82a1fb1803fcc79fd31bd0f318f3661d639c (patch) | |
| tree | b7a2a97f56040e0ae5e97ce87ba8696427c89f70 /edit.php | |
| parent | ffca4b50a4ca1148a762c2a47364231be46bbd8b (diff) | |
| download | wiki-5f2e82a1fb1803fcc79fd31bd0f318f3661d639c.tar.gz wiki-5f2e82a1fb1803fcc79fd31bd0f318f3661d639c.tar.bz2 wiki-5f2e82a1fb1803fcc79fd31bd0f318f3661d639c.zip | |
loadCkEditor, not the best place but works for now
Diffstat (limited to 'edit.php')
| -rw-r--r-- | edit.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -241,6 +241,10 @@ $formInfo['original_title'] =( !empty( $gContent->mInfo['title'] ) ) ? $gContent $gBitSmarty->assign_by_ref( 'pageInfo', $formInfo ); $gBitSmarty->assign_by_ref( 'errors', $gContent->mErrors ); +if( $gBitSystem->isPackageActive( 'ckeditor' ) ) { + loadCkEditor(); +} + $gBitSystem->display( 'bitpackage:wiki/edit_page.tpl', 'Edit: '.$gContent->getTitle() , array( 'display_mode' => 'edit' )); |
