diff options
| author | Christian Fowler <spider@viovio.com> | 2007-09-20 04:30:17 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2007-09-20 04:30:17 +0000 |
| commit | c2a391e59c23d71a8b70b8b4d17cd6d319738c4f (patch) | |
| tree | da6165df2a867b5cf9c686e14c73d379071e3fa7 /edit.php | |
| parent | 4fc3b17508227c0d1a0991640277bc56f4e27c38 (diff) | |
| download | wiki-c2a391e59c23d71a8b70b8b4d17cd6d319738c4f.tar.gz wiki-c2a391e59c23d71a8b70b8b4d17cd6d319738c4f.tar.bz2 wiki-c2a391e59c23d71a8b70b8b4d17cd6d319738c4f.zip | |
invokeServices( 'content_edit_function' )
Diffstat (limited to 'edit.php')
| -rw-r--r-- | edit.php | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/edit.php,v 1.42 2007/09/15 18:07:53 wjames5 Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/edit.php,v 1.43 2007/09/20 04:30:17 spiderr Exp $ * * Copyright( c ) 2004 bitweaver.org * Copyright( c ) 2003 tikwiki.org @@ -8,7 +8,7 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: edit.php,v 1.42 2007/09/15 18:07:53 wjames5 Exp $ + * $Id: edit.php,v 1.43 2007/09/20 04:30:17 spiderr Exp $ * @package wiki * @subpackage functions */ @@ -430,10 +430,10 @@ if( isset( $_REQUEST["preview"] ) ) { ( !empty( $_REQUEST['format_guid'] ) ? $_REQUEST['format_guid'] : ( isset( $gContent->mInfo['format_guid'] ) ? $gContent->mInfo['format_guid'] : 'tikiwiki' )) ); $gContent->invokeServices( 'content_preview_function' ); -} else { - $gContent->invokeServices( 'content_edit_function' ); } +$gContent->invokeServices( 'content_edit_function' ); + if( $gContent->isInStructure() ) { $gBitSmarty->assign( 'showstructs', $gContent->getStructures() ); } |
