|
From: Jon O. <jon...@us...> - 2005-09-22 10:11:11
|
Update of /cvsroot/mxbb/mx_pafiledb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8476/modules/mx_pafiledb Modified Files: db_install.php db_uninstall.php db_upgrade.php dload.php pafiledb.pak Log Message: updating Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/db_install.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** db_install.php 21 Apr 2005 20:55:42 -0000 1.14 --- db_install.php 22 Sep 2005 10:11:02 -0000 1.15 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,32 **** define( 'IN_PORTAL', true ); - $mx_root_path = './../'; - - $mx_module_version = 'mxBB pafileDB Module 2.0.1'; - $mx_module_copy = 'Based on <a href="http://www.phparena.net/" target="_phpbb" >PHP Arena, pafileDB 3.0</a> & <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=56035" target="_phpbb" >Mohd pafileDB 0.0.9d</a>'; - if ( !defined( 'IN_ADMIN' ) ) { include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 21,27 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { + $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 37,50 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } // For compatibility with core 2.7.+ define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); --- 32,48 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + $mx_module_version = 'mxBB pafileDB Module 2.0.1'; + $mx_module_copy = 'Based on <a href="http://www.phparena.net/" target="_phpbb" >PHP Arena, pafileDB 3.0</a> & <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=56035" target="_phpbb" >Mohd pafileDB 0.0.9d</a>'; + // For compatibility with core 2.7.+ define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); Index: pafiledb.pak =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb.pak,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** pafiledb.pak 21 Apr 2005 20:55:42 -0000 1.9 --- pafiledb.pak 22 Sep 2005 10:11:02 -0000 1.10 *************** *** 7,23 **** function=+:46=+:57=+:PafileDB_list=+:PafileDB download toplists=+:dload_lists.php=+: parameter=+:57=+:154=+:display_latest_posts=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:57=+:151=+:display_most_posts=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:57=+:152=+:display_random_posts=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:57=+:153=+:display_top_ranked=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:57=+:155=+:num_of_cols=+:Number=+:1=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:57=+:156=+:num_of_rows=+:Number=+:3=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:57=+:157=+:target_block=+:Function=+:0=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "dload.php") - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - PafileDB_list=+:Demo block=+:57=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 --- 7,16 ---- *************** *** 25,31 **** function=+:46=+:99=+:Quick dl=+:Quick download block - blog=+:dload_quickdl.php=+:modules/mx_pafiledb/admin/pa_block_config.php parameter=+:99=+:324=+:pa_mapping=+:Text=+:=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:99=+:323=+:pa_quick_cat=+:Text=+:1=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - Quick dl=+:Demo block=+:99=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 --- 18,22 ---- Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/db_uninstall.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** db_uninstall.php 1 May 2005 16:41:28 -0000 1.8 --- db_uninstall.php 22 Sep 2005 10:11:02 -0000 1.9 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 24,28 **** if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 23,27 ---- if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 33,42 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management --- 32,41 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management *************** *** 65,74 **** ); - $message .= mx_do_install_upgrade( $sql ); - echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; --- 64,71 ---- ); echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . mx_do_install_upgrade( $sql ) . "</span></td></tr>"; echo "</table><br />"; Index: dload.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** dload.php 20 Aug 2005 18:24:28 -0000 1.11 --- dload.php 22 Sep 2005 10:11:02 -0000 1.12 *************** *** 102,106 **** --- 102,108 ---- */ // MX + include_once( $module_root_path . 'pafiledb/pafiledb_common.' . $phpEx ); + // =================================================== // Get action variable other wise set it to the main Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/db_upgrade.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** db_upgrade.php 21 Apr 2005 20:55:42 -0000 1.8 --- db_upgrade.php 22 Sep 2005 10:11:02 -0000 1.9 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,33 **** define( 'IN_PORTAL', true ); - $mx_root_path = './../'; - - $mx_module_version = 'mxBB pafileDB Module 2.0.1'; - $mx_module_copy = 'Based on <a href="http://www.phparena.net/" target="_phpbb" >PHP Arena, pafileDB 3.0</a> & <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=56035" target="_phpbb" >Mohd pafileDB 0.0.9d</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 21,27 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 38,51 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } // For compatibility with core 2.7.+ define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); --- 32,48 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + $mx_module_version = 'mxBB pafileDB Module 2.0.1'; + $mx_module_copy = 'Based on <a href="http://www.phparena.net/" target="_phpbb" >PHP Arena, pafileDB 3.0</a> & <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=56035" target="_phpbb" >Mohd pafileDB 0.0.9d</a>'; + // For compatibility with core 2.7.+ define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); |