|
From: Jon O. <jon...@us...> - 2005-09-22 10:24:06
|
Update of /cvsroot/mxbb/mx_smartor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11207/modules/mx_smartor Modified Files: Smartor_album.pak db_install.php db_uninstall.php db_upgrade.php Log Message: updates Index: Smartor_album.pak =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/Smartor_album.pak,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Smartor_album.pak 15 Jan 2005 23:54:44 -0000 1.4 --- Smartor_album.pak 22 Sep 2005 10:23:55 -0000 1.5 *************** *** 7,23 **** function=+:44=+:51=+:Smartor_album_list=+:Smartor album toplists=+:album_lists.php=+: parameter=+:51=+:126=+:display_latest_posts=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:51=+:123=+:display_most_posts=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:51=+:124=+:display_random_posts=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:51=+:125=+:display_top_ranked=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:51=+:127=+:num_of_cols=+:Number=+:1=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:51=+:128=+:num_of_rows=+:Number=+:2=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:51=+:149=+:target_block=+:Function=+:0=+:get_list_formatted("smartor","{parameter_value}","{parameter_id}[]") ! option=+:0=+:0=+:0=+:endoflist=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - Smartor_album_list=+:Demo block=+:51=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 --- 7,16 ---- function=+:44=+:51=+:Smartor_album_list=+:Smartor album toplists=+:album_lists.php=+: parameter=+:51=+:126=+:display_latest_posts=+:Boolean=+:TRUE=+: parameter=+:51=+:123=+:display_most_posts=+:Boolean=+:TRUE=+: parameter=+:51=+:124=+:display_random_posts=+:Boolean=+:TRUE=+: parameter=+:51=+:125=+:display_top_ranked=+:Boolean=+:TRUE=+: parameter=+:51=+:127=+:num_of_cols=+:Number=+:1=+: parameter=+:51=+:128=+:num_of_rows=+:Number=+:2=+: ! parameter=+:51=+:149=+:target_block=+:Function=+:0=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "album.php") parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - Smartor_album_list=+:Demo block=+:51=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/db_uninstall.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** db_uninstall.php 16 Jan 2005 01:05:14 -0000 1.4 --- db_uninstall.php 22 Sep 2005 10:23:55 -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 * * ------------------------------------------------------------------------- * *************** *** 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,45 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } $sql = array( "DROP TABLE " . $mx_table_prefix . "smartor_album ", --- 32,45 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + $sql = array( "DROP TABLE " . $mx_table_prefix . "smartor_album ", *************** *** 55,67 **** ); - $n = 0; - $message = "<b>This list is a result of the SQL queries needed for smartor module</b><br /><br />"; - - $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 />"; --- 55,62 ---- ); 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: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/db_install.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** db_install.php 6 Mar 2005 01:13:49 -0000 1.6 --- db_install.php 22 Sep 2005 10:23:55 -0000 1.7 *************** *** 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_module_version = 'mxBB Smartor Album Module 2.0.0'; - $mx_module_copy = 'Based on <a href="http://smartor.is-root.com" target="_blank">Smartor & Clown</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 ); *************** *** 37,49 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } // If upgrading from old mx album if ( $result = $db->sql_query( "SELECT config_name from " . $mx_table_prefix . "album_config" ) ) --- 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 Smartor Album Module 2.0.0'; + $mx_module_copy = 'Based on <a href="http://smartor.is-root.com" target="_blank">Smartor & Clown</a>'; + // If upgrading from old mx album if ( $result = $db->sql_query( "SELECT config_name from " . $mx_table_prefix . "album_config" ) ) Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/db_upgrade.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** db_upgrade.php 6 Mar 2005 01:13:49 -0000 1.6 --- db_upgrade.php 22 Sep 2005 10:23:55 -0000 1.7 *************** *** 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_module_version = 'mxBB Smartor Album Module 2.0.0'; - $mx_module_copy = 'Based on <a href="http://smartor.is-root.com" target="_blank">Smartor & Clown</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 ); *************** *** 37,50 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } $sql = array(); // Precheck --- 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 Smartor Album Module 2.0.0'; + $mx_module_copy = 'Based on <a href="http://smartor.is-root.com" target="_blank">Smartor & Clown</a>'; + $sql = array(); // Precheck |