diff options
| author | Nick Palmer <nick@sluggardy.net> | 2008-06-14 11:15:28 +0000 |
|---|---|---|
| committer | Nick Palmer <nick@sluggardy.net> | 2008-06-14 11:15:28 +0000 |
| commit | f64f58a07a4f7ebe7623526d9dd99c7b5d04cc34 (patch) | |
| tree | cbab3fdaea2dccbc8a4a7b49c7bd990e2e00062c /edit_personal_page.php | |
| parent | c07124d7a76112d9c333ccea9dd5295173357e4c (diff) | |
| download | users-f64f58a07a4f7ebe7623526d9dd99c7b5d04cc34.tar.gz users-f64f58a07a4f7ebe7623526d9dd99c7b5d04cc34.tar.bz2 users-f64f58a07a4f7ebe7623526d9dd99c7b5d04cc34.zip | |
Invoke preview and edit services in the right places.
Diffstat (limited to 'edit_personal_page.php')
| -rw-r--r-- | edit_personal_page.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/edit_personal_page.php b/edit_personal_page.php index 7a8bcb7..774e72a 100644 --- a/edit_personal_page.php +++ b/edit_personal_page.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_users/edit_personal_page.php,v 1.20 2007/10/10 18:07:19 wjames5 Exp $ + * $Header: /cvsroot/bitweaver/_bit_users/edit_personal_page.php,v 1.21 2008/06/14 11:15:28 nickpalmer 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_personal_page.php,v 1.20 2007/10/10 18:07:19 wjames5 Exp $ + * $Id: edit_personal_page.php,v 1.21 2008/06/14 11:15:28 nickpalmer Exp $ * @package users * @subpackage functions */ @@ -48,6 +48,10 @@ if(isset($_REQUEST["preview"])) { /* SPELLCHECKING INITIAL ATTEMPT */ //This nice function does all the job! $gBitSmarty->assign_by_ref( 'pageInfo', $gBitUser->mInfo ); + $gBitUser->invokeServices( 'content_preview_function' ); +} +else { + $gBitUser->invokeServices( 'content_edit_function' ); } $gBitSmarty->assign_by_ref( 'pageInfo', $gBitUser->mInfo ); |
