You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: Jon O. <jon...@us...> - 2005-10-24 20:13:16
|
Update of /cvsroot/mxbb/core/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv369/admin Modified Files: admin_mx_chkobjs.php Log Message: replaced all message_die with mx_message_die Index: admin_mx_chkobjs.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_chkobjs.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** admin_mx_chkobjs.php 1 Oct 2005 14:10:44 -0000 1.13 --- admin_mx_chkobjs.php 24 Oct 2005 20:12:58 -0000 1.14 *************** *** 157,161 **** '</div><br /> ' . '</form>'; ! message_die(GENERAL_MESSAGE, $message, $my_script_title); break; case 'db_delete': --- 157,161 ---- '</div><br /> ' . '</form>'; ! mx_message_die(GENERAL_MESSAGE, $message, $my_script_title); break; case 'db_delete': *************** *** 163,167 **** if( !chkobjs_dbQuery($sql) ) { ! message_die(GENERAL_ERROR, "Couldn't DELETE data from table : " . $table, "", __LINE__, __FILE__, $sql); } --- 163,167 ---- if( !chkobjs_dbQuery($sql) ) { ! mx_message_die(GENERAL_ERROR, "Couldn't DELETE data from table : " . $table, "", __LINE__, __FILE__, $sql); } |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:13:09
|
Update of /cvsroot/mxbb/core/modules/mx_coreblocks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv369/modules/mx_coreblocks Modified Files: mx_online.php mx_poll.php Log Message: replaced all message_die with mx_message_die Index: mx_poll.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_poll.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** mx_poll.php 23 Oct 2005 18:48:21 -0000 1.24 --- mx_poll.php 24 Oct 2005 20:12:59 -0000 1.25 *************** *** 171,175 **** $mx_block->show_title = false; $mx_block->show_block = false; ! return; //message_die(GENERAL_ERROR, "Could not obtain vote data for this topic", '', __LINE__, __FILE__, $sql); } --- 171,175 ---- $mx_block->show_title = false; $mx_block->show_block = false; ! return; //mx_message_die(GENERAL_ERROR, "Could not obtain vote data for this topic", '', __LINE__, __FILE__, $sql); } *************** *** 190,194 **** $mx_block->show_title = false; $mx_block->show_block = false; ! return; //message_die(GENERAL_ERROR, "Could not obtain user vote data for this topic", '', __LINE__, __FILE__, $sql); } --- 190,194 ---- $mx_block->show_title = false; $mx_block->show_block = false; ! return; //mx_message_die(GENERAL_ERROR, "Could not obtain user vote data for this topic", '', __LINE__, __FILE__, $sql); } Index: mx_online.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_online.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** mx_online.php 23 Oct 2005 18:48:21 -0000 1.11 --- mx_online.php 24 Oct 2005 20:12:59 -0000 1.12 *************** *** 48,52 **** if( !($result = $db->sql_query($sql)) ) { ! message_die(GENERAL_ERROR, 'Could not obtain user/online information', '', __LINE__, __FILE__, $sql); } --- 48,52 ---- if( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not obtain user/online information', '', __LINE__, __FILE__, $sql); } *************** *** 127,131 **** if ( !$db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, 'Could not update online user record (nr of users)', '', __LINE__, __FILE__, $sql); } --- 127,131 ---- if ( !$db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not update online user record (nr of users)', '', __LINE__, __FILE__, $sql); } *************** *** 135,139 **** if ( !$db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, 'Could not update online user record (date)', '', __LINE__, __FILE__, $sql); } } --- 135,139 ---- if ( !$db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not update online user record (date)', '', __LINE__, __FILE__, $sql); } } |
|
From: Andrew N. \(MHobbit\) <men...@us...> - 2005-10-24 01:09:05
|
Update of /cvsroot/mxbb/mx_dev_startkit/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3654/language/lang_english Modified Files: lang_admin.php lang_main.php Log Message: Some more fixes... Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_dev_startkit/language/lang_english/lang_main.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** lang_main.php 22 Oct 2005 22:42:31 -0000 1.2 --- lang_main.php 24 Oct 2005 01:08:52 -0000 1.3 *************** *** 4,9 **** * ------------------- * begin : Sunday, Mar 31, 2003 ! * copyright : (C) 2001 The phpBB Group ! * email : su...@ph... * * $Id$ --- 4,9 ---- * ------------------- * begin : Sunday, Mar 31, 2003 ! * copyright : (C) 2001 mxBB Team ! * email : nu...@mx... * * $Id$ *************** *** 24,28 **** // Block specific // ! $lang['Startkit'] = 'This is a developers startkit exampmle block'; $lang['Startkit_parameter'] = 'Block Parameters'; --- 24,28 ---- // Block specific // ! $lang['Startkit'] = 'This is a developer\'s startkit example block'; $lang['Startkit_parameter'] = 'Block Parameters'; *************** *** 46,50 **** $lang['Startkit_get'] = 'GET value'; $lang['Startkit_get_explain'] = 'This is a fetched GET parameter'; ! $lang['Test_get_par'] = 'This block recognises the GET var "test". Try adding "&test=whatever" to the page url.'; ?> \ No newline at end of file --- 46,50 ---- $lang['Startkit_get'] = 'GET value'; $lang['Startkit_get_explain'] = 'This is a fetched GET parameter'; ! $lang['Test_get_par'] = 'This block recognizes the GET var "test". Try adding "&test=whatever" to the page url.'; ?> \ No newline at end of file Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_dev_startkit/language/lang_english/lang_admin.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** lang_admin.php 24 Oct 2005 01:06:44 -0000 1.3 --- lang_admin.php 24 Oct 2005 01:08:52 -0000 1.4 *************** *** 25,31 **** // $lang['Config_Startkit'] = "mxBB Startkit Example AdminCP"; ! $lang['Config_Startkit_explain'] = "This panel demonstrates how the module may be configured using additional db tables."; ! $lang['Startkit_config_updated'] = "Calendar Configuration Updated Sucessfully"; $lang['Startkit_return_config'] = 'Click %sHere%s to return to Calendar Configuration'; --- 25,31 ---- // $lang['Config_Startkit'] = "mxBB Startkit Example AdminCP"; ! $lang['Config_Startkit_explain'] = "This panel demonstrates how the module may be configured using additional DB tables."; ! $lang['Startkit_config_updated'] = "Calendar Configuration Updated Successfully"; $lang['Startkit_return_config'] = 'Click %sHere%s to return to Calendar Configuration'; |
|
From: Andrew N. \(MHobbit\) <men...@us...> - 2005-10-24 01:06:58
|
Update of /cvsroot/mxbb/mx_dev_startkit/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2993/language/lang_english Modified Files: lang_admin.php Log Message: Wrong copyright (phpBB's info was there) Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_dev_startkit/language/lang_english/lang_admin.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** lang_admin.php 22 Oct 2005 22:42:31 -0000 1.2 --- lang_admin.php 24 Oct 2005 01:06:44 -0000 1.3 *************** *** 4,9 **** * ------------------- * begin : Sunday, Mar 31, 2003 ! * copyright : (C) 2001 The phpBB Group ! * email : su...@ph... * * $Id$ --- 4,9 ---- * ------------------- * begin : Sunday, Mar 31, 2003 ! * copyright : (C) 2001 mxBB Team ! * email : nu...@mx... * * $Id$ |
|
From: Andrew N. \(MHobbit\) <men...@us...> - 2005-10-24 00:56:07
|
Update of /cvsroot/mxbb/core/templates/subSilver/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1091/templates/subSilver/admin Modified Files: index_body.tpl Log Message: Added/implemented the mxBB version check... commented the beginning and end of the phpBB version check and mxBB version check code blocks... Index: index_body.tpl =================================================================== RCS file: /cvsroot/mxbb/core/templates/subSilver/admin/index_body.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** index_body.tpl 23 Oct 2005 17:11:50 -0000 1.4 --- index_body.tpl 24 Oct 2005 00:55:41 -0000 1.5 *************** *** 74,77 **** --- 74,78 ---- <h1>{L_VERSION_INFORMATION}</h1> + {MXBB_VERSION_INFO} {PHPBB_VERSION_INFO} |
|
From: Andrew N. \(MHobbit\) <men...@us...> - 2005-10-24 00:56:07
|
Update of /cvsroot/mxbb/core/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1091/admin Modified Files: index.php Log Message: Added/implemented the mxBB version check... commented the beginning and end of the phpBB version check and mxBB version check code blocks... Index: index.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/index.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** index.php 23 Oct 2005 02:17:29 -0000 1.15 --- index.php 24 Oct 2005 00:55:40 -0000 1.16 *************** *** 762,766 **** } ! // Check for new phpBB version $current_phpbb_version = explode('.', '2' . $board_config['version']); $minor_phpbb_revision = (int) $current_phpbb_version[2]; --- 762,766 ---- } ! /* Begin phpBB version check code block */ $current_phpbb_version = explode('.', '2' . $board_config['version']); $minor_phpbb_revision = (int) $current_phpbb_version[2]; *************** *** 821,828 **** $phpbb_version_info .= '<p>' . $lang['Mailing_list_subscribe_reminder'] . '</p>'; ! // done with the phpBB version check for now $template->assign_vars(array( 'PHPBB_VERSION_INFO' => $phpbb_version_info, 'L_VERSION_INFORMATION' => $lang['Version_information']) --- 821,891 ---- $phpbb_version_info .= '<p>' . $lang['Mailing_list_subscribe_reminder'] . '</p>'; ! /* End phpBB version check code block */ ! ! ! /* Begin mxBB version check code block */ ! $current_mxbb_version = explode('.', $portal_config['portal_version']); ! $minor_mxbb_revision = (int) $current_mxbb_version[2]; ! ! $errno = 0; ! $errstr = $mxbb_version_info = ''; ! ! if ($fsock = @fsockopen('www.mx-system.com', 80, $errno, $errstr)) ! { ! @fputs($fsock, "GET /updatecheck/28x.txt HTTP/1.1\r\n"); ! @fputs($fsock, "HOST: www.mx-system.com\r\n"); ! @fputs($fsock, "Connection: close\r\n\r\n"); ! ! $get_info = false; ! while (!@feof($fsock)) ! { ! if ($get_info) ! { ! $mxbb_version_info .= @fread($fsock, 1024); ! } ! else ! { ! if (@fgets($fsock, 1024) == "\r\n") ! { ! $get_info = true; ! } ! } ! } ! @fclose($fsock); ! ! $mxbb_version_info = explode("\n", $mxbb_version_info); ! $latest_mxbb_head_revision = (int) $mxbb_version_info[0]; ! $latest_mxbb_minor_revision = (int) $mxbb_version_info[2]; ! $latest_mxbb_version = (int) $mxbb_version_info[0] . '.' . (int) $mxbb_version_info[1] . '.' . (int) $mxbb_version_info[2]; ! ! if ($minor_mxbb_revision == $latest_mxbb_minor_revision) ! { ! $mxbb_version_info = '<p style="color:green">' . $lang['mxBB_Version_up_to_date'] . '</p>'; ! } ! else ! { ! $mxbb_version_info = '<p style="color:red">' . $lang['mxBB_Version_outdated']; ! $mxbb_version_info .= '<br />' . sprintf($lang['mxBB_Latest_version_info'], $latest_mxbb_version) . sprintf($lang['mxBB_Current_version_info'], $portal_config['portal_version']) . '</p>'; ! } ! } ! else ! { ! if ($errstr) ! { ! $mxbb_version_info = '<p style="color:red">' . sprintf($lang['Connect_socket_error'], $errstr) . '</p>'; ! } ! else ! { ! $mxbb_version_info = '<p>' . $lang['Socket_functions_disabled'] . '</p>'; ! } ! } ! ! $mxbb_version_info .= '<p>' . $lang['mxBB_Mailing_list_subscribe_reminder'] . '</p>'; ! ! /* End mxBB version check code block */ $template->assign_vars(array( + 'MXBB_VERSION_INFO' => $mxbb_version_info, 'PHPBB_VERSION_INFO' => $phpbb_version_info, 'L_VERSION_INFORMATION' => $lang['Version_information']) |
|
From: Andrew N. \(MHobbit\) <men...@us...> - 2005-10-24 00:56:03
|
Update of /cvsroot/mxbb/core/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1091/language/lang_english Modified Files: lang_admin.php Log Message: Added/implemented the mxBB version check... commented the beginning and end of the phpBB version check and mxBB version check code blocks... Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/core/language/lang_english/lang_admin.php,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** lang_admin.php 23 Oct 2005 20:51:30 -0000 1.50 --- lang_admin.php 24 Oct 2005 00:55:40 -0000 1.51 *************** *** 534,537 **** --- 534,546 ---- // + // Version Checker + // + $lang['mxBB_Version_up_to_date'] = 'Your mxBB installation is up to date. No updates are available for your version of mxBB.'; + $lang['mxBB_Version_outdated'] = 'Your mxBB installation does <b>not</b> seem to be up to date. Updates are available for your version of mxBB. Please visit <a href="http://www.mx-system.com/index.php?page=4&action=file&file_id=2" target="_new">the mxBB Core package download</a> to obtain the latest version.'; + $lang['mxBB_Latest_version_info'] = 'The latest available version is <b>mxBB %s</b>. '; + $lang['mxBB_Current_version_info'] = 'You are running <b>mxBB %s</b>.'; + $lang['mxBB_Mailing_list_subscribe_reminder'] = 'For the latest information on news and updates to mxBB, why not <a href="http://lists.sourceforge.net/lists/listinfo/mxbb-news" target="_new">subscribe to our mailing list</a>.'; + + // // That's all Folks! // ------------------------------------------------- |
|
From: Andrew N. \(MHobbit\) <men...@us...> - 2005-10-23 21:58:36
|
Update of /cvsroot/mxbb/core/modules/mx_rebuild_search_tables/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28598/modules/mx_rebuild_search_tables/admin Modified Files: admin_rebuild_search.php Log Message: Committed selven's fix... rebuilding the search no longer gives any errors itself... Index: admin_rebuild_search.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_rebuild_search_tables/admin/admin_rebuild_search.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** admin_rebuild_search.php 1 Oct 2005 14:10:45 -0000 1.2 --- admin_rebuild_search.php 23 Oct 2005 21:58:24 -0000 1.3 *************** *** 48,51 **** --- 48,52 ---- require( $mx_root_path . 'extension.inc' ); require( $mx_root_path . 'admin/pagestart.' . $phpEx ); + require ($phpbb_root_path . 'includes/functions_search.'.$phpEx); // ********************************************************************** |
|
From: Andrew N. \(MHobbit\) <men...@us...> - 2005-10-23 20:52:31
|
Update of /cvsroot/mxbb/mx_newssuite/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16316/language/lang_english Modified Files: lang_main.php Log Message: Final round of language fixes I hope... Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/language/lang_english/lang_main.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** lang_main.php 1 Oct 2005 14:14:45 -0000 1.3 --- lang_main.php 23 Oct 2005 20:52:21 -0000 1.4 *************** *** 46,50 **** // $lang['News_updated_return_settings'] = "News configuration updated successfully.<br /><br />Click %shere%s to return to News Settings."; // %s's for URI params - DO NOT REMOVE ! $lang['News_update_error'] = "Couldn't update news configuration.<br /><br />This mod is designed for MySQL so please contact the author if you have troubles. If you can offer a translation of the SQL into other database formats, please send them to:<br />"; $lang['Read more'] = "Read more"; --- 46,50 ---- // $lang['News_updated_return_settings'] = "News configuration updated successfully.<br /><br />Click %shere%s to return to News Settings."; // %s's for URI params - DO NOT REMOVE ! $lang['News_update_error'] = "Couldn't update news configuration.<br /><br />This module is designed for MySQL so please contact the author if you are having problems. If you can offer a translation of the SQL into other database formats, please send them to:<br />"; $lang['Read more'] = "Read more"; |
|
From: Andrew N. \(MHobbit\) <men...@us...> - 2005-10-23 20:52:10
|
Update of /cvsroot/mxbb/mx_pafiledb/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16232/language/lang_english Modified Files: lang_admin.php lang_main.php Log Message: Final round of language fixes I hope... Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/language/lang_english/lang_main.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** lang_main.php 1 Oct 2005 14:15:19 -0000 1.3 --- lang_main.php 23 Oct 2005 20:52:01 -0000 1.4 *************** *** 44,50 **** // Toplists mx blocks ! $lang['Recent_Public_Files'] = 'Latest dls'; ! $lang['Random_Public_Files'] = 'Random dls'; ! $lang['Toprated_Public_Files'] = 'Toprated dls'; $lang['Most_Public_Files'] = 'Most downloaded'; $lang['File_Title'] = 'Title'; --- 44,50 ---- // Toplists mx blocks ! $lang['Recent_Public_Files'] = 'Latest DLs'; ! $lang['Random_Public_Files'] = 'Random DLs'; ! $lang['Toprated_Public_Files'] = 'Toprated DLs'; $lang['Most_Public_Files'] = 'Most downloaded'; $lang['File_Title'] = 'Title'; *************** *** 91,98 **** $lang['Not_available'] = 'Not Available!'; $lang['Bytes'] = 'Bytes'; ! $lang['KB'] = 'Kilo Byte'; ! $lang['MB'] = 'Mega Byte'; $lang['Mirrors'] = 'Mirrors'; ! $lang['Mirrors_explain'] = 'Here you can add or edit mirrors for this file, make sure to verify all the information because the file will be submitted to the database'; $lang['Click_here_mirrors'] = 'Click Here to Add mirrors'; $lang['Mirror_location'] = 'Mirror Location'; --- 91,98 ---- $lang['Not_available'] = 'Not Available!'; $lang['Bytes'] = 'Bytes'; ! $lang['KB'] = 'Kilobyte'; ! $lang['MB'] = 'Megabyte'; $lang['Mirrors'] = 'Mirrors'; ! $lang['Mirrors_explain'] = 'Here you can add or edit mirrors for this file. Make sure to verify all the information because the file will be submitted to the database'; $lang['Click_here_mirrors'] = 'Click Here to Add mirrors'; $lang['Mirror_location'] = 'Mirror Location'; *************** *** 106,110 **** $lang['Licensewarn'] = 'You must agree to this license agreement to download'; $lang['Iagree'] = 'I Agree'; ! $lang['Dontagree'] = 'I Dont Agree'; // Search --- 106,110 ---- $lang['Licensewarn'] = 'You must agree to this license agreement to download'; $lang['Iagree'] = 'I Agree'; ! $lang['Dontagree'] = 'I Don\'t Agree'; // Search *************** *** 117,121 **** $lang['Choose_cat'] = 'Choose Category:'; $lang['Include_comments'] = 'Include Comments'; ! $lang['Submiter'] = 'Submited by'; // Statistics --- 117,121 ---- $lang['Choose_cat'] = 'Choose Category:'; $lang['Include_comments'] = 'Include Comments'; ! $lang['Submiter'] = 'Submitted by'; // Statistics *************** *** 201,205 **** //Permission ! $lang['Sorry_auth_view'] = 'Sorry, but only %s can view files and sub category in this category.'; $lang['Sorry_auth_file_view'] = 'Sorry, but only %s can view this file in this category.'; $lang['Sorry_auth_upload'] = 'Sorry, but only %s can upload file in this category.'; --- 201,205 ---- //Permission ! $lang['Sorry_auth_view'] = 'Sorry, but only %s can view files and subcategory in this category.'; $lang['Sorry_auth_file_view'] = 'Sorry, but only %s can view this file in this category.'; $lang['Sorry_auth_upload'] = 'Sorry, but only %s can upload file in this category.'; *************** *** 219,223 **** // General $lang['Category'] = 'Category'; ! $lang['Error_no_download'] = 'The selected File does not exist anymore'; $lang['Options'] = 'Options'; $lang['Click_return'] = 'Click %sHere%s to return to the previous page'; --- 219,223 ---- // General $lang['Category'] = 'Category'; ! $lang['Error_no_download'] = 'The selected file does not exist anymore'; $lang['Options'] = 'Options'; $lang['Click_return'] = 'Click %sHere%s to return to the previous page'; *************** *** 243,254 **** $lang['Quickdl'] = 'Default Pa Cat'; ! $lang['Quickdl_explain'] = 'This is the default pafiledb category to display, if no mapping is activated'; ! $lang['Pa_updated_return_settings'] = "Pa quickdl configuration updated successfully.<br /><br />Click %shere%s to return to main page."; // %s's for URI params - DO NOT REMOVE ! $lang['Pa_update_error'] = "Couldn't update Pa quickdl configuration.<br /><br />This mod is designed for MySQL so please contact the author if you have troubles. If you can offer a translation of the SQL into other database formats, please send them to:<br />"; ! $lang['Pa_settings'] = "Pa mapping settings"; ! $lang['Pa_settings_short_explain'] = "Settings for mapping pa cats and dynamic blocks."; ! $lang['Pa_settings_explain'] = "Here you can edit the configuration for the pa module. This panel lets you associate pa cats and dynamic blocks for the quickdl block."; // PM Notification --- 243,254 ---- $lang['Quickdl'] = 'Default Pa Cat'; ! $lang['Quickdl_explain'] = 'This is the default pafileDN category to display, if no mapping is activated'; ! $lang['Pa_updated_return_settings'] = "pafileDB QuickDL configuration updated successfully.<br /><br />Click %shere%s to return to main page."; // %s's for URI params - DO NOT REMOVE ! $lang['Pa_update_error'] = "Couldn't update pafileDB QuickDL configuration.<br /><br />This module is designed for MySQL so please contact the author if you are having problems. If you can offer a translation of the SQL into other database formats, please send them to:<br />"; ! $lang['Pa_settings'] = "pafileDB mapping settings"; ! $lang['Pa_settings_short_explain'] = "Settings for mapping pafileDB catagories and dynamic blocks."; ! $lang['Pa_settings_explain'] = "Here you can edit the configuration for the pa module. This panel lets you associate pafileDB categories and dynamic blocks for the QuickDL block."; // PM Notification Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/language/lang_english/lang_admin.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** lang_admin.php 1 Oct 2005 14:15:19 -0000 1.3 --- lang_admin.php 23 Oct 2005 20:52:01 -0000 1.4 *************** *** 47,51 **** $lang['Dcattitle'] = 'Delete Category'; $lang['Rcattitle'] = 'Reorder Categories'; ! $lang['Catexplain'] = 'You can use the Category Management section to add, edit, delete and reorder categories. In order to add files to your database, you must have at least one category created. You can select a link below to manage your categories.'; $lang['Rcatexplain'] = 'You can reorder categories to change the position they are displayed in on the main page. To reorder the categories, change the numbers to the order you want them shown in. 1 will be showed first, 2 will be shown second, etc. This does not affect sub-categories.'; $lang['Catadded'] = 'The new category has been successfully added'; --- 47,51 ---- $lang['Dcattitle'] = 'Delete Category'; $lang['Rcattitle'] = 'Reorder Categories'; ! $lang['Catexplain'] = 'You can use the Category Management section to add, edit, delete, and reorder categories. In order to add files to your database, you must have at least one category created. You can select a link below to manage your categories.'; $lang['Rcatexplain'] = 'You can reorder categories to change the position they are displayed in on the main page. To reorder the categories, change the numbers to the order you want them shown in. 1 will be showed first, 2 will be shown second, etc. This does not affect sub-categories.'; $lang['Catadded'] = 'The new category has been successfully added'; *************** *** 55,59 **** $lang['Catdescinfo'] = 'This is a description of the files in the category'; $lang['Catparent'] = 'Parent Category'; ! $lang['Catparentinfo'] = 'If you want this category to be a sub-category, select the category you want it to be a sub-category of.'; $lang['Allow_file'] = 'Allow Adding file'; $lang['Allow_file_info'] = 'If you not allow adding file to this category it will be higher level category and you can add category as a sub for this category, like in the forum.'; --- 55,59 ---- $lang['Catdescinfo'] = 'This is a description of the files in the category'; $lang['Catparent'] = 'Parent Category'; ! $lang['Catparentinfo'] = 'If you want this category to be a subcategory, select the category you want it to be a sub-category of.'; $lang['Allow_file'] = 'Allow Adding file'; $lang['Allow_file_info'] = 'If you not allow adding file to this category it will be higher level category and you can add category as a sub for this category, like in the forum.'; *************** *** 61,65 **** $lang['Catedited'] = 'The category you selected has been successfully edited'; $lang['Delfiles'] = 'What do you want to do with the files in this category?'; ! $lang['Do_cat'] = 'What do you want to do with the sub category in this category?'; $lang['Move_to'] = 'Move to'; $lang['Catsdeleted'] = 'The categories you selected have been successfully deleted'; --- 61,65 ---- $lang['Catedited'] = 'The category you selected has been successfully edited'; $lang['Delfiles'] = 'What do you want to do with the files in this category?'; ! $lang['Do_cat'] = 'What do you want to do with the subcategory in this category?'; $lang['Move_to'] = 'Move to'; $lang['Catsdeleted'] = 'The categories you selected have been successfully deleted'; *************** *** 114,121 **** $lang['Showvainfo'] = 'Choose whether or not you wish to have the \'View All Files\' category displayed with the other categories on the main page'; $lang['Php_template'] = 'PHP in template'; ! $lang['Php_template_info'] = 'This will allow you to use php directly in the template files'; $lang['Dbdl'] = 'Disable Downloads'; ! $lang['Dbdlinfo'] = 'This will make the download section unavailable to users. This is a good option to use when making modifications to your database. Only Admins will be able to view the database'; ! $lang['Isdisabled'] = 'The download section is currently unavailable, please try again later.'; $lang['Com_allowh'] = 'Allow HTML'; $lang['Com_allowb'] = 'Allow BBCode'; --- 114,121 ---- $lang['Showvainfo'] = 'Choose whether or not you wish to have the \'View All Files\' category displayed with the other categories on the main page'; $lang['Php_template'] = 'PHP in template'; ! $lang['Php_template_info'] = 'This will allow you to use PHP directly in the template files'; $lang['Dbdl'] = 'Disable Downloads'; ! $lang['Dbdlinfo'] = 'This will make the download section unavailable to users. This is a good option to use when making modifications to your database. Only admins will be able to view the database'; ! $lang['Isdisabled'] = 'The download section is currently unavailable. Please try again later.'; $lang['Com_allowh'] = 'Allow HTML'; $lang['Com_allowb'] = 'Allow BBCode'; *************** *** 127,135 **** $lang['Com_messagei'] = 'Default \'No Images\' Message'; $lang['Com_messagei_info'] = 'If images are not allowed this text will be displayed instead'; ! $lang['Max_char'] = 'Maximum Number of charcters'; ! $lang['Max_char_info'] = 'If some one posted a comment in which charcters is more that this it will give them an error message (Limit the comment).'; $lang['Settings_changed'] = 'Your settings have been successfully updated'; ! $lang['File_per_page'] = 'Number of file per Page'; ! $lang['File_per_page_info'] = 'Here you can set the number of file per page, if you leave it empty the number of per page will be 20.'; $lang['Hotlink_prevent'] = 'Hotlink Prevention'; $lang['Hotlinl_prevent_info'] = 'Set this to yes if you don\'t want to allow hotlinks to the files'; --- 127,135 ---- $lang['Com_messagei'] = 'Default \'No Images\' Message'; $lang['Com_messagei_info'] = 'If images are not allowed this text will be displayed instead'; ! $lang['Max_char'] = 'Maximum Number of characters'; ! $lang['Max_char_info'] = 'If some one posted a comment in which characters is more that this it will give them an error message (Limit the comment).'; $lang['Settings_changed'] = 'Your settings have been successfully updated'; ! $lang['File_per_page'] = 'Number of files per page'; ! $lang['File_per_page_info'] = 'Here you can set the number of files per page. If you leave it empty the number of per page will be 20.'; $lang['Hotlink_prevent'] = 'Hotlink Prevention'; $lang['Hotlinl_prevent_info'] = 'Set this to yes if you don\'t want to allow hotlinks to the files'; *************** *** 139,143 **** $lang['Default_sort_order'] = 'Default Sort Order'; $lang['Max_filesize'] = 'Maximum Filesize'; ! $lang['Max_filesize_explain'] = 'Maximum filesize for Files. A value of 0 means \'unlimited\'. This Setting is restricted by your Server Configuration. For example, if your php Configuration only allows a maximum of 2 MB uploads, this cannot be overwritten by the Mod.'; $lang['Upload_directory'] = 'Upload Directory'; $lang['Upload_directory_explain'] = 'Enter the relative path from your root installation (where phpBB or mxBB is located) to the files upload directory. If you stick to the file structure provided in the shipped package, enter \'pafiledb/uploads/\'.'; --- 139,143 ---- $lang['Default_sort_order'] = 'Default Sort Order'; $lang['Max_filesize'] = 'Maximum Filesize'; ! $lang['Max_filesize_explain'] = 'Maximum filesize for Files. A value of 0 means \'unlimited\'. This Setting is restricted by your Server Configuration. For example, if your PHP Configuration only allows a maximum of 2 MB uploads, this cannot be overwritten by the module.'; $lang['Upload_directory'] = 'Upload Directory'; $lang['Upload_directory_explain'] = 'Enter the relative path from your root installation (where phpBB or mxBB is located) to the files upload directory. If you stick to the file structure provided in the shipped package, enter \'pafiledb/uploads/\'.'; *************** *** 145,149 **** $lang['Screenshots_directory_explain'] = 'Enter the relative path from your root installation (where phpBB or mxBB is located) to the Screenshots upload directory. If you stick to the file structure provided in the shipped package, enter \'pafiledb/images/screenshots/\'.'; $lang['Forbidden_extensions'] = 'Forbidden Extensions'; ! $lang['Forbidden_extensions_explain'] = 'Here you can add or delete the forbidden extensions. Seprate each extenstion with comma.'; $lang['Permission_settings'] = 'Permission settings'; $lang['Auth_search'] = 'Search Permission'; --- 145,149 ---- $lang['Screenshots_directory_explain'] = 'Enter the relative path from your root installation (where phpBB or mxBB is located) to the Screenshots upload directory. If you stick to the file structure provided in the shipped package, enter \'pafiledb/images/screenshots/\'.'; $lang['Forbidden_extensions'] = 'Forbidden Extensions'; ! $lang['Forbidden_extensions_explain'] = 'Here you can add or delete the forbidden extensions. Separate each extenstion with comma.'; $lang['Permission_settings'] = 'Permission settings'; $lang['Auth_search'] = 'Search Permission'; *************** *** 180,184 **** $lang['Field_data'] = 'Options'; ! $lang['Field_data_info'] = 'Enter the options that the user can choose from. Separate each option with a new-line (carriage return).'; $lang['Field_regex'] = 'Regular Expression'; $lang['Field_regex_info'] = 'You may require the input field to match a regular expression %s(PCRE)%s.'; --- 180,184 ---- $lang['Field_data'] = 'Options'; ! $lang['Field_data_info'] = 'Enter the options that the user can choose from. Separate each option with a newline (carriage return).'; $lang['Field_regex'] = 'Regular Expression'; $lang['Field_regex_info'] = 'You may require the input field to match a regular expression %s(PCRE)%s.'; *************** *** 212,226 **** $lang['Fileversioninfo'] = 'This is the version of the file, such as 3.0 or 1.3 Beta'; $lang['Filess'] = 'Screenshot URL'; ! $lang['Filessinfo'] = 'This is a URL to a screenshot of the file. For example, if you are adding a Winamp skin, this would be a URL to a screenshot of Winamp with this skin. You can manually enter a URL or you can leave it blank and upload a screen shot using browse above.'; $lang['Filess_upload'] = 'Upload Screenshot'; ! $lang['Filessinfo_upload'] = 'You can upload screenshot by clicking on browse'; ! $lang['Filess_link'] = 'Screen Shot as Link'; ! $lang['Filess_link_info'] = 'If you want to show screen shot as link make this as yes.'; $lang['Filedocs'] = 'Documentation/Manual URL'; $lang['Filedocsinfo'] = 'This is a URL to the documentation or a manual for the file'; $lang['Fileurl'] = 'File URL'; ! $lang['Fileurlinfo'] = 'This is a URL to the file that will be downloaded. You can type it in manually or you can click on browse above and upload a file.'; $lang['File_upload'] = 'File Upload'; ! $lang['Fileinfo_upload'] = 'You can upload a file by clicking on browse'; $lang['Uploaded_file'] = 'Uploaded file'; $lang['Filepi'] = 'Post Icon'; --- 212,226 ---- $lang['Fileversioninfo'] = 'This is the version of the file, such as 3.0 or 1.3 Beta'; $lang['Filess'] = 'Screenshot URL'; ! $lang['Filessinfo'] = 'This is a URL to a screenshot of the file. For example, if you are adding a Winamp skin, this would be a URL to a screenshot of Winamp with this skin. You can manually enter a URL or you can leave it blank and upload a screen shot using "Browse" above.'; $lang['Filess_upload'] = 'Upload Screenshot'; ! $lang['Filessinfo_upload'] = 'You can upload a screenshot by clicking on "Browse"'; ! $lang['Filess_link'] = 'Screenshot as a Link'; ! $lang['Filess_link_info'] = 'If you want to show the screenshot as a link, choose "yes".'; $lang['Filedocs'] = 'Documentation/Manual URL'; $lang['Filedocsinfo'] = 'This is a URL to the documentation or a manual for the file'; $lang['Fileurl'] = 'File URL'; ! $lang['Fileurlinfo'] = 'This is a URL to the file that will be downloaded. You can type it in manually or you can click on "Browse" above and upload a file.'; $lang['File_upload'] = 'File Upload'; ! $lang['Fileinfo_upload'] = 'You can upload a file by clicking on "Browse"'; $lang['Uploaded_file'] = 'Uploaded file'; $lang['Filepi'] = 'Post Icon'; *************** *** 274,280 **** $lang['Click_edit_permissions'] = 'Click %sHere%s to edit the permissions for this category'; ! //Java script messages and php errors $lang['Cat_name_missing'] = 'Please fill the category name field'; ! $lang['Cat_conflict'] = 'You can\'t have a category with no file in side a category that doesn\'t allow files'; $lang['Cat_id_missing'] = 'Please select a category'; $lang['Missing_field'] = 'Please complete all the required fields'; --- 274,280 ---- $lang['Click_edit_permissions'] = 'Click %sHere%s to edit the permissions for this category'; ! //JavaScript messages and PHP errors $lang['Cat_name_missing'] = 'Please fill the category name field'; ! $lang['Cat_conflict'] = 'You can\'t have a category with no file inside a category that doesn\'t allow files'; $lang['Cat_id_missing'] = 'Please select a category'; $lang['Missing_field'] = 'Please complete all the required fields'; *************** *** 306,317 **** $lang['MCP_title_explain'] = 'Here moderators can approve and manage files'; ! $lang['Fileadded_not_validated'] = 'The new file has been successfully added, but a moderator (admin) need to validate the file before approval.'; // Toplists ! $lang['display_most_posts'] = "Most visited/view/dl<br />"; $lang['display_random_posts'] = "Random<br />"; ! $lang['display_top_ranked'] = "Toprated<br />"; $lang['display_latest_posts'] = "Latest<br />"; ! $lang['num_of_cols'] = "Number of cols<br />"; $lang['num_of_rows'] = "Number of rows<br />"; $lang['target_block'] = "Associated (target) pafileDB Block"; --- 306,317 ---- $lang['MCP_title_explain'] = 'Here moderators can approve and manage files'; ! $lang['Fileadded_not_validated'] = 'The new file has been successfully added, but a moderator (or administrator) needs to validate the file before approval.'; // Toplists ! $lang['display_most_posts'] = "Most visited/viewed/DL<br />"; $lang['display_random_posts'] = "Random<br />"; ! $lang['display_top_ranked'] = "Top-rated<br />"; $lang['display_latest_posts'] = "Latest<br />"; ! $lang['num_of_cols'] = "Number of columns<br />"; $lang['num_of_rows'] = "Number of rows<br />"; $lang['target_block'] = "Associated (target) pafileDB Block"; |
|
From: Andrew N. \(MHobbit\) <men...@us...> - 2005-10-23 20:51:37
|
Update of /cvsroot/mxbb/core/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16124/language/lang_english Modified Files: lang_admin.php Log Message: Final round of language fixes I hope... Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/core/language/lang_english/lang_admin.php,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 *** lang_admin.php 23 Oct 2005 02:18:48 -0000 1.49 --- lang_admin.php 23 Oct 2005 20:51:30 -0000 1.50 *************** *** 226,230 **** // $lang['Block_admin'] = "Block Control Panel"; ! $lang['Block_admin_explain'] = "Use this form to manage Portal Blocks.<br /><b>To use this panel, you need to have javascript and cookies enabled in your browser!</b>"; $lang['Block'] = "Block"; $lang['Show_title'] = "Show Block Title?"; --- 226,230 ---- // $lang['Block_admin'] = "Block Control Panel"; ! $lang['Block_admin_explain'] = "Use this form to manage Portal Blocks.<br /><b>To use this panel, you need to have JavaScript and cookies enabled in your browser!</b>"; $lang['Block'] = "Block"; $lang['Show_title'] = "Show Block Title?"; *************** *** 261,265 **** // $lang['Page_admin'] = "Page Administration"; ! $lang['Page_admin_explain'] = "Use this form to add, delete and change the settings for Portal Pages and Page Templates.<br /><b>To use this panel, you need to have javascript and cookies enabled in your browser!</b>"; $lang['Page_admin_edit'] = "Page Edit"; $lang['Page_admin_private'] = "Advanced Page (PRIVATE) Permissions"; --- 261,265 ---- // $lang['Page_admin'] = "Page Administration"; ! $lang['Page_admin_explain'] = "Use this form to add, delete and change the settings for Portal Pages and Page Templates.<br /><b>To use this panel, you need to have JavaScript and cookies enabled in your browser!</b>"; $lang['Page_admin_edit'] = "Page Edit"; $lang['Page_admin_private'] = "Advanced Page (PRIVATE) Permissions"; |
|
From: Jon O. <jon...@us...> - 2005-10-23 19:46:24
|
Update of /cvsroot/mxbb/mx_kb/templates/subSilver/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3205/modules/mx_kb/templates/subSilver/admin Removed Files: config_body.tpl Log Message: removed --- config_body.tpl DELETED --- |
|
From: Jon O. <jon...@us...> - 2005-10-23 18:53:01
|
Update of /cvsroot/mxbb/mx_smartor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22562/modules/mx_smartor Modified Files: album.php album_lists.php Log Message: Updated all blocks to use the new $mx_block->get_parameters() api, instead of old red_block_config() function Index: album_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_lists.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** album_lists.php 1 Oct 2005 14:17:36 -0000 1.10 --- album_lists.php 23 Oct 2005 18:52:53 -0000 1.11 *************** *** 48,56 **** else { ! ! // Read block Configuration ! ! $block_config = read_block_config( $block_id ); ! $title = $block_config[$block_id]['block_title']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); --- 48,55 ---- else { ! // ! // Read Block Settings ! // ! $title = $mx_block->block_info['block_title']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); *************** *** 60,89 **** $album_root_path = $module_root_path . 'album_mod/'; - include_once( $album_root_path . 'album_constants.' . $phpEx ); // Get smartor target block ! $smartor_block_id = $block_config[$block_id]['target_block']['parameter_value']; $smartor_page_id = get_page_id( $smartor_block_id ); - /* - $temp_list = $_SESSION['mx_pages']; - while ( list( $page_idd, $page_roww ) = each( $temp_list ) ) - { - $block_countt = count( $page_roww['blocks'] ); - - for( $j = 0; $j < $block_countt; $j++ ) - { - $block_idd = $page_roww['blocks'][$j]['block_id']; - - if ( $smartor_block_id == $block_idd ) - { - $smartor_page_id = str_replace( 'page_', '', $page_idd ); - break; - } - } - } - */ - // ********************************************************************** // Read language definition --- 59,70 ---- $album_root_path = $module_root_path . 'album_mod/'; include_once( $album_root_path . 'album_constants.' . $phpEx ); + // // Get smartor target block ! // ! $smartor_block_id = $mx_block->get_parameters( 'target_block' ); $smartor_page_id = get_page_id( $smartor_block_id ); // ********************************************************************** // Read language definition *************** *** 127,140 **** // Read block Configuration ! $block_config = read_block_config( $block_id ); ! ! $album_sp_config['img_rows'] = $block_config[$block_id][num_of_rows]['parameter_value']; ! $album_sp_config['img_cols'] = $block_config[$block_id][num_of_cols]['parameter_value']; ! ! $album_sp_config['disp_late'] = $block_config[$block_id][display_latest_posts]['parameter_value'] == 'TRUE' ? 1 : 0; ! $album_sp_config['disp_high'] = $block_config[$block_id][display_top_ranked]['parameter_value'] == 'TRUE' ? 1 : 0; ! $album_sp_config['disp_rand'] = $block_config[$block_id][display_random_posts]['parameter_value'] == 'TRUE' ? 1 : 0; ! $album_sp_config['disp_most'] = $block_config[$block_id][display_most_posts]['parameter_value'] == 'TRUE' ? 1 : 0; $album_config['rate'] = 1; --- 108,118 ---- // Read block Configuration + $album_sp_config['img_rows'] = $mx_block->get_parameters( 'num_of_rows' ); + $album_sp_config['img_cols'] = $mx_block->get_parameters( 'num_of_cols' ); ! $album_sp_config['disp_late'] = $mx_block->get_parameters( 'display_latest_posts' ) == 'TRUE' ? 1 : 0; ! $album_sp_config['disp_high'] = $mx_block->get_parameters( 'display_top_ranked' ) == 'TRUE' ? 1 : 0; ! $album_sp_config['disp_rand'] = $mx_block->get_parameters( 'display_random_posts' ) == 'TRUE' ? 1 : 0; ! $album_sp_config['disp_most'] = $mx_block->get_parameters( 'display_most_posts' ) == 'TRUE' ? 1 : 0; $album_config['rate'] = 1; Index: album.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** album.php 1 Oct 2005 14:17:36 -0000 1.7 --- album.php 23 Oct 2005 18:52:53 -0000 1.8 *************** *** 50,58 **** else { ! ! // Read block Configuration ! ! $block_config = read_block_config( $block_id ); ! $title = $block_config[$block_id]['block_title']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); --- 50,57 ---- else { ! // ! // Read Block Settings ! // ! $title = $mx_block->block_info['block_title']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); |
Update of /cvsroot/mxbb/mx_sitestats In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22488/modules/mx_sitestats Modified Files: adminstats.php collector.php counter.php fastestusers.php monthlyposts.php monthlytopics.php monthlyusers.php mostintopics.php sitestaff.php topavatars.php topposters.php topposters_tiny.php topreferers.php topsmilies.php topstarters.php toptopics.php topwords.php usersranks.php Log Message: Updated all blocks to use the new $mx_block->get_parameters() api, instead of old red_block_config() function Index: topwords.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/topwords.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** topwords.php 15 Oct 2005 22:18:27 -0000 1.1 --- topwords.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 23,27 **** // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt !!!" ); --- 23,27 ---- // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt !!!" ); *************** *** 32,38 **** include_once( $module_root_path . 'includes/common.' . $phpEx ); ! $block_config = read_block_config( $block_id ); ! ! $title = !empty($lang[$block_config[$block_id]['block_title']]) ? $lang[$block_config[$block_id]['block_title']] : $block_config[$block_id]['block_title']; if ( !isset( $ss_phpbb ) ) --- 32,39 ---- include_once( $module_root_path . 'includes/common.' . $phpEx ); ! // ! // Read Block Settings ! // ! $title = !empty($lang[$mx_block->block_info['block_title']]) ? $lang[$mx_block->block_info['block_title']] : $mx_block->block_info['block_title']; if ( !isset( $ss_phpbb ) ) Index: usersranks.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/usersranks.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** usersranks.php 15 Oct 2005 22:18:27 -0000 1.1 --- usersranks.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 23,27 **** // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt !!!" ); --- 23,27 ---- // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt !!!" ); *************** *** 32,38 **** include_once( $module_root_path . 'includes/common.' . $phpEx ); ! $block_config = read_block_config( $block_id ); ! ! $title = !empty($lang[$block_config[$block_id]['block_title']]) ? $lang[$block_config[$block_id]['block_title']] : $block_config[$block_id]['block_title']; if ( !isset( $ss_phpbb ) ) --- 32,39 ---- include_once( $module_root_path . 'includes/common.' . $phpEx ); ! // ! // Read Block Settings ! // ! $title = !empty($lang[$mx_block->block_info['block_title']]) ? $lang[$mx_block->block_info['block_title']] : $mx_block->block_info['block_title']; if ( !isset( $ss_phpbb ) ) Index: topstarters.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/topstarters.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** topstarters.php 15 Oct 2005 22:18:27 -0000 1.1 --- topstarters.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 23,27 **** // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt !!!" ); --- 23,27 ---- // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt !!!" ); *************** *** 32,38 **** include_once( $module_root_path . 'includes/common.' . $phpEx ); ! $block_config = read_block_config( $block_id ); ! ! $title = !empty($lang[$block_config[$block_id]['block_title']]) ? $lang[$block_config[$block_id]['block_title']] : $block_config[$block_id]['block_title']; if ( !isset( $ss_phpbb ) ) --- 32,39 ---- include_once( $module_root_path . 'includes/common.' . $phpEx ); ! // ! // Read Block Settings ! // ! $title = !empty($lang[$mx_block->block_info['block_title']]) ? $lang[$mx_block->block_info['block_title']] : $mx_block->block_info['block_title']; if ( !isset( $ss_phpbb ) ) Index: topavatars.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/topavatars.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** topavatars.php 15 Oct 2005 22:18:27 -0000 1.1 --- topavatars.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 23,27 **** // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt !!!" ); --- 23,27 ---- // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt !!!" ); *************** *** 32,38 **** include_once( $module_root_path . 'includes/common.' . $phpEx ); ! $block_config = read_block_config( $block_id ); ! ! $title = !empty($lang[$block_config[$block_id]['block_title']]) ? $lang[$block_config[$block_id]['block_title']] : $block_config[$block_id]['block_title']; if ( !isset( $ss_phpbb ) ) --- 32,39 ---- include_once( $module_root_path . 'includes/common.' . $phpEx ); ! // ! // Read Block Settings ! // ! $title = !empty($lang[$mx_block->block_info['block_title']]) ? $lang[$mx_block->block_info['block_title']] : $mx_block->block_info['block_title']; if ( !isset( $ss_phpbb ) ) Index: collector.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/collector.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** collector.php 15 Oct 2005 22:18:27 -0000 1.1 --- collector.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 21,25 **** // Security check... ! if ( !defined( 'IN_PORTAL' ) && !defined( 'IN_PHPBB' ) ) { die( "Hacking attempt !!!" ); --- 21,25 ---- // Security check... ! if ( !defined( 'IN_PORTAL' ) && !defined( 'IN_PHPBB' ) || !is_object($mx_block) ) { die( "Hacking attempt !!!" ); *************** *** 33,39 **** include_once( $module_root_path . 'includes/common.' . $phpEx ); ! $block_config = read_block_config( $block_id ); ! ! $title = !empty($lang[$block_config[$block_id]['block_title']]) ? $lang[$block_config[$block_id]['block_title']] : $block_config[$block_id]['block_title']; $module_root_path = $module_root_save; --- 33,40 ---- include_once( $module_root_path . 'includes/common.' . $phpEx ); ! // ! // Read Block Settings ! // ! $title = !empty($lang[$mx_block->block_info['block_title']]) ? $lang[$mx_block->block_info['block_title']] : $mx_block->block_info['block_title']; $module_root_path = $module_root_save; Index: topsmilies.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/topsmilies.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** topsmilies.php 15 Oct 2005 22:18:27 -0000 1.1 --- topsmilies.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 23,27 **** // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt !!!" ); --- 23,27 ---- // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt !!!" ); *************** *** 32,38 **** include_once( $module_root_path . 'includes/common.' . $phpEx ); ! $block_config = read_block_config( $block_id ); ! ! $title = !empty($lang[$block_config[$block_id]['block_title']]) ? $lang[$block_config[$block_id]['block_title']] : $block_config[$block_id]['block_title']; if ( !isset( $ss_phpbb ) ) --- 32,39 ---- include_once( $module_root_path . 'includes/common.' . $phpEx ); ! // ! // Read Block Settings ! // ! $title = !empty($lang[$mx_block->block_info['block_title']]) ? $lang[$mx_block->block_info['block_title']] : $mx_block->block_info['block_title']; if ( !isset( $ss_phpbb ) ) Index: monthlytopics.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/monthlytopics.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** monthlytopics.php 15 Oct 2005 22:18:27 -0000 1.1 --- monthlytopics.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 23,27 **** // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt !!!" ); --- 23,27 ---- // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt !!!" ); *************** *** 32,38 **** include_once( $module_root_path . 'includes/common.' . $phpEx ); ! $block_config = read_block_config( $block_id ); ! ! $title = !empty($lang[$block_config[$block_id]['block_title']]) ? $lang[$block_config[$block_id]['block_title']] : $block_config[$block_id]['block_title']; if ( !isset( $ss_phpbb ) ) --- 32,39 ---- include_once( $module_root_path . 'includes/common.' . $phpEx ); ! // ! // Read Block Settings ! // ! $title = !empty($lang[$mx_block->block_info['block_title']]) ? $lang[$mx_block->block_info['block_title']] : $mx_block->block_info['block_title']; if ( !isset( $ss_phpbb ) ) Index: topposters_tiny.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/topposters_tiny.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** topposters_tiny.php 15 Oct 2005 22:18:27 -0000 1.1 --- topposters_tiny.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 22,26 **** // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt !!!" ); --- 22,26 ---- // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt !!!" ); *************** *** 31,37 **** include_once( $module_root_path . 'includes/common.' . $phpEx ); ! $block_config = read_block_config( $block_id ); ! ! $title = !empty($lang[$block_config[$block_id]['block_title']]) ? $lang[$block_config[$block_id]['block_title']] : $block_config[$block_id]['block_title']; if ( !isset( $ss_phpbb ) ) --- 31,38 ---- include_once( $module_root_path . 'includes/common.' . $phpEx ); ! // ! // Read Block Settings ! // ! $title = !empty($lang[$mx_block->block_info['block_title']]) ? $lang[$mx_block->block_info['block_title']] : $mx_block->block_info['block_title']; if ( !isset( $ss_phpbb ) ) Index: fastestusers.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/fastestusers.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** fastestusers.php 15 Oct 2005 22:18:27 -0000 1.1 --- fastestusers.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 23,27 **** // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt !!!" ); --- 23,27 ---- // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt !!!" ); *************** *** 32,38 **** include_once( $module_root_path . 'includes/common.' . $phpEx ); ! $block_config = read_block_config( $block_id ); ! ! $title = !empty($lang[$block_config[$block_id]['block_title']]) ? $lang[$block_config[$block_id]['block_title']] : $block_config[$block_id]['block_title']; if ( !isset( $ss_phpbb ) ) --- 32,39 ---- include_once( $module_root_path . 'includes/common.' . $phpEx ); ! // ! // Read Block Settings ! // ! $title = !empty($lang[$mx_block->block_info['block_title']]) ? $lang[$mx_block->block_info['block_title']] : $mx_block->block_info['block_title']; if ( !isset( $ss_phpbb ) ) Index: topposters.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/topposters.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** topposters.php 15 Oct 2005 22:18:27 -0000 1.1 --- topposters.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 23,27 **** // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt !!!" ); --- 23,27 ---- // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt !!!" ); *************** *** 32,38 **** include_once( $module_root_path . 'includes/common.' . $phpEx ); ! $block_config = read_block_config( $block_id ); ! ! $title = !empty($lang[$block_config[$block_id]['block_title']]) ? $lang[$block_config[$block_id]['block_title']] : $block_config[$block_id]['block_title']; if ( !isset( $ss_phpbb ) ) --- 32,39 ---- include_once( $module_root_path . 'includes/common.' . $phpEx ); ! // ! // Read Block Settings ! // ! $title = !empty($lang[$mx_block->block_info['block_title']]) ? $lang[$mx_block->block_info['block_title']] : $mx_block->block_info['block_title']; if ( !isset( $ss_phpbb ) ) Index: sitestaff.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/sitestaff.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** sitestaff.php 15 Oct 2005 22:18:27 -0000 1.1 --- sitestaff.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 23,27 **** // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt !!!" ); --- 23,27 ---- // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt !!!" ); *************** *** 32,39 **** include_once( $module_root_path . 'includes/common.' . $phpEx ); ! $block_config = read_block_config( $block_id ); ! ! $title = !empty($lang[$block_config[$block_id]['block_title']]) ? $lang[$block_config[$block_id]['block_title']] : $block_config[$block_id]['block_title']; ! if ( !isset( $ss_phpbb ) ) --- 32,39 ---- include_once( $module_root_path . 'includes/common.' . $phpEx ); ! // ! // Read Block Settings ! // ! $title = !empty($lang[$mx_block->block_info['block_title']]) ? $lang[$mx_block->block_info['block_title']] : $mx_block->block_info['block_title']; if ( !isset( $ss_phpbb ) ) Index: monthlyposts.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/monthlyposts.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** monthlyposts.php 15 Oct 2005 22:18:27 -0000 1.1 --- monthlyposts.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 23,27 **** // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt !!!" ); --- 23,27 ---- // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt !!!" ); *************** *** 32,38 **** include_once( $module_root_path . 'includes/common.' . $phpEx ); ! $block_config = read_block_config( $block_id ); ! ! $title = !empty($lang[$block_config[$block_id]['block_title']]) ? $lang[$block_config[$block_id]['block_title']] : $block_config[$block_id]['block_title']; if ( !isset( $ss_phpbb ) ) --- 32,39 ---- include_once( $module_root_path . 'includes/common.' . $phpEx ); ! // ! // Read Block Settings ! // ! $title = !empty($lang[$mx_block->block_info['block_title']]) ? $lang[$mx_block->block_info['block_title']] : $mx_block->block_info['block_title']; if ( !isset( $ss_phpbb ) ) Index: adminstats.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/adminstats.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** adminstats.php 15 Oct 2005 22:18:27 -0000 1.1 --- adminstats.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 23,27 **** // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt !!!" ); --- 23,27 ---- // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt !!!" ); *************** *** 32,38 **** include_once( $module_root_path . 'includes/common.' . $phpEx ); ! $block_config = read_block_config( $block_id ); ! ! $title = !empty($lang[$block_config[$block_id]['block_title']]) ? $lang[$block_config[$block_id]['block_title']] : $block_config[$block_id]['block_title']; if ( !isset( $ss_phpbb ) ) --- 32,39 ---- include_once( $module_root_path . 'includes/common.' . $phpEx ); ! // ! // Read Block Settings ! // ! $title = !empty($lang[$mx_block->block_info['block_title']]) ? $lang[$mx_block->block_info['block_title']] : $mx_block->block_info['block_title']; if ( !isset( $ss_phpbb ) ) Index: topreferers.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/topreferers.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** topreferers.php 15 Oct 2005 22:18:27 -0000 1.1 --- topreferers.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 22,26 **** // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt !!!" ); --- 22,26 ---- // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt !!!" ); *************** *** 31,37 **** include_once( $module_root_path . 'includes/common.' . $phpEx ); ! $block_config = read_block_config( $block_id ); ! ! $title = !empty($lang[$block_config[$block_id]['block_title']]) ? $lang[$block_config[$block_id]['block_title']] : $block_config[$block_id]['block_title']; // -------------------------------------------------------------------------------- --- 31,38 ---- include_once( $module_root_path . 'includes/common.' . $phpEx ); ! // ! // Read Block Settings ! // ! $title = !empty($lang[$mx_block->block_info['block_title']]) ? $lang[$mx_block->block_info['block_title']] : $mx_block->block_info['block_title']; // -------------------------------------------------------------------------------- Index: counter.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/counter.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** counter.php 15 Oct 2005 22:18:27 -0000 1.1 --- counter.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 22,26 **** // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt !!!" ); --- 22,26 ---- // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt !!!" ); *************** *** 32,39 **** include_once( $module_root_path . 'includes/common.' . $phpEx ); ! $block_config = read_block_config( $block_id ); ! ! $title = !empty($lang[$block_config[$block_id]['block_title']]) ? $lang[$block_config[$block_id]['block_title']] : $block_config[$block_id]['block_title']; ! if ( !isset( $sitestats_counter ) ) --- 32,39 ---- include_once( $module_root_path . 'includes/common.' . $phpEx ); ! // ! // Read Block Settings ! // ! $title = !empty($lang[$mx_block->block_info['block_title']]) ? $lang[$mx_block->block_info['block_title']] : $mx_block->block_info['block_title']; if ( !isset( $sitestats_counter ) ) Index: mostintopics.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/mostintopics.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mostintopics.php 15 Oct 2005 22:18:27 -0000 1.1 --- mostintopics.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 23,27 **** // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt !!!" ); --- 23,27 ---- // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt !!!" ); *************** *** 32,38 **** include_once( $module_root_path . 'includes/common.' . $phpEx ); ! $block_config = read_block_config( $block_id ); ! ! $title = !empty($lang[$block_config[$block_id]['block_title']]) ? $lang[$block_config[$block_id]['block_title']] : $block_config[$block_id]['block_title']; if ( !isset( $ss_phpbb ) ) --- 32,39 ---- include_once( $module_root_path . 'includes/common.' . $phpEx ); ! // ! // Read Block Settings ! // ! $title = !empty($lang[$mx_block->block_info['block_title']]) ? $lang[$mx_block->block_info['block_title']] : $mx_block->block_info['block_title']; if ( !isset( $ss_phpbb ) ) Index: toptopics.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/toptopics.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** toptopics.php 15 Oct 2005 22:18:27 -0000 1.1 --- toptopics.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 23,27 **** // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt !!!" ); --- 23,27 ---- // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt !!!" ); *************** *** 32,38 **** include_once( $module_root_path . 'includes/common.' . $phpEx ); ! $block_config = read_block_config( $block_id ); ! ! $title = !empty($lang[$block_config[$block_id]['block_title']]) ? $lang[$block_config[$block_id]['block_title']] : $block_config[$block_id]['block_title']; if ( !isset( $ss_phpbb ) ) --- 32,39 ---- include_once( $module_root_path . 'includes/common.' . $phpEx ); ! // ! // Read Block Settings ! // ! $title = !empty($lang[$mx_block->block_info['block_title']]) ? $lang[$mx_block->block_info['block_title']] : $mx_block->block_info['block_title']; if ( !isset( $ss_phpbb ) ) Index: monthlyusers.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/monthlyusers.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** monthlyusers.php 15 Oct 2005 22:18:27 -0000 1.1 --- monthlyusers.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 23,27 **** // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt !!!" ); --- 23,27 ---- // Block Initialization // -------------------------------------------------------------------------------- ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt !!!" ); *************** *** 32,38 **** include_once( $module_root_path . 'includes/common.' . $phpEx ); ! $block_config = read_block_config( $block_id ); ! ! $title = !empty($lang[$block_config[$block_id]['block_title']]) ? $lang[$block_config[$block_id]['block_title']] : $block_config[$block_id]['block_title']; if ( !isset( $ss_phpbb ) ) --- 32,39 ---- include_once( $module_root_path . 'includes/common.' . $phpEx ); ! // ! // Read Block Settings ! // ! $title = !empty($lang[$mx_block->block_info['block_title']]) ? $lang[$mx_block->block_info['block_title']] : $mx_block->block_info['block_title']; if ( !isset( $ss_phpbb ) ) |
|
From: Jon O. <jon...@us...> - 2005-10-23 18:52:43
|
Update of /cvsroot/mxbb/mx_sitestats/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22488/modules/mx_sitestats/admin Modified Files: admin_referers.php Log Message: Updated all blocks to use the new $mx_block->get_parameters() api, instead of old red_block_config() function Index: admin_referers.php =================================================================== RCS file: /cvsroot/mxbb/mx_sitestats/admin/admin_referers.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_referers.php 15 Oct 2005 22:18:28 -0000 1.1 --- admin_referers.php 23 Oct 2005 18:52:36 -0000 1.2 *************** *** 99,103 **** // Get TopReferers Block Settings... ! $sql = "SELECT block_id FROM " . BLOCK_TABLE . " WHERE block_title = 'SiteStats TopReferers' LIMIT 1"; if ( !$result = $db->sql_query( $sql ) ) --- 99,103 ---- // Get TopReferers Block Settings... ! /* $sql = "SELECT block_id FROM " . BLOCK_TABLE . " WHERE block_title = 'SiteStats TopReferers' LIMIT 1"; if ( !$result = $db->sql_query( $sql ) ) *************** *** 109,112 **** --- 109,116 ---- $block_config = read_block_config( $block_id ); $rows_per_page = $block_config[$block_id]['SiteStats_TopReferers_Count']['parameter_value']; + */ + + $rows_per_page = $mx_block->get_parameters( 'SiteStats_TopReferers_Count' ); + if ( !is_numeric( $rows_per_page ) ) { |
|
From: Jon O. <jon...@us...> - 2005-10-23 18:52:21
|
Update of /cvsroot/mxbb/mx_quotations In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22417/modules/mx_quotations Modified Files: mx_last_quotations.php mx_quotations.php mx_random_quotation.php Log Message: Updated all blocks to use the new $mx_block->get_parameters() api, instead of old red_block_config() function Index: mx_last_quotations.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/mx_last_quotations.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** mx_last_quotations.php 1 Oct 2005 14:16:59 -0000 1.4 --- mx_last_quotations.php 23 Oct 2005 18:52:11 -0000 1.5 *************** *** 28,40 **** define ( 'IN_PHPBB', true ); ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt" ); } ! // Read block Configuration ! ! $block_config = read_block_config( $block_id ); ! $title = $block_config[$block_id]['block_title']; // Get all data --- 28,40 ---- define ( 'IN_PHPBB', true ); ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt" ); } ! // ! // Read Block Settings ! // ! $title = $mx_block->block_info['block_title']; // Get all data Index: mx_random_quotation.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/mx_random_quotation.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mx_random_quotation.php 1 Oct 2005 14:16:59 -0000 1.3 --- mx_random_quotation.php 23 Oct 2005 18:52:11 -0000 1.4 *************** *** 24,36 **** define ( 'IN_PHPBB', true ); ! if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt" ); } ! // Read block Configuration ! ! $block_config = read_block_config( $block_id ); ! $title = $block_config[$block_id]['block_title']; // Get all data --- 24,36 ---- define ( 'IN_PHPBB', true ); ! if ( !defined( 'IN_PORTAL' ) || !is_object($mx_block) ) { die( "Hacking attempt" ); } ! // ! // Read Block Settings ! // ! $title = $mx_block->block_info['block_title']; // Get all data Index: mx_quotations.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/mx_quotations.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** mx_quotations.php 1 Oct 2005 14:16:59 -0000 1.7 --- mx_quotations.php 23 Oct 2005 18:52:11 -0000 1.8 *************** *** 27,37 **** include( $mx_root_path . 'common.' . $phpEx ); ! // Start session management ! $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); ! // End session management $is_block = false; --- 27,38 ---- include( $mx_root_path . 'common.' . $phpEx ); ! // // Start session management ! // $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); ! // // End session management + // $is_block = false; *************** *** 40,53 **** else { ! ! // Read block Configuration ! ! $block_config = read_block_config( $block_id ); ! $title = $block_config[$block_id]['block_title']; $is_block = true; } // Check board language ! if ( !file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) { --- 41,54 ---- else { ! // ! // Read Block Settings ! // ! $title = $mx_block->block_info['block_title']; $is_block = true; } + // // Check board language ! // if ( !file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) { |
|
From: Jon O. <jon...@us...> - 2005-10-23 18:52:04
|
Update of /cvsroot/mxbb/mx_profilecp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22359/modules/mx_profilecp Modified Files: profile.php Log Message: Updated all blocks to use the new $mx_block->get_parameters() api, instead of old red_block_config() function Index: profile.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profile.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** profile.php 1 Oct 2005 14:16:27 -0000 1.5 --- profile.php 23 Oct 2005 18:51:56 -0000 1.6 *************** *** 49,56 **** { // ! // Read block Configuration // ! $block_config = read_block_config( $block_id ); ! $title = $block_config[$block_id]['block_title']; $block_size = ( isset($block_size) && !empty($block_size) ? $block_size : '100%' ); --- 49,55 ---- { // ! // Read Block Settings // ! $title = $mx_block->block_info['block_title']; $block_size = ( isset($block_size) && !empty($block_size) ? $block_size : '100%' ); |
|
From: Jon O. <jon...@us...> - 2005-10-23 18:51:55
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22323/modules/mx_phpbb/includes Modified Files: forum_hack.php Log Message: Updated all blocks to use the new $mx_block->get_parameters() api, instead of old red_block_config() function Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** forum_hack.php 22 Oct 2005 11:51:36 -0000 1.5 --- forum_hack.php 23 Oct 2005 18:51:38 -0000 1.6 *************** *** 44,48 **** function init() { ! global $images, $board_config, $lang, $block_id, $userdata, $block_config, $template, $module_root_path, $mx_root_path, $HTTP_POST_VARS, $_POST, $mx_request_vars, $mx_block, $db; $PHPBB_CONFIG_TABLE = $this->_get_mx_table_name( 'phpbb_plugin_config' ); --- 44,48 ---- function init() { ! global $images, $board_config, $lang, $block_id, $userdata, $template, $module_root_path, $mx_root_path, $HTTP_POST_VARS, $_POST, $mx_request_vars, $mx_block, $db; $PHPBB_CONFIG_TABLE = $this->_get_mx_table_name( 'phpbb_plugin_config' ); |
|
From: Jon O. <jon...@us...> - 2005-10-23 18:51:32
|
Update of /cvsroot/mxbb/mx_pafiledb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22267/modules/mx_pafiledb Modified Files: dload.php dload_lists.php dload_quickdl.php Log Message: Updated all blocks to use the new $mx_block->get_parameters() api, instead of old red_block_config() function Index: dload_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload_lists.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** dload_lists.php 22 Oct 2005 10:56:15 -0000 1.11 --- dload_lists.php 23 Oct 2005 18:51:18 -0000 1.12 *************** *** 82,90 **** else { ! ! // Read block Configuration ! ! $block_config = read_block_config( $block_id ); ! $title = $block_config[$block_id]['block_title']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); --- 82,89 ---- else { ! // ! // Read Block Settings ! // ! $title = $mx_block->block_info['block_title']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); *************** *** 104,114 **** // Read block Configuration ! $album_sp_config['img_rows'] = $block_config[$block_id][num_of_rows]['parameter_value']; ! $album_sp_config['img_cols'] = $block_config[$block_id][num_of_cols]['parameter_value']; ! $album_sp_config['disp_late'] = $block_config[$block_id][display_latest_posts]['parameter_value'] == 'TRUE' ? 1 : 0; ! $album_sp_config['disp_high'] = $block_config[$block_id][display_top_ranked]['parameter_value'] == 'TRUE' ? 1 : 0; ! $album_sp_config['disp_rand'] = $block_config[$block_id][display_random_posts]['parameter_value'] == 'TRUE' ? 1 : 0; ! $album_sp_config['disp_most'] = $block_config[$block_id][display_most_posts]['parameter_value'] == 'TRUE' ? 1 : 0; $album_config['rate'] = 1; --- 103,113 ---- // Read block Configuration ! $album_sp_config['img_rows'] = $mx_block->get_parameters( 'num_of_rows' ); ! $album_sp_config['img_cols'] = $mx_block->get_parameters( 'num_of_cols' ); ! $album_sp_config['disp_late'] = $mx_block->get_parameters( 'display_latest_posts' ) == 'TRUE' ? 1 : 0; ! $album_sp_config['disp_high'] = $mx_block->get_parameters( 'display_top_ranked' ) == 'TRUE' ? 1 : 0; ! $album_sp_config['disp_rand'] = $mx_block->get_parameters( 'display_random_posts' ) == 'TRUE' ? 1 : 0; ! $album_sp_config['disp_most'] = $mx_block->get_parameters( 'display_most_posts' ) == 'TRUE' ? 1 : 0; $album_config['rate'] = 1; *************** *** 118,123 **** $album_sp_config['rate_type'] = 1; // Get pafiledb target block ! $pafiledb_block_id = $block_config[$block_id][target_block]['parameter_value']; $pafiledb_page_id = $pafiledb_block_id > 0 ? get_page_id( $pafiledb_block_id ) : get_page_id( 'dload.php', true ); --- 117,124 ---- $album_sp_config['rate_type'] = 1; + // // Get pafiledb target block ! // ! $pafiledb_block_id = $mx_block->get_parameters( 'target_block' ); $pafiledb_page_id = $pafiledb_block_id > 0 ? get_page_id( $pafiledb_block_id ) : get_page_id( 'dload.php', true ); Index: dload.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** dload.php 1 Oct 2005 14:15:19 -0000 1.13 --- dload.php 23 Oct 2005 18:51:18 -0000 1.14 *************** *** 82,88 **** else { ! // Read block Configuration ! $block_config = read_block_config( $block_id ); ! $title = $block_config[$block_id]['block_title']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); --- 82,89 ---- else { ! // ! // Read Block Settings ! // ! $title = $mx_block->block_info['block_title']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); Index: dload_quickdl.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload_quickdl.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** dload_quickdl.php 1 Oct 2005 14:15:19 -0000 1.3 --- dload_quickdl.php 23 Oct 2005 18:51:18 -0000 1.4 *************** *** 48,56 **** else { ! ! // Read block Configuration ! ! $block_config = read_block_config( $block_id ); ! $title = $block_config[$block_id]['block_title']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); --- 48,55 ---- else { ! // ! // Read Block Settings ! // ! $title = $mx_block->block_info['block_title']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); *************** *** 67,71 **** for( $i = 0; $i < count( $config_name ); $i++ ) { ! $config_value = $block_config[$block_id][$config_name[$i]]['parameter_value']; $pafiledb_quickdl[$config_name[$i]] = $config_value; } --- 66,70 ---- for( $i = 0; $i < count( $config_name ); $i++ ) { ! $config_value = $mx_block->get_parameters( $config_name[$i] ); $pafiledb_quickdl[$config_name[$i]] = $config_value; } |
|
From: Jon O. <jon...@us...> - 2005-10-23 18:51:13
|
Update of /cvsroot/mxbb/mx_newssuite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22228/modules/mx_newssuite Modified Files: news.php Log Message: Updated all blocks to use the new $mx_block->get_parameters() api, instead of old red_block_config() function Index: news.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/news.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** news.php 1 Oct 2005 14:14:44 -0000 1.11 --- news.php 23 Oct 2005 18:51:01 -0000 1.12 *************** *** 47,55 **** // - // Read block Configuration - // - $block_config = read_block_config( $block_id ); - - // // Includes... // --- 47,50 ---- *************** *** 59,72 **** // Setup config parameters // ! $config_name = array( 'news_display', 'news_display_edit_info', 'news_display_signature', 'news_items', 'news_display_polls', 'news_time_format', 'news_trim_char', 'news_block_border', 'news_block_header', 'news_block_footer', 'news_display_block_title', 'news_show_title', 'news_sort_method', 'news_sort_par', 'news_sort_style', 'news_truncate_num', 'news_truncate_num_subject', 'news_mode_switch', 'news_source_switch', 'news_mode_operate', 'enable_html_msg', 'enable_bbcode_msg', 'fix_up', 'news_mode_tagging', 'news_mode_pinning', 'news_filter_time' ); for( $i = 0; $i < count( $config_name ); $i++ ) { ! $config_value = $block_config[$block_id][$config_name[$i]]['parameter_value']; $newssuite_config[$config_name[$i]] = $config_value; } ! $title = $block_config[$block_id]['block_title']; ! $description = $block_config[$block_id]['block_desc']; // --- 54,67 ---- // Setup config parameters // ! $config_name = array( 'news_display', 'news_display_edit_info', 'news_display_signature', 'news_items', 'news_display_polls', 'news_time_format', 'news_trim_char', 'news_block_border', 'news_block_header', 'news_block_footer', 'news_display_block_title', 'news_show_title', 'news_sort_method', 'news_sort_par', 'news_sort_style', 'news_truncate_num', 'news_truncate_num_subject', 'news_mode_switch', 'news_source_switch', 'news_mode_operate', 'enable_html_msg', 'enable_bbcode_msg', 'fix_up', 'news_mode_tagging', 'news_mode_pinning', 'news_filter_time', 'news_type_select' ); for( $i = 0; $i < count( $config_name ); $i++ ) { ! $config_value = $mx_block->get_parameters( $config_name[$i] ); $newssuite_config[$config_name[$i]] = $config_value; } ! $title = $mx_block->block_info['block_title']; ! $description = $mx_block->block_info['block_desc']; // *************** *** 93,105 **** // Extract 'what posts to view info', the cool Array ;) // ! ! /* ! $news_type_select_data = array(); ! $news_type_select_temp = $block_config[$block_id][news_type_select]['parameter_value']; ! $news_type_select_temp = stripslashes( $news_type_select_temp ); ! $news_type_select_data = eval( "return " . $news_type_select_temp . ";" ); ! */ ! ! $news_type_select_data = ( !empty( $block_config[$block_id][news_type_select]['parameter_value'] ) ) ? unserialize( $block_config[$block_id][news_type_select]['parameter_value'] ) : array(); // ----------------- --- 88,92 ---- // Extract 'what posts to view info', the cool Array ;) // ! $news_type_select_data = !empty( $newssuite_config['news_type_select'] ) ? unserialize( $newssuite_config['news_type_select'] ) : array(); // ----------------- |
|
From: Jon O. <jon...@us...> - 2005-10-23 18:50:52
|
Update of /cvsroot/mxbb/mx_linkdb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22154/modules/mx_linkdb Modified Files: linkdb.php Log Message: Updated all blocks to use the new $mx_block->get_parameters() api, instead of old red_block_config() function Index: linkdb.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** linkdb.php 1 Oct 2005 14:14:17 -0000 1.2 --- linkdb.php 23 Oct 2005 18:50:40 -0000 1.3 *************** *** 48,57 **** else { ! ! // Read block Configuration ! ! $block_config = read_block_config( $block_id ); ! $title = $block_config[$block_id]['block_title']; ! $desc = $block_config[$block_id]['block_desc']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); --- 48,56 ---- else { ! // ! // Read Block Settings ! // ! $title = $mx_block->block_info['block_title']; ! $desc = $mx_block->block_info['block_desc']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); |
|
From: Jon O. <jon...@us...> - 2005-10-23 18:50:38
|
Update of /cvsroot/mxbb/mx_kb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22078/modules/mx_kb Modified Files: kb.php kb_article_reader.php kb_search.php Log Message: Updated all blocks to use the new $mx_block->get_parameters() api, instead of old red_block_config() function Index: kb_search.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb_search.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** kb_search.php 1 Oct 2005 14:13:46 -0000 1.14 --- kb_search.php 23 Oct 2005 18:50:22 -0000 1.15 *************** *** 73,79 **** else { ! // Read block Configuration ! $block_config = read_block_config( $block_id ); ! $title = $block_config[$block_id]['block_title']; $is_block = true; global $images; --- 73,80 ---- else { ! // ! // Read Block Settings ! // ! $title = $mx_block->block_info['block_title']; $is_block = true; global $images; Index: kb.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** kb.php 1 Oct 2005 14:13:46 -0000 1.22 --- kb.php 23 Oct 2005 18:50:22 -0000 1.23 *************** *** 118,126 **** define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); ! // Read block Configuration ! ! $block_config = read_block_config( $block_id ); ! $title = !empty( $block_config[$block_id]['block_title'] ) ? $block_config[$block_id]['block_title'] : $lang['KB_title']; ! $desc = $block_config[$block_id]['block_desc']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); --- 118,126 ---- define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); ! // ! // Read Block Settings ! // ! $title = !empty( $mx_block->block_info['block_title'] ) ? $mx_block->block_info['block_title'] : $lang['KB_title']; ! $desc = $mx_block->block_info['block_desc']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); *************** *** 130,134 **** // Extract 'what posts to view info', the cool Array ;) ! $kb_type_select_data = ( !empty( $block_config[$block_id][kb_type_select]['parameter_value'] ) ) ? unserialize($block_config[$block_id][kb_type_select]['parameter_value']) : array(); include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx ); --- 130,135 ---- // Extract 'what posts to view info', the cool Array ;) ! $kb_type_select_var = $mx_block->get_parameters( 'kb_type_select' ); ! $kb_type_select_data = ( !empty( $kb_type_select_var ) ) ? unserialize( $kb_type_select_var ) : array(); include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx ); Index: kb_article_reader.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb_article_reader.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** kb_article_reader.php 1 Oct 2005 14:13:46 -0000 1.8 --- kb_article_reader.php 23 Oct 2005 18:50:22 -0000 1.9 *************** *** 87,97 **** else { - // Read block Configuration - define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); ! $block_config = read_block_config( $block_id ); ! $title = $block_config[$block_id]['block_title']; ! $desc = $block_config[$block_id]['block_desc']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); --- 87,97 ---- else { define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); ! // ! // Read Block Settings ! // ! $title = $mx_block->block_info['block_title']; ! $desc = $mx_block->block_info['block_desc']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); *************** *** 102,108 **** // Extract 'what posts to view info', the cool Array ;) ! $kb_type_select_data = ( !empty( $block_config[$block_id][kb_type_select]['parameter_value'] ) ) ? unserialize($block_config[$block_id][kb_type_select]['parameter_value']) : array(); ! $default_article_id = $block_config[$block_id][default_article_id]['parameter_value']; include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx ); --- 102,109 ---- // Extract 'what posts to view info', the cool Array ;) ! $kb_type_select_tmp = $mx_block->get_parameters( 'kb_type_select' ); ! $kb_type_select_data = ( !empty( $kb_type_select_tmp ) ) ? unserialize( $kb_type_select_tmp ) : array(); ! $default_article_id = $mx_block->get_parameters( 'default_article_id' ); include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx ); |
|
From: Jon O. <jon...@us...> - 2005-10-23 18:50:36
|
Update of /cvsroot/mxbb/mx_kb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22078/modules/mx_kb/includes Modified Files: kb_post.php Log Message: Updated all blocks to use the new $mx_block->get_parameters() api, instead of old red_block_config() function Index: kb_post.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/includes/kb_post.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** kb_post.php 1 Oct 2005 14:13:47 -0000 1.11 --- kb_post.php 23 Oct 2005 18:50:21 -0000 1.12 *************** *** 421,426 **** } - // $bbcode_uid = $block_config[$block_id][$block_text_par]['bbcode_uid']; - if ( $bbcode_uid != '' ) { --- 421,424 ---- |
|
From: Jon O. <jon...@us...> - 2005-10-23 18:50:05
|
Update of /cvsroot/mxbb/mx_gallery2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21944/modules/mx_gallery2 Modified Files: gallery2.php gallery2_toplist.php Log Message: Updated all blocks to use the new $mx_block->get_parameters() api, instead of old red_block_config() function Index: gallery2.php =================================================================== RCS file: /cvsroot/mxbb/mx_gallery2/gallery2.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** gallery2.php 1 Oct 2005 14:13:00 -0000 1.3 --- gallery2.php 23 Oct 2005 18:49:57 -0000 1.4 *************** *** 24,33 **** } // ! // Read block settings ! // ! $block_config = read_block_config($block_id); ! $title = $block_config[$block_id]['block_title']; ! $xtra_gallery_get_pars = !empty($block_config[$block_id]['base_album']) ? '&g2_view=core.ShowItem&g2_itemId=' . intval($block_config[$block_id]['base_album']) : ''; // --- 24,31 ---- } + /// + // Read Block Settings // ! $title = $mx_block->block_info['block_title']; // Index: gallery2_toplist.php =================================================================== RCS file: /cvsroot/mxbb/mx_gallery2/gallery2_toplist.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** gallery2_toplist.php 12 Oct 2005 15:39:06 -0000 1.3 --- gallery2_toplist.php 23 Oct 2005 18:49:57 -0000 1.4 *************** *** 48,55 **** // ! // Read block settings // ! $block_config = read_block_config($block_id); ! $title = $block_config[$block_id]['block_title']; // --- 48,54 ---- // ! // Read Block Settings // ! $title = $mx_block->block_info['block_title']; // *************** *** 62,74 **** // Get vars // ! $g2_blocks = !empty($block_config[$block_id]['g2_blocks']['parameter_value']) ? $block_config[$block_id]['g2_blocks']['parameter_value'] : 'randomImage'; ! $g2_num_of_blocks = !empty($block_config[$block_id]['g2_num_of_blocks']['parameter_value']) ? $block_config[$block_id]['g2_num_of_blocks']['parameter_value'] : '1'; ! $g2_show = !empty($block_config[$block_id]['g2_show']['parameter_value']) ? unserialize($block_config[$block_id]['g2_show']['parameter_value']) : ''; ! $g2_subtreeId = !empty($block_config[$block_id]['g2_subtreeId']['parameter_value']) ? $block_config[$block_id]['g2_subtreeId']['parameter_value'] : ''; ! $g2_maxSize = !empty($block_config[$block_id]['g2_maxSize']['parameter_value']) ? intval($block_config[$block_id]['g2_maxSize']['parameter_value']) : ''; ! $g2_linkTarget = !empty($block_config[$block_id]['g2_linkTarget']['parameter_value']) ? $block_config[$block_id]['g2_linkTarget']['parameter_value'] : ''; ! $g2_itemFrame = !empty($block_config[$block_id]['g2_itemFrame']['parameter_value']) ? $block_config[$block_id]['g2_itemFrame']['parameter_value'] : ''; ! $g2_albumFrame = !empty($block_config[$block_id]['g2_albumFrame']['parameter_value']) ? $block_config[$block_id]['g2_albumFrame']['parameter_value'] : ''; ! $gallery_block_id = !empty($block_config[$block_id]['target_block']['parameter_value']) ? $block_config[$block_id]['target_block']['parameter_value'] : ''; $g2_page_id = get_page_id( $gallery_block_id ); --- 61,73 ---- // Get vars // ! $g2_blocks = $mx_block->get_parameters( 'g2_blocks' ); ! $g2_num_of_blocks = $mx_block->get_parameters( 'g2_num_of_blocks' ); ! $g2_show = unserialize($mx_block->get_parameters( 'g2_show' )); ! $g2_subtreeId = $mx_block->get_parameters( 'g2_subtreeId' ); ! $g2_maxSize = intval($mx_block->get_parameters( 'g2_maxSize' )); ! $g2_linkTarget = $mx_block->get_parameters( 'g2_linkTarget' ); ! $g2_itemFrame = $mx_block->get_parameters( 'g2_itemFrame' ); ! $g2_albumFrame = $mx_block->get_parameters( 'g2_albumFrame' ); ! $gallery_block_id = $mx_block->get_parameters( 'target_block' ); $g2_page_id = get_page_id( $gallery_block_id ); |
|
From: Jon O. <jon...@us...> - 2005-10-23 18:49:47
|
Update of /cvsroot/mxbb/mx_errordocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21893/modules/mx_errordocs Modified Files: errordocs.php Log Message: Updated all blocks to use the new $mx_block->get_parameters() api, instead of old red_block_config() function Index: errordocs.php =================================================================== RCS file: /cvsroot/mxbb/mx_errordocs/errordocs.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** errordocs.php 22 Oct 2005 12:40:53 -0000 1.1 --- errordocs.php 23 Oct 2005 18:49:39 -0000 1.2 *************** *** 66,77 **** // ! // Read block Configuration // ! $block_config = read_block_config($block_id); $block_size = ( isset($block_size) && !empty($block_size) ? $block_size : '100%' ); ! $block_enable_log = $block_config[$block_id]['ErrorDocs_Enable_Log']['parameter_value']; ! $block_include_codes = $block_config[$block_id]['ErrorDocs_Include_Codes']['parameter_value']; ! $block_exclude_fiext = $block_config[$block_id]['ErrorDocs_Exclude_Extensions']['parameter_value']; ! $block_max_records = $block_config[$block_id]['ErrorDocs_Max_Records']['parameter_value']; if( $block_enable_log == '' || $block_enable_log == 'TRUE' ) { --- 66,78 ---- // ! // Read Block Settings // ! $title = $mx_block->block_info['block_title']; $block_size = ( isset($block_size) && !empty($block_size) ? $block_size : '100%' ); ! ! $block_enable_log = $mx_block->get_parameters( 'ErrorDocs_Enable_Log' ); ! $block_include_codes = $mx_block->get_parameters( 'ErrorDocs_Include_Codes' ); ! $block_exclude_fiext = $mx_block->get_parameters( 'ErrorDocs_Exclude_Extensions' ); ! $block_max_records = $mx_block->get_parameters( 'ErrorDocs_Max_Records' ); if( $block_enable_log == '' || $block_enable_log == 'TRUE' ) { |