|
From: Jon O. <jon...@us...> - 2005-05-01 16:42:10
|
Update of /cvsroot/mxbb/mx_pafiledb/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1825/modules/mx_pafiledb/admin Modified Files: admin_pa_catauth.php admin_pa_category.php admin_pa_custom.php admin_pa_fchecker.php admin_pa_file.php admin_pa_license.php admin_pa_settings.php admin_pa_ug_auth.php Log Message: additional fixes - adding jumpbox Index: admin_pa_fchecker.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_fchecker.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** admin_pa_fchecker.php 21 Apr 2005 20:55:42 -0000 1.9 --- admin_pa_fchecker.php 1 May 2005 16:41:28 -0000 1.10 *************** *** 24,31 **** define( 'MXBB_MODULE', false ); if ( !empty( $setmodules ) ) { $file = basename( __FILE__ ); ! $module['pafileDB_Download']['Fchecker_title'] = $file; return; } --- 24,35 ---- define( 'MXBB_MODULE', false ); + $phpbb_root_path = $module_root_path = $mx_root_path = './../'; + require_once( $phpbb_root_path . 'extension.inc' ); + if ( !empty( $setmodules ) ) { + include_once( $module_root_path . 'pafiledb/includes/pafiledb_constants.' . $phpEx ); $file = basename( __FILE__ ); ! $module['pafileDB_Download']['6_Fchecker_title'] = $file; return; } *************** *** 34,39 **** $no_page_header = true; ! $phpbb_root_path = $module_root_path = $mx_root_path = './../'; ! require( $phpbb_root_path . 'extension.inc' ); require( './pagestart.' . $phpEx ); --- 38,42 ---- $no_page_header = true; ! require( './pagestart.' . $phpEx ); *************** *** 48,53 **** if ( !empty( $setmodules ) ) { $file = basename( __FILE__ ); ! $module['pafileDB_Download']['Fchecker_title'] = 'modules/mx_pafiledb/admin/' . $file; return; } --- 51,61 ---- if ( !empty( $setmodules ) ) { + $mx_root_path = './../'; + $module_root_path = './../modules/mx_pafiledb/'; + require_once( $mx_root_path . 'extension.inc' ); + include_once( $module_root_path . 'pafiledb/includes/pafiledb_constants.' . $phpEx ); + $file = basename( __FILE__ ); ! $module['pafileDB_Download']['6_Fchecker_title'] = $module_root_path . 'admin/' . $file; return; } Index: admin_pa_custom.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_custom.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** admin_pa_custom.php 21 Apr 2005 20:55:42 -0000 1.10 --- admin_pa_custom.php 1 May 2005 16:41:28 -0000 1.11 *************** *** 24,31 **** define( 'MXBB_MODULE', false ); if ( !empty( $setmodules ) ) { $file = basename( __FILE__ ); ! $module['pafileDB_Download']['Custom_manage_title'] = $file; return; } --- 24,35 ---- define( 'MXBB_MODULE', false ); + $phpbb_root_path = $module_root_path = $mx_root_path = './../'; + require_once( $phpbb_root_path . 'extension.inc' ); + if ( !empty( $setmodules ) ) { + include_once( $module_root_path . 'pafiledb/includes/pafiledb_constants.' . $phpEx ); $file = basename( __FILE__ ); ! $module['pafileDB_Download']['5_Custom_manage_title'] = $file; return; } *************** *** 34,39 **** $no_page_header = true; ! $phpbb_root_path = $module_root_path = $mx_root_path = './../'; ! require( $phpbb_root_path . 'extension.inc' ); require( './pagestart.' . $phpEx ); --- 38,42 ---- $no_page_header = true; ! require( './pagestart.' . $phpEx ); *************** *** 50,55 **** if ( !empty( $setmodules ) ) { $file = basename( __FILE__ ); ! $module['pafileDB_Download']['Custom_manage_title'] = 'modules/mx_pafiledb/admin/' . $file; return; } --- 53,63 ---- if ( !empty( $setmodules ) ) { + $mx_root_path = './../'; + $module_root_path = './../modules/mx_pafiledb/'; + require_once( $mx_root_path . 'extension.inc' ); + include_once( $module_root_path . 'pafiledb/includes/pafiledb_constants.' . $phpEx ); + $file = basename( __FILE__ ); ! $module['pafileDB_Download']['5_Custom_manage_title'] = $module_root_path . 'admin/' . $file; return; } Index: admin_pa_category.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_category.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** admin_pa_category.php 21 Apr 2005 20:55:42 -0000 1.9 --- admin_pa_category.php 1 May 2005 16:41:27 -0000 1.10 *************** *** 23,31 **** define( 'IN_PORTAL', 1 ); define( 'MXBB_MODULE', false ); ! if ( !empty( $setmodules ) ) { $file = basename( __FILE__ ); ! $module['pafileDB_Download']['Cat_manage_title'] = $file; return; } --- 23,35 ---- define( 'IN_PORTAL', 1 ); define( 'MXBB_MODULE', false ); ! ! $phpbb_root_path = $module_root_path = $mx_root_path = './../'; ! require_once( $phpbb_root_path . 'extension.inc' ); ! if ( !empty( $setmodules ) ) { + include_once( $module_root_path . 'pafiledb/includes/pafiledb_constants.' . $phpEx ); $file = basename( __FILE__ ); ! $module['pafileDB_Download']['1_Cat_manage_title'] = $file; return; } *************** *** 34,39 **** $no_page_header = true; ! $phpbb_root_path = $module_root_path = $mx_root_path = './../'; ! require( $phpbb_root_path . 'extension.inc' ); require( './pagestart.' . $phpEx ); --- 38,42 ---- $no_page_header = true; ! require( './pagestart.' . $phpEx ); *************** *** 49,54 **** if ( !empty( $setmodules ) ) { $file = basename( __FILE__ ); ! $module['pafileDB_Download']['Cat_manage_title'] = 'modules/mx_pafiledb/admin/' . $file; return; } --- 52,62 ---- if ( !empty( $setmodules ) ) { + $mx_root_path = './../'; + $module_root_path = './../modules/mx_pafiledb/'; + require_once( $mx_root_path . 'extension.inc' ); + include_once( $module_root_path . 'pafiledb/includes/pafiledb_constants.' . $phpEx ); + $file = basename( __FILE__ ); ! $module['pafileDB_Download']['1_Cat_manage_title'] = $module_root_path . 'admin/' . $file; return; } Index: admin_pa_file.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_file.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** admin_pa_file.php 21 Apr 2005 20:55:42 -0000 1.12 --- admin_pa_file.php 1 May 2005 16:41:28 -0000 1.13 *************** *** 24,31 **** define( 'MXBB_MODULE', false ); if ( !empty( $setmodules ) ) { $file = basename( __FILE__ ); ! $module['pafileDB_Download']['File_manage_title'] = $file; return; } --- 24,35 ---- define( 'MXBB_MODULE', false ); + $phpbb_root_path = $module_root_path = $mx_root_path = './../'; + require_once( $phpbb_root_path . 'extension.inc' ); + if ( !empty( $setmodules ) ) { + include_once( $module_root_path . 'pafiledb/includes/pafiledb_constants.' . $phpEx ); $file = basename( __FILE__ ); ! $module['pafileDB_Download']['2_File_manage_title'] = $file; return; } *************** *** 34,39 **** $no_page_header = true; ! $phpbb_root_path = $module_root_path = $mx_root_path = './../'; ! require( $phpbb_root_path . 'extension.inc' ); require( './pagestart.' . $phpEx ); --- 38,42 ---- $no_page_header = true; ! require( './pagestart.' . $phpEx ); *************** *** 49,54 **** if ( !empty( $setmodules ) ) { $file = basename( __FILE__ ); ! $module['pafileDB_Download']['File_manage_title'] = 'modules/mx_pafiledb/admin/' . $file; return; } --- 52,62 ---- if ( !empty( $setmodules ) ) { + $mx_root_path = './../'; + $module_root_path = './../modules/mx_pafiledb/'; + require_once( $mx_root_path . 'extension.inc' ); + include_once( $module_root_path . 'pafiledb/includes/pafiledb_constants.' . $phpEx ); + $file = basename( __FILE__ ); ! $module['pafileDB_Download']['2_File_manage_title'] = $module_root_path . 'admin/' . $file; return; } Index: admin_pa_settings.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_settings.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** admin_pa_settings.php 21 Apr 2005 20:55:42 -0000 1.10 --- admin_pa_settings.php 1 May 2005 16:41:28 -0000 1.11 *************** *** 24,31 **** define( 'MXBB_MODULE', false ); if ( !empty( $setmodules ) ) { $file = basename( __FILE__ ); ! $module['pafileDB_Download']['Configuration_title'] = $file; return; } --- 24,35 ---- define( 'MXBB_MODULE', false ); + $phpbb_root_path = $module_root_path = $mx_root_path = './../'; + require_once( $phpbb_root_path . 'extension.inc' ); + if ( !empty( $setmodules ) ) { + include_once( $module_root_path . 'pafiledb/includes/pafiledb_constants.' . $phpEx ); $file = basename( __FILE__ ); ! $module['pafileDB_Download']['0_Configuration_title'] = $file; return; } *************** *** 34,39 **** $no_page_header = true; ! $phpbb_root_path = $module_root_path = $mx_root_path = './../'; ! require( $phpbb_root_path . 'extension.inc' ); require( './pagestart.' . $phpEx ); --- 38,42 ---- $no_page_header = true; ! require( './pagestart.' . $phpEx ); *************** *** 48,53 **** if ( !empty( $setmodules ) ) { $file = basename( __FILE__ ); ! $module['pafileDB_Download']['Configuration_title'] = 'modules/mx_pafiledb/admin/' . $file; return; } --- 51,61 ---- if ( !empty( $setmodules ) ) { + $mx_root_path = './../'; + $module_root_path = './../modules/mx_pafiledb/'; + require_once( $mx_root_path . 'extension.inc' ); + include_once( $module_root_path . 'pafiledb/includes/pafiledb_constants.' . $phpEx ); + $file = basename( __FILE__ ); ! $module['pafileDB_Download']['0_Configuration_title'] = $module_root_path . 'admin/' . $file; return; } Index: admin_pa_ug_auth.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_ug_auth.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** admin_pa_ug_auth.php 21 Apr 2005 20:55:42 -0000 1.6 --- admin_pa_ug_auth.php 1 May 2005 16:41:28 -0000 1.7 *************** *** 24,27 **** --- 24,30 ---- define( 'MXBB_MODULE', false ); + $phpbb_root_path = $module_root_path = $mx_root_path = './../'; + require_once( $phpbb_root_path . 'extension.inc' ); + if ( !empty( $setmodules ) ) { *************** *** 33,38 **** $no_page_header = true; ! $phpbb_root_path = $module_root_path = $mx_root_path = './../'; ! require( $phpbb_root_path . 'extension.inc' ); require( './pagestart.' . $phpEx ); --- 36,40 ---- $no_page_header = true; ! require( './pagestart.' . $phpEx ); Index: admin_pa_catauth.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_catauth.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** admin_pa_catauth.php 21 Apr 2005 20:55:42 -0000 1.8 --- admin_pa_catauth.php 1 May 2005 16:41:26 -0000 1.9 *************** *** 23,31 **** define( 'IN_PORTAL', 1 ); define( 'MXBB_MODULE', false ); ! if ( !empty( $setmodules ) ) { $file = basename( __FILE__ ); ! $module['pafileDB_Download']['Permissions_title'] = $file; return; } --- 23,35 ---- define( 'IN_PORTAL', 1 ); define( 'MXBB_MODULE', false ); ! ! $phpbb_root_path = $module_root_path = $mx_root_path = './../'; ! require_once( $phpbb_root_path . 'extension.inc' ); ! if ( !empty( $setmodules ) ) { + include_once( $module_root_path . 'pafiledb/includes/pafiledb_constants.' . $phpEx ); $file = basename( __FILE__ ); ! $module['pafileDB_Download']['3_Permissions_title'] = $file; return; } *************** *** 34,39 **** $no_page_header = true; ! $phpbb_root_path = $module_root_path = $mx_root_path = './../'; ! require( $phpbb_root_path . 'extension.inc' ); require( './pagestart.' . $phpEx ); --- 38,42 ---- $no_page_header = true; ! require( './pagestart.' . $phpEx ); *************** *** 48,53 **** if ( !empty( $setmodules ) ) { $file = basename( __FILE__ ); ! $module['pafileDB_Download']['Permissions_title'] = 'modules/mx_pafiledb/admin/' . $file; return; } --- 51,61 ---- if ( !empty( $setmodules ) ) { + $mx_root_path = './../'; + $module_root_path = './../modules/mx_pafiledb/'; + require_once( $mx_root_path . 'extension.inc' ); + include_once( $module_root_path . 'pafiledb/includes/pafiledb_constants.' . $phpEx ); + $file = basename( __FILE__ ); ! $module['pafileDB_Download']['3_Permissions_title'] = $module_root_path . 'admin/' . $file; return; } Index: admin_pa_license.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_license.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** admin_pa_license.php 21 Apr 2005 20:55:42 -0000 1.9 --- admin_pa_license.php 1 May 2005 16:41:28 -0000 1.10 *************** *** 24,31 **** define( 'MXBB_MODULE', false ); if ( !empty( $setmodules ) ) { $file = basename( __FILE__ ); ! $module['pafileDB_Download']['License_title'] = $file; return; } --- 24,35 ---- define( 'MXBB_MODULE', false ); + $phpbb_root_path = $module_root_path = $mx_root_path = './../'; + require_once( $phpbb_root_path . 'extension.inc' ); + if ( !empty( $setmodules ) ) { + include_once( $module_root_path . 'pafiledb/includes/pafiledb_constants.' . $phpEx ); $file = basename( __FILE__ ); ! $module['pafileDB_Download']['4_License_title'] = $file; return; } *************** *** 34,39 **** $no_page_header = true; ! $phpbb_root_path = $module_root_path = $mx_root_path = './../'; ! require( $phpbb_root_path . 'extension.inc' ); require( './pagestart.' . $phpEx ); --- 38,42 ---- $no_page_header = true; ! require( './pagestart.' . $phpEx ); *************** *** 48,53 **** if ( !empty( $setmodules ) ) { $file = basename( __FILE__ ); ! $module['pafileDB_Download']['License_title'] = 'modules/mx_pafiledb/admin/' . $file; return; } --- 51,61 ---- if ( !empty( $setmodules ) ) { + $mx_root_path = './../'; + $module_root_path = './../modules/mx_pafiledb/'; + require_once( $mx_root_path . 'extension.inc' ); + include_once( $module_root_path . 'pafiledb/includes/pafiledb_constants.' . $phpEx ); + $file = basename( __FILE__ ); ! $module['pafileDB_Download']['4_License_title'] = $module_root_path . 'admin/' . $file; return; } |