|
From: Jon O. <jon...@us...> - 2008-02-23 19:33:19
|
Update of /cvsroot/mxbb/core/modules/mx_coreblocks In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31688 Modified Files: mx_blockcp.php Log Message: Custom module default style update for panel parameters blockCP stays in current page Index: mx_blockcp.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_blockcp.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** mx_blockcp.php 9 Feb 2008 19:46:29 -0000 1.22 --- mx_blockcp.php 23 Feb 2008 19:33:14 -0000 1.23 *************** *** 19,25 **** // // Start session management // ! $mx_user->init($user_ip, '-999'); // // End session management --- 19,30 ---- // + // Page selector + // + $page_id = $mx_request_vars->request('portalpage', MX_TYPE_INT, 1); + + // // Start session management // ! $mx_user->init($user_ip, $page_id, false); // // End session management *************** *** 27,30 **** --- 32,46 ---- // + // Load and instatiate CORE (page) and block classes + // + $mx_page->init( $page_id ); + + // + // Initiate user style (template + theme) management + // - populate $theme, $images and initiate $template. + // + $mx_user->init_style(); + + // // ********************************************************************** // Read language definition |