|
From: Jon O. <jon...@us...> - 2005-05-01 16:41:38
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1825/modules/mx_pafiledb/pafiledb/includes Modified Files: functions.php pafiledb_constants.php Log Message: additional fixes - adding jumpbox Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** functions.php 11 Apr 2005 17:55:40 -0000 1.13 --- functions.php 1 May 2005 16:41:29 -0000 1.14 *************** *** 720,735 **** global $phpEx, $template, $do_gzip_compress, $debug, $db, $starttime; // MX ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $page_id; ! $pafiledb_template->assign_vars( array( 'JUMPMENU' => $pafiledb->modules[$pafiledb->module_name]->jumpmenu_option(), ! 'L_JUMP' => $lang['jump'], /* - orig 'S_JUMPBOX_ACTION' => append_sid('dload.php'), */ // MX ! 'S_JUMPBOX_ACTION' => append_sid( 'dload.php' ), 'S_TIMEZONE' => sprintf( $lang['All_times'], $lang[number_format( $board_config['board_timezone'] )] ) ) ); $pafiledb->modules[$pafiledb->module_name]->_pafiledb(); if ( !isset( $_GET['explain'] ) ) { --- 720,747 ---- global $phpEx, $template, $do_gzip_compress, $debug, $db, $starttime; // MX ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $page_id, $pa_auth_can; ! global $pa_module_version, $pa_module_orig_author, $pa_module_author; ! $pafiledb_template->assign_vars( array( 'JUMPMENU' => $pafiledb->modules[$pafiledb->module_name]->jumpmenu_option( 0, 0, array( $_GET['cat_id'] => 1 ) ), ! 'L_JUMP' => $lang['Jump'], ! 'L_GO' => $lang['Jump_go'], /* - orig 'S_JUMPBOX_ACTION' => append_sid('dload.php'), */ // MX ! 'MX_PAGE' => $page_id, ! 'L_MODULE_VERSION' => $pa_module_version, ! 'L_MODULE_ORIG_AUTHOR' => $pa_module_orig_author, ! 'L_MODULE_AUTHOR' => $pa_module_author, ! 'S_JUMPBOX_ACTION' => append_sid( pa_this_mxurl( ) ), 'S_TIMEZONE' => sprintf( $lang['All_times'], $lang[number_format( $board_config['board_timezone'] )] ) ) ); $pafiledb->modules[$pafiledb->module_name]->_pafiledb(); + + if ( !MXBB_MODULE || MXBB_27x ) + { + $pafiledb_template->assign_block_vars( 'copy_footer', array() ); + } + if ( !isset( $_GET['explain'] ) ) { Index: pafiledb_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/pafiledb_constants.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** pafiledb_constants.php 12 Apr 2005 19:32:56 -0000 1.11 --- pafiledb_constants.php 1 May 2005 16:41:29 -0000 1.12 *************** *** 82,96 **** // Read language definition // ********************************************************************** ! if ( !file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) { $link_language = 'lang_english'; ! include( $module_root_path . 'language/' . $link_language . '/lang_main.' . $phpEx ); ! include( $module_root_path . 'language/' . $link_language . '/lang_admin.' . $phpEx ); } else { $link_language = 'lang_' . $board_config['default_lang']; ! include( $module_root_path . 'language/' . $link_language . '/lang_main.' . $phpEx ); ! include( $module_root_path . 'language/' . $link_language . '/lang_admin.' . $phpEx ); } --- 82,96 ---- // Read language definition // ********************************************************************** ! if ( !file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_pafiledb.' . $phpEx ) ) { $link_language = 'lang_english'; ! include( $module_root_path . 'language/' . $link_language . '/lang_pafiledb.' . $phpEx ); ! include( $module_root_path . 'language/' . $link_language . '/lang_pafiledb_admin.' . $phpEx ); } else { $link_language = 'lang_' . $board_config['default_lang']; ! include( $module_root_path . 'language/' . $link_language . '/lang_pafiledb.' . $phpEx ); ! include( $module_root_path . 'language/' . $link_language . '/lang_pafiledb_admin.' . $phpEx ); } *************** *** 121,127 **** if ( !MXBB_MODULE || MXBB_27x ) { ! $kb_module_version = "Knowledge Base v. 2.0.x"; ! $kb_module_author = "Haplo"; ! $kb_module_orig_author = "wGEric"; } else --- 121,127 ---- if ( !MXBB_MODULE || MXBB_27x ) { ! $pa_module_version = "pafileDB Download Manager v. 2.0.x"; ! $pa_module_author = "Haplo/Jon"; ! $pa_module_orig_author = "Mohd"; } else |