|
From: Jon O. <jon...@us...> - 2005-04-05 20:52:39
|
Update of /cvsroot/mxbb/mx_kb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2051/modules/mx_kb/includes Modified Files: functions_kb.php kb_constants.php kb_footer.php Log Message: forgot a bunch of switches for the core 2.7.x branch :( Index: functions_kb.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/includes/functions_kb.php,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** functions_kb.php 2 Apr 2005 20:37:02 -0000 1.27 --- functions_kb.php 5 Apr 2005 20:52:30 -0000 1.28 *************** *** 1837,1841 **** global $news_type_select_data, $kb_type_select_data, $kb_config; ! if ( !MXBB_MODULE ) { return true; --- 1837,1841 ---- global $news_type_select_data, $kb_type_select_data, $kb_config; ! if ( !MXBB_MODULE || MXBB_27x ) { return true; *************** *** 1857,1861 **** global $news_type_select_data, $kb_config; ! if ( !MXBB_MODULE ) { return true; --- 1857,1861 ---- global $news_type_select_data, $kb_config; ! if ( !MXBB_MODULE || MXBB_27x) { return true; Index: kb_footer.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/includes/kb_footer.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** kb_footer.php 2 Apr 2005 20:37:03 -0000 1.4 --- kb_footer.php 5 Apr 2005 20:52:30 -0000 1.5 *************** *** 39,43 **** } ! if ( !MXBB_MODULE ) { $template->assign_block_vars( 'copy_footer', array() ); --- 39,43 ---- } ! if ( !MXBB_MODULE ||MXBB_27x ) { $template->assign_block_vars( 'copy_footer', array() ); *************** *** 45,51 **** --- 45,53 ---- $quick_nav_action = this_kb_mxurl(); + $s_hidden_vars = '<input type="hidden" name="mode" value="cat"><input type="hidden" name="page" value="' . $page_id . '">'; $template->assign_vars( array( 'QUICK_JUMP_ACTION' => $quick_nav_action, + 'S_HIDDEN_VARS' => $s_hidden_vars, //'SID' => $userdata['session_id'], Index: kb_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/includes/kb_constants.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** kb_constants.php 2 Apr 2005 20:37:03 -0000 1.23 --- kb_constants.php 5 Apr 2005 20:52:30 -0000 1.24 *************** *** 109,113 **** } ! if ( !MXBB_MODULE ) { $kb_module_version = "Knowledge Base v. 2.0"; --- 109,113 ---- } ! if ( !MXBB_MODULE || MXBB_27x ) { $kb_module_version = "Knowledge Base v. 2.0"; |