|
From: Jon O. <jon...@us...> - 2005-09-22 10:08:58
|
Update of /cvsroot/mxbb/mx_gallery In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7745/modules/mx_gallery Modified Files: Gallery.pak db_install.php db_uninstall.php db_upgrade.php Log Message: updating Index: Gallery.pak =================================================================== RCS file: /cvsroot/mxbb/mx_gallery/Gallery.pak,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Gallery.pak 15 Jan 2005 23:46:16 -0000 1.3 --- Gallery.pak 22 Sep 2005 10:08:46 -0000 1.4 *************** *** 7,49 **** function=+:45=+:55=+:gallery_toplist=+:=+:modules_toplist.php=+: parameter=+:55=+:137=+:Block_Style=+:Function=+:0=+:get_list_static("{parameter_id}[]",array('date','views','cdate','comments','votes','ratings','rand_album','rand_photo','latestalbums'),"{parameter_value}") - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:146=+:layoutInfoBelowImage=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:148=+:LimitToMonths=+:Function=+:0=+:get_list_static("{parameter_id}[]",array('no_limit','current month','last month','latest 2 months','latest 3 months','4','5','6','12'),"{parameter_value}") - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:145=+:newestCommentsFirst=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:311=+:numCols=+:Number=+:3=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:310=+:numRows=+:Number=+:1=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:138=+:photosPerPage=+:Number=+:5=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:144=+:showAddComment=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:304=+:showAlbumLink=+:Boolean=+:FALSE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:147=+:showAlbumOwner=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:303=+:showCaption=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:139=+:showCaptureDate=+:Boolean=+:FALSE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:143=+:showComments=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:305=+:showDescription=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:309=+:showGrid=+:Boolean=+:FALSE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:306=+:showRatings=+:Boolean=+:FALSE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:140=+:showUploadDate=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:141=+:showViews=+:Boolean=+:TRUE=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:55=+:150=+:target_block=+:Function=+:0=+:get_list_formatted("gallery","{parameter_value}","{parameter_id}[]") ! option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:308=+:votesNeededToShowRating=+:Number=+:5=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - gallery_toplist=+:Demo block=+:55=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 --- 7,29 ---- function=+:45=+:55=+:gallery_toplist=+:=+:modules_toplist.php=+: parameter=+:55=+:137=+:Block_Style=+:Function=+:0=+:get_list_static("{parameter_id}[]",array('date','views','cdate','comments','votes','ratings','rand_album','rand_photo','latestalbums'),"{parameter_value}") parameter=+:55=+:146=+:layoutInfoBelowImage=+:Boolean=+:TRUE=+: parameter=+:55=+:148=+:LimitToMonths=+:Function=+:0=+:get_list_static("{parameter_id}[]",array('no_limit','current month','last month','latest 2 months','latest 3 months','4','5','6','12'),"{parameter_value}") parameter=+:55=+:145=+:newestCommentsFirst=+:Boolean=+:TRUE=+: parameter=+:55=+:311=+:numCols=+:Number=+:3=+: parameter=+:55=+:310=+:numRows=+:Number=+:1=+: parameter=+:55=+:138=+:photosPerPage=+:Number=+:5=+: parameter=+:55=+:144=+:showAddComment=+:Boolean=+:TRUE=+: parameter=+:55=+:304=+:showAlbumLink=+:Boolean=+:FALSE=+: parameter=+:55=+:147=+:showAlbumOwner=+:Boolean=+:TRUE=+: parameter=+:55=+:303=+:showCaption=+:Boolean=+:TRUE=+: parameter=+:55=+:139=+:showCaptureDate=+:Boolean=+:FALSE=+: parameter=+:55=+:143=+:showComments=+:Boolean=+:TRUE=+: parameter=+:55=+:305=+:showDescription=+:Boolean=+:TRUE=+: parameter=+:55=+:309=+:showGrid=+:Boolean=+:FALSE=+: parameter=+:55=+:306=+:showRatings=+:Boolean=+:FALSE=+: parameter=+:55=+:140=+:showUploadDate=+:Boolean=+:TRUE=+: parameter=+:55=+:141=+:showViews=+:Boolean=+:TRUE=+: ! parameter=+:55=+:150=+:target_block=+:Function=+:0=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "modules.php") parameter=+:55=+:308=+:votesNeededToShowRating=+:Number=+:5=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - gallery_toplist=+:Demo block=+:55=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_gallery/db_uninstall.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** db_uninstall.php 16 Jan 2005 01:02:18 -0000 1.3 --- db_uninstall.php 22 Sep 2005 10:08:46 -0000 1.4 *************** *** 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,33 **** if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); - // Start session management - $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); --- 23,30 ---- if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); *************** *** 35,58 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } - // End session management - } // If fresh install ! $message = "<b>You are uninstalling the module tables!</b><br/><br/>"; 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 />"; --- 32,53 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } // If fresh install ! $uninstall_message = "<b>You are uninstalling the module tables!</b><br/><br/>"; 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\">" . $uninstall_message . "</span></td></tr>"; echo "</table><br />"; Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_gallery/db_install.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** db_install.php 6 Mar 2005 01:12:17 -0000 1.4 --- db_install.php 22 Sep 2005 10:08:46 -0000 1.5 *************** *** 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,37 **** define( 'IN_PORTAL', true ); - - $mx_module_version = 'mxBB Gallery Module 1.0.0'; - $mx_module_copy = 'Based on <a href="http://gallery.sourceforge.net/" target="_phpbb" >Menalto Gallery</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); - // Start session management - $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); --- 21,30 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); *************** *** 39,54 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } - // End session management - } // If fresh install $sql = array(); --- 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 Gallery Module 1.0.0'; + $mx_module_copy = 'Based on <a href="http://gallery.sourceforge.net/" target="_phpbb" >Menalto Gallery</a>'; + // If fresh install $sql = array(); Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_gallery/db_upgrade.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** db_upgrade.php 6 Mar 2005 01:12:17 -0000 1.4 --- db_upgrade.php 22 Sep 2005 10:08:46 -0000 1.5 *************** *** 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,37 **** define( 'IN_PORTAL', true ); - - $mx_module_version = 'mxBB Gallery Module 1.0.0'; - $mx_module_copy = 'Based on <a href="http://gallery.sourceforge.net/" target="_phpbb" >Menalto Gallery</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); - // Start session management - $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); --- 21,30 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); *************** *** 39,54 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } - // End session management - } // If fresh install $sql = array(); --- 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 Gallery Module 1.0.0'; + $mx_module_copy = 'Based on <a href="http://gallery.sourceforge.net/" target="_phpbb" >Menalto Gallery</a>'; + // If fresh install $sql = array(); |