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...> - 2008-02-15 22:43:46
|
Update of /cvsroot/mxbb/mx_kb/kb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3109/modules Modified Files: kb_post_comment.php Log Message: bad globals Index: kb_post_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_post_comment.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** kb_post_comment.php 15 Feb 2008 22:25:49 -0000 1.13 --- kb_post_comment.php 15 Feb 2008 22:43:41 -0000 1.14 *************** *** 145,149 **** $template->assign_block_vars( "tinyMCE_admin", array( 'PATH' => $mx_root_path, ! 'LANG' => !empty($langcode) ? $langcode : $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'], 'TEMPLATE' => $mx_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); --- 145,149 ---- $template->assign_block_vars( "tinyMCE_admin", array( 'PATH' => $mx_root_path, ! 'LANG' => !empty($langcode) ? $langcode : $_SERVER['HTTP_ACCEPT_LANGUAGE'], 'TEMPLATE' => $mx_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); *************** *** 153,157 **** $template->assign_block_vars( "tinyMCE", array( 'PATH' => $mx_root_path, ! 'LANG' => !empty($langcode) ? $langcode : $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'], 'TEMPLATE' => $mx_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); --- 153,157 ---- $template->assign_block_vars( "tinyMCE", array( 'PATH' => $mx_root_path, ! 'LANG' => !empty($langcode) ? $langcode : $_SERVER['HTTP_ACCEPT_LANGUAGE'], 'TEMPLATE' => $mx_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:43:46
|
Update of /cvsroot/mxbb/mx_kb/kb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3109/includes Modified Files: functions_mx.php Log Message: bad globals Index: functions_mx.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/includes/functions_mx.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** functions_mx.php 9 Sep 2007 20:06:01 -0000 1.6 --- functions_mx.php 15 Feb 2008 22:43:41 -0000 1.7 *************** *** 166,170 **** function mx_do_install_upgrade( $sql = '', $main_install = false ) { ! global $table_prefix, $mx_table_prefix, $userdata, $phpEx, $template, $lang, $db, $board_config, $HTTP_POST_VARS; $inst_error = false; --- 166,170 ---- function mx_do_install_upgrade( $sql = '', $main_install = false ) { ! global $table_prefix, $mx_table_prefix, $userdata, $phpEx, $template, $lang, $db, $board_config; $inst_error = false; |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:43:37
|
Update of /cvsroot/mxbb/mx_kb In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3054 Modified Files: kb.php kb_app.php kb_article_reader.php kb_last_article.php Log Message: bad globals Index: kb.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb.php,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** kb.php 15 Feb 2008 22:11:31 -0000 1.44 --- kb.php 15 Feb 2008 22:43:27 -0000 1.45 *************** *** 120,124 **** $mx_get_page->init('kb.php'); ! $start = ( isset( $HTTP_GET_VARS['start'] ) ) ? intval( $HTTP_GET_VARS['start'] ) : 0; $url = ''; --- 120,124 ---- $mx_get_page->init('kb.php'); ! $start = ( isset( $_GET['start'] ) ) ? intval( $_GET['start'] ) : 0; $url = ''; *************** *** 132,136 **** } ! if (isset($HTTP_GET_VARS['print'])) { $url .= '&print=true'; --- 132,136 ---- } ! if (isset($_GET['print'])) { $url .= '&print=true'; Index: kb_last_article.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb_last_article.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** kb_last_article.php 9 Sep 2007 19:24:48 -0000 1.5 --- kb_last_article.php 15 Feb 2008 22:43:27 -0000 1.6 *************** *** 76,80 **** } ! $msg_start = ( isset( $HTTP_GET_VARS['kb_lmsg_start'] ) ) ? intval( $HTTP_GET_VARS['kb_lmsg_start'] ) : 0; $start_prev = ( $msg_start == 0 ) ? 0 : $msg_start - $PostNumber; --- 76,80 ---- } ! $msg_start = ( isset( $_GET['kb_lmsg_start'] ) ) ? intval( $_GET['kb_lmsg_start'] ) : 0; $start_prev = ( $msg_start == 0 ) ? 0 : $msg_start - $PostNumber; Index: kb_article_reader.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb_article_reader.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** kb_article_reader.php 9 Sep 2007 20:06:00 -0000 1.22 --- kb_article_reader.php 15 Feb 2008 22:43:27 -0000 1.23 *************** *** 47,51 **** define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.' . $phpEx ) ); ! if ( !isset( $HTTP_GET_VARS['print'] ) ) { include_once( $module_root_path . 'kb/includes/kb_pages.' . $phpEx ); --- 47,51 ---- define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.' . $phpEx ) ); ! if ( !isset( $_GET['print'] ) ) { include_once( $module_root_path . 'kb/includes/kb_pages.' . $phpEx ); *************** *** 53,57 **** $mx_get_page->init('kb_article_reader.php'); ! $start = ( isset( $HTTP_GET_VARS['start'] ) ) ? intval( $HTTP_GET_VARS['start'] ) : 0; $url = ''; --- 53,57 ---- $mx_get_page->init('kb_article_reader.php'); ! $start = ( isset( $_GET['start'] ) ) ? intval( $_GET['start'] ) : 0; $url = ''; Index: kb_app.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb_app.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** kb_app.php 9 Sep 2007 20:06:00 -0000 1.2 --- kb_app.php 15 Feb 2008 22:43:27 -0000 1.3 *************** *** 51,55 **** $mx_get_page->init('kb.php'); ! $start = ( isset( $HTTP_GET_VARS['start'] ) ) ? intval( $HTTP_GET_VARS['start'] ) : 0; $url = ''; --- 51,55 ---- $mx_get_page->init('kb.php'); ! $start = ( isset( $_GET['start'] ) ) ? intval( $_GET['start'] ) : 0; $url = ''; *************** *** 63,67 **** } ! if (isset($HTTP_GET_VARS['print'])) { $url .= '&print=true'; --- 63,67 ---- } ! if (isset($_GET['print'])) { $url .= '&print=true'; |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:43:32
|
Update of /cvsroot/mxbb/mx_kb/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3054/admin Modified Files: mx_module_defs.php Log Message: bad globals Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/mx_module_defs.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** mx_module_defs.php 31 May 2007 21:10:54 -0000 1.15 --- mx_module_defs.php 15 Feb 2008 22:43:27 -0000 1.16 *************** *** 48,55 **** function submit_module_parameters( $parameter_data, $block_id ) { ! global $HTTP_POST_VARS, $db, $board_config, $mx_blockcp, $mx_root_path, $phpEx; global $html_entities_match, $html_entities_replace; ! $parameter_value = $HTTP_POST_VARS[$parameter_data['parameter_name']]; $parameter_opt = ''; --- 48,55 ---- function submit_module_parameters( $parameter_data, $block_id ) { ! global $db, $board_config, $mx_blockcp, $mx_root_path, $phpEx; global $html_entities_match, $html_entities_replace; ! $parameter_value = $_POST[$parameter_data['parameter_name']]; $parameter_opt = ''; *************** *** 61,65 **** case 'kb_quick_cat': ! $parameter_value = $HTTP_POST_VARS[$parameter_data['parameter_id']]; break; } --- 61,65 ---- case 'kb_quick_cat': ! $parameter_value = $_POST[$parameter_data['parameter_id']]; break; } |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:43:04
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2565 Modified Files: bugsbt_post_comment.php Log Message: bad globals Index: bugsbt_post_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/bugsbt_post_comment.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** bugsbt_post_comment.php 15 Feb 2008 22:21:54 -0000 1.4 --- bugsbt_post_comment.php 15 Feb 2008 22:42:56 -0000 1.5 *************** *** 146,150 **** $template->assign_block_vars( "tinyMCE_admin", array( 'PATH' => $mx_root_path, ! 'LANG' => !empty($langcode) ? $langcode : $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'], 'TEMPLATE' => $mx_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); --- 146,150 ---- $template->assign_block_vars( "tinyMCE_admin", array( 'PATH' => $mx_root_path, ! 'LANG' => !empty($langcode) ? $langcode : $_SERVER['HTTP_ACCEPT_LANGUAGE'], 'TEMPLATE' => $mx_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); *************** *** 154,158 **** $template->assign_block_vars( "tinyMCE", array( 'PATH' => $mx_root_path, ! 'LANG' => !empty($langcode) ? $langcode : $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'], 'TEMPLATE' => $mx_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); --- 154,158 ---- $template->assign_block_vars( "tinyMCE", array( 'PATH' => $mx_root_path, ! 'LANG' => !empty($langcode) ? $langcode : $_SERVER['HTTP_ACCEPT_LANGUAGE'], 'TEMPLATE' => $mx_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:29:34
|
Update of /cvsroot/mxbb/mx_news/mx_news/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29533 Modified Files: mx_news_main.php mx_news_post_comment.php Log Message: bad globals Index: mx_news_post_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_news/mx_news/modules/mx_news_post_comment.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_news_post_comment.php 8 Feb 2008 21:58:21 -0000 1.1 --- mx_news_post_comment.php 15 Feb 2008 22:29:30 -0000 1.2 *************** *** 29,33 **** global $template, $mx_news_functions, $lang, $board_config, $phpEx, $mx_news_config, $db, $images, $userdata; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $phpEx, $mx_request_vars; global $mx_block, $theme; --- 29,33 ---- global $template, $mx_news_functions, $lang, $board_config, $phpEx, $mx_news_config, $db, $images, $userdata; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $mx_request_vars; global $mx_block, $theme; Index: mx_news_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_news/mx_news/modules/mx_news_main.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_news_main.php 8 Feb 2008 21:58:21 -0000 1.1 --- mx_news_main.php 15 Feb 2008 22:29:30 -0000 1.2 *************** *** 27,33 **** function main( $action ) { ! global $template, $lang, $board_config, $phpEx, $mx_news_config, $db, $images, $user_ip; global $phpbb_root_path, $userdata, $db, $mx_news_functions; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; // ======================================================= --- 27,33 ---- function main( $action ) { ! global $template, $lang, $board_config, $phpEx, $mx_news_config, $images, $user_ip; global $phpbb_root_path, $userdata, $db, $mx_news_functions; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars; // ======================================================= |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:28:29
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29101 Modified Files: link_category.php link_jump.php link_link.php link_lists.php link_mcp.php link_mini.php link_post_comment.php link_rate.php link_search.php Log Message: bad globals Index: link_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_mini.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** link_mini.php 9 Sep 2007 20:09:04 -0000 1.6 --- link_mini.php 15 Feb 2008 22:28:25 -0000 1.7 *************** *** 28,32 **** { global $template, $lang, $phpEx, $linkdb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars, $mini_config; global $page_id; --- 28,32 ---- { global $template, $lang, $phpEx, $linkdb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars, $mini_config; global $page_id; Index: link_mcp.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_mcp.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** link_mcp.php 9 Sep 2007 20:09:04 -0000 1.3 --- link_mcp.php 15 Feb 2008 22:28:25 -0000 1.4 *************** *** 28,32 **** { global $db, $lang, $userdata, $board_config, $phpEx, $images, $debug; ! global $mx_root_path, $phpbb_root_path, $module_root_path, $is_block, $phpEx; global $linkdb_functions, $template, $linkdb_config; --- 28,32 ---- { global $db, $lang, $userdata, $board_config, $phpEx, $images, $debug; ! global $mx_root_path, $phpbb_root_path, $module_root_path, $is_block; global $linkdb_functions, $template, $linkdb_config; Index: link_category.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_category.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** link_category.php 9 Sep 2007 20:09:03 -0000 1.14 --- link_category.php 15 Feb 2008 22:28:25 -0000 1.15 *************** *** 28,32 **** { global $template, $lang, $phpEx, $linkdb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; // ======================================================= --- 28,32 ---- { global $template, $lang, $phpEx, $linkdb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars; // ======================================================= Index: link_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_lists.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** link_lists.php 9 Sep 2007 20:09:03 -0000 1.4 --- link_lists.php 15 Feb 2008 22:28:25 -0000 1.5 *************** *** 28,32 **** { global $template, $lang, $phpEx, $linkdb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; global $toplist_page_id, $toplist_config; --- 28,32 ---- { global $template, $lang, $phpEx, $linkdb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars; global $toplist_page_id, $toplist_config; Index: link_jump.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_jump.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** link_jump.php 9 Sep 2007 20:09:03 -0000 1.3 --- link_jump.php 15 Feb 2008 22:28:25 -0000 1.4 *************** *** 27,33 **** function main( $action ) { ! global $template, $lang, $board_config, $phpEx, $link_config, $db, $images, $user_ip; global $phpbb_root_path, $userdata, $db, $linkdb_functions; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; // ======================================================= --- 27,33 ---- function main( $action ) { ! global $template, $lang, $board_config, $phpEx, $link_config, $images, $user_ip; global $phpbb_root_path, $userdata, $db, $linkdb_functions; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars; // ======================================================= Index: link_rate.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_rate.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** link_rate.php 9 Sep 2007 20:09:04 -0000 1.14 --- link_rate.php 15 Feb 2008 22:28:25 -0000 1.15 *************** *** 29,33 **** global $template, $lang, $board_config, $phpEx, $linkdb_config, $db, $userdata; global $phpbb_root_path, $linkdb_user, $linkdb_functions; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; // ======================================================= --- 29,33 ---- global $template, $lang, $board_config, $phpEx, $linkdb_config, $db, $userdata; global $phpbb_root_path, $linkdb_user, $linkdb_functions; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars; // ======================================================= Index: link_link.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_link.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** link_link.php 9 Sep 2007 20:09:03 -0000 1.10 --- link_link.php 15 Feb 2008 22:28:25 -0000 1.11 *************** *** 28,33 **** { global $template, $lang, $board_config, $phpEx, $link_config, $db, $images, $user_ip; ! global $phpbb_root_path, $userdata, $db, $linkdb_functions; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; // ======================================================= --- 28,33 ---- { global $template, $lang, $board_config, $phpEx, $link_config, $db, $images, $user_ip; ! global $phpbb_root_path, $userdata, $linkdb_functions; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars; // ======================================================= Index: link_search.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_search.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** link_search.php 9 Sep 2007 20:09:05 -0000 1.15 --- link_search.php 15 Feb 2008 22:28:25 -0000 1.16 *************** *** 28,32 **** { global $template, $lang, $board_config, $phpEx, $linkdb_config, $db; ! global $_REQUEST, $_POST, $phpbb_root_path, $userdata; include( $phpbb_root_path . 'includes/functions_search.' . $phpEx ); --- 28,32 ---- { global $template, $lang, $board_config, $phpEx, $linkdb_config, $db; ! global $phpbb_root_path, $userdata; include( $phpbb_root_path . 'includes/functions_search.' . $phpEx ); Index: link_post_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_post_comment.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** link_post_comment.php 28 Jan 2008 21:53:04 -0000 1.5 --- link_post_comment.php 15 Feb 2008 22:28:25 -0000 1.6 *************** *** 29,33 **** global $template, $linkdb_functions, $lang, $board_config, $phpEx, $link_config, $db, $images, $userdata; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $phpEx, $mx_request_vars; global $mx_block, $theme; --- 29,33 ---- global $template, $linkdb_functions, $lang, $board_config, $phpEx, $link_config, $db, $images, $userdata; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $mx_request_vars; global $mx_block, $theme; |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:25:53
|
Update of /cvsroot/mxbb/mx_kb/kb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27823 Modified Files: kb_article.php kb_cat.php kb_lists.php kb_mcp.php kb_mini.php kb_post.php kb_post_comment.php kb_rate.php kb_search.php kb_stats.php Log Message: bad globals Index: kb_stats.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_stats.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** kb_stats.php 9 Sep 2007 20:06:02 -0000 1.8 --- kb_stats.php 15 Feb 2008 22:25:49 -0000 1.9 *************** *** 28,32 **** { global $template, $lang, $db, $phpEx, $kb_config, $mx_request_vars, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx; // --- 28,32 ---- { global $template, $lang, $db, $phpEx, $kb_config, $mx_request_vars, $userdata; ! global $mx_root_path, $module_root_path, $is_block; // Index: kb_mcp.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_mcp.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** kb_mcp.php 9 Sep 2007 20:06:02 -0000 1.3 --- kb_mcp.php 15 Feb 2008 22:25:49 -0000 1.4 *************** *** 28,32 **** { global $db, $lang, $userdata, $board_config, $phpEx, $images, $debug; ! global $mx_root_path, $phpbb_root_path, $module_root_path, $is_block, $phpEx; global $mx_kb_functions, $template, $kb_config; --- 28,32 ---- { global $db, $lang, $userdata, $board_config, $phpEx, $images, $debug; ! global $mx_root_path, $phpbb_root_path, $module_root_path, $is_block; global $mx_kb_functions, $template, $kb_config; Index: kb_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_lists.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** kb_lists.php 9 Sep 2007 20:06:02 -0000 1.5 --- kb_lists.php 15 Feb 2008 22:25:49 -0000 1.6 *************** *** 28,32 **** { global $template, $lang, $phpEx, $kb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; global $toplist_page_id, $toplist_config; --- 28,32 ---- { global $template, $lang, $phpEx, $kb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars; global $toplist_page_id, $toplist_config; Index: kb_post.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_post.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** kb_post.php 28 Jan 2008 21:51:03 -0000 1.14 --- kb_post.php 15 Feb 2008 22:25:49 -0000 1.15 *************** *** 28,34 **** { global $template, $mx_kb_functions, $lang, $board_config, $phpEx, $kb_config, $db, $images, $userdata; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $phpEx, $mx_request_vars, $theme; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; - global $HTTP_SERVER_VARS; // --- 28,33 ---- { global $template, $mx_kb_functions, $lang, $board_config, $phpEx, $kb_config, $db, $images, $userdata; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $mx_request_vars, $theme; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; // *************** *** 185,189 **** $template->assign_block_vars( "tinyMCE_admin", array( 'PATH' => $mx_root_path, ! 'LANG' => !empty($langcode) ? $langcode : $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'], 'TEMPLATE' => $mx_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); --- 184,188 ---- $template->assign_block_vars( "tinyMCE_admin", array( 'PATH' => $mx_root_path, ! 'LANG' => !empty($langcode) ? $langcode : $_SERVER['HTTP_ACCEPT_LANGUAGE'], 'TEMPLATE' => $mx_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); *************** *** 193,197 **** $template->assign_block_vars( "tinyMCE", array( 'PATH' => $mx_root_path, ! 'LANG' => !empty($langcode) ? $langcode : $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'], 'TEMPLATE' => $mx_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); --- 192,196 ---- $template->assign_block_vars( "tinyMCE", array( 'PATH' => $mx_root_path, ! 'LANG' => !empty($langcode) ? $langcode : $_SERVER['HTTP_ACCEPT_LANGUAGE'], 'TEMPLATE' => $mx_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); Index: kb_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_mini.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** kb_mini.php 9 Sep 2007 20:06:02 -0000 1.7 --- kb_mini.php 15 Feb 2008 22:25:49 -0000 1.8 *************** *** 28,32 **** { global $template, $lang, $phpEx, $kb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars, $mini_config; global $page_id; --- 28,32 ---- { global $template, $lang, $phpEx, $kb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars, $mini_config; global $page_id; Index: kb_article.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_article.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** kb_article.php 9 Sep 2007 20:06:01 -0000 1.16 --- kb_article.php 15 Feb 2008 22:25:49 -0000 1.17 *************** *** 28,32 **** { global $template, $lang, $theme, $db, $phpEx, $kb_config, $mx_request_vars, $userdata; ! global $phpbb_root_path, $mx_root_path, $module_root_path, $is_block, $phpEx, $images; global $mx_kb_custom_field, $mx_kb_functions, $print_version, $board_config, $mx_block; global $page_id; --- 28,32 ---- { global $template, $lang, $theme, $db, $phpEx, $kb_config, $mx_request_vars, $userdata; ! global $phpbb_root_path, $mx_root_path, $module_root_path, $is_block, $images; global $mx_kb_custom_field, $mx_kb_functions, $print_version, $board_config, $mx_block; global $page_id; Index: kb_search.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_search.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** kb_search.php 9 Sep 2007 20:06:02 -0000 1.10 --- kb_search.php 15 Feb 2008 22:25:49 -0000 1.11 *************** *** 28,33 **** { global $template, $lang, $board_config, $phpEx, $kb_config, $db, $images; ! global $_REQUEST, $_POST, $phpbb_root_path, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx; include_once( $phpbb_root_path . 'includes/functions_search.' . $phpEx ); --- 28,32 ---- { global $template, $lang, $board_config, $phpEx, $kb_config, $db, $images; ! global $phpbb_root_path, $userdata, $mx_root_path, $module_root_path, $is_block; include_once( $phpbb_root_path . 'includes/functions_search.' . $phpEx ); Index: kb_rate.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_rate.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** kb_rate.php 9 Sep 2007 20:06:02 -0000 1.9 --- kb_rate.php 15 Feb 2008 22:25:49 -0000 1.10 *************** *** 29,33 **** global $template, $lang, $board_config, $phpEx, $kb_config, $db, $userdata; global $phpbb_root_path, $mx_kb_user, $mx_kb_functions; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; // ======================================================= --- 29,33 ---- global $template, $lang, $board_config, $phpEx, $kb_config, $db, $userdata; global $phpbb_root_path, $mx_kb_user, $mx_kb_functions; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars; // ======================================================= Index: kb_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_cat.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** kb_cat.php 9 Sep 2007 20:06:01 -0000 1.9 --- kb_cat.php 15 Feb 2008 22:25:49 -0000 1.10 *************** *** 28,32 **** { global $template, $lang, $db, $phpEx, $kb_config, $mx_request_vars, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx; // --- 28,32 ---- { global $template, $lang, $db, $phpEx, $kb_config, $mx_request_vars, $userdata; ! global $mx_root_path, $module_root_path, $is_block; // Index: kb_post_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_post_comment.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** kb_post_comment.php 28 Jan 2008 21:51:03 -0000 1.12 --- kb_post_comment.php 15 Feb 2008 22:25:49 -0000 1.13 *************** *** 27,33 **** function main( $action ) { ! global $template, $mx_kb_functions, $lang, $board_config, $phpEx, $kb_config, $db, $images, $userdata, $_POST; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $phpEx, $mx_request_vars; global $mx_block, $theme; --- 27,33 ---- function main( $action ) { ! global $template, $mx_kb_functions, $lang, $board_config, $phpEx, $kb_config, $db, $images, $userdata; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $mx_request_vars; global $mx_block, $theme; |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:21:59
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26175 Modified Files: bugsbt_post.php bugsbt_post_comment.php bugsbt_product.php bugsbt_update_tree.php bugsbt_view.php Log Message: bad globals Index: bugsbt_update_tree.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/bugsbt_update_tree.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** bugsbt_update_tree.php 9 Sep 2007 19:35:11 -0000 1.3 --- bugsbt_update_tree.php 15 Feb 2008 22:21:54 -0000 1.4 *************** *** 29,33 **** { global $template, $lang, $db, $phpEx, $bugsbt_config, $mx_request_vars, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx; // --- 29,33 ---- { global $template, $lang, $db, $phpEx, $bugsbt_config, $mx_request_vars, $userdata; ! global $mx_root_path, $module_root_path, $is_block; // Index: bugsbt_product.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/bugsbt_product.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** bugsbt_product.php 9 Sep 2007 19:35:11 -0000 1.4 --- bugsbt_product.php 15 Feb 2008 22:21:54 -0000 1.5 *************** *** 29,33 **** { global $template, $lang, $db, $phpEx, $bugsbt_config, $mx_request_vars, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx; // --- 29,33 ---- { global $template, $lang, $db, $phpEx, $bugsbt_config, $mx_request_vars, $userdata; ! global $mx_root_path, $module_root_path, $is_block; // Index: bugsbt_view.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/bugsbt_view.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** bugsbt_view.php 9 Sep 2007 19:35:11 -0000 1.5 --- bugsbt_view.php 15 Feb 2008 22:21:54 -0000 1.6 *************** *** 29,33 **** { global $template, $lang, $theme, $db, $phpEx, $bugsbt_config, $mx_request_vars, $userdata; ! global $phpbb_root_path, $mx_root_path, $module_root_path, $is_block, $phpEx, $images; global $mx_bugsbt_custom_field, $mx_bugsbt_functions, $print_version, $board_config, $mx_block; --- 29,33 ---- { global $template, $lang, $theme, $db, $phpEx, $bugsbt_config, $mx_request_vars, $userdata; ! global $phpbb_root_path, $mx_root_path, $module_root_path, $is_block, $images; global $mx_bugsbt_custom_field, $mx_bugsbt_functions, $print_version, $board_config, $mx_block; Index: bugsbt_post.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/bugsbt_post.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** bugsbt_post.php 9 Sep 2007 19:35:11 -0000 1.6 --- bugsbt_post.php 15 Feb 2008 22:21:54 -0000 1.7 *************** *** 29,35 **** { global $template, $mx_bugsbt_functions, $lang, $board_config, $phpEx, $bugsbt_config, $db, $images, $userdata; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $phpEx, $mx_request_vars, $theme; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; - global $HTTP_SERVER_VARS; global $page_id, $block_id; --- 29,34 ---- { global $template, $mx_bugsbt_functions, $lang, $board_config, $phpEx, $bugsbt_config, $db, $images, $userdata; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $mx_request_vars, $theme; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; global $page_id, $block_id; *************** *** 190,194 **** $template->assign_block_vars( "tinyMCE", array( 'PATH' => $mx_root_path, ! 'LANG' => !empty($langcode) ? $langcode : $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'], 'TEMPLATE' => $phpbb_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); --- 189,193 ---- $template->assign_block_vars( "tinyMCE", array( 'PATH' => $mx_root_path, ! 'LANG' => !empty($langcode) ? $langcode : $_SERVER['HTTP_ACCEPT_LANGUAGE'], 'TEMPLATE' => $phpbb_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); Index: bugsbt_post_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/bugsbt_post_comment.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** bugsbt_post_comment.php 28 Jan 2008 21:44:43 -0000 1.3 --- bugsbt_post_comment.php 15 Feb 2008 22:21:54 -0000 1.4 *************** *** 27,33 **** function main( $action ) { ! global $template, $mx_bugsbt_functions, $lang, $board_config, $phpEx, $bugsbt_config, $db, $images, $userdata, $_POST; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $phpEx, $mx_request_vars; global $page_id, $block_id; global $mx_block, $theme; --- 27,33 ---- function main( $action ) { ! global $template, $mx_bugsbt_functions, $lang, $board_config, $phpEx, $bugsbt_config, $db, $images, $userdata; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $mx_request_vars; global $page_id, $block_id; global $mx_block, $theme; |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:21:29
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26134/bugsbt Modified Files: bugsbt_common.php Log Message: bad globals Index: bugsbt_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/bugsbt_common.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** bugsbt_common.php 5 May 2007 20:17:43 -0000 1.3 --- bugsbt_common.php 15 Feb 2008 22:21:22 -0000 1.4 *************** *** 100,127 **** // - // options - // - /* - $kb_wysiwyg = false; - if ( $kb_config['wysiwyg'] ) // Html Textblock - { - if ( file_exists( $mx_root_path . 'modules/mx_shared/tinymce/jscripts/tiny_mce/blank.htm' ) ) - { - $bbcode_on = false; - $html_on = true; - $smilies_on = false; - $kb_wysiwyg = true; - } - } - - if ( !$kb_wysiwyg ) - { - $bbcode_on = $kb_config['allow_bbcode'] ? true : false; - $html_on = $kb_config['allow_html'] ? true : false; - $smilies_on = $kb_config['allow_smilies'] ? true : false; - } - */ - - // // Some general template vars // --- 100,103 ---- |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:21:28
|
Update of /cvsroot/mxbb/mx_bugsbt/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26134/admin Modified Files: admin_bugsbt.php Log Message: bad globals Index: admin_bugsbt.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/admin/admin_bugsbt.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** admin_bugsbt.php 5 May 2007 20:17:42 -0000 1.2 --- admin_bugsbt.php 15 Feb 2008 22:21:22 -0000 1.3 *************** *** 13,16 **** --- 13,18 ---- define( 'MXBB_MODULE', true ); + $phpEx = substr(strrchr(__FILE__, '.'), 1); + // // Main paths |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:16:23
|
Update of /cvsroot/mxbb/mx_slides/language/lang_swedish In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23969 Added Files: index.htm Log Message: ;) --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:16:02
|
Update of /cvsroot/mxbb/mx_simpledoc In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23572 Modified Files: mx_simpledoc.php Log Message: minor Index: mx_simpledoc.php =================================================================== RCS file: /cvsroot/mxbb/mx_simpledoc/mx_simpledoc.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mx_simpledoc.php 30 Jun 2006 12:24:38 -0000 1.3 --- mx_simpledoc.php 15 Feb 2008 22:15:58 -0000 1.4 *************** *** 102,105 **** // $mx_simpledoc_cache->unload(); - ?> \ No newline at end of file --- 102,104 ---- |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:15:23
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23098/modules Modified Files: pa_category.php pa_download.php pa_email.php pa_file.php pa_license.php pa_lists.php pa_mcp.php pa_mini.php pa_post_comment.php pa_quickdl.php pa_rate.php pa_search.php pa_stats.php pa_toplist.php pa_user_upload.php Log Message: Updated, sync with phpBB2 standalone usage Trailing newlines Bad globals Index: pa_download.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_download.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** pa_download.php 9 Sep 2007 20:16:18 -0000 1.22 --- pa_download.php 15 Feb 2008 22:15:15 -0000 1.23 *************** *** 27,32 **** function main( $action ) { ! global $_REQUEST, $lang, $db, $pafiledb_user, $pafiledb_config, $board_config, $phpEx, $userdata; ! global $phpbb_root_path, $_SERVER, $pafiledb_functions; global $mx_script_name, $module_root_path; --- 27,32 ---- function main( $action ) { ! global $lang, $db, $pafiledb_user, $pafiledb_config, $board_config, $phpEx, $userdata; ! global $phpbb_root_path, $pafiledb_functions; global $mx_script_name, $module_root_path; *************** *** 34,44 **** // Read language definition // ********************************************************************** ! if ( !file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_main.' . $phpEx ); } else { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ); } --- 34,58 ---- // Read language definition // ********************************************************************** ! if ( !MXBB_MODULE ) { ! if ( !file_exists( $module_root_path . 'pafiledb/language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) ! { ! include( $module_root_path . 'pafiledb/language/lang_english/lang_main.' . $phpEx ); ! } ! else ! { ! include( $module_root_path . 'pafiledb/language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ); ! } } else { ! if ( !file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) ! { ! include( $module_root_path . 'language/lang_english/lang_main.' . $phpEx ); ! } ! else ! { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ); ! } } *************** *** 145,149 **** if ( !empty( $mirrors_data ) && !$mirror_id ) { - global $template; global $template, $db, $theme, $gen_simple_header, $starttime; --- 159,162 ---- Index: pa_post_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_post_comment.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** pa_post_comment.php 28 Jan 2008 21:57:10 -0000 1.23 --- pa_post_comment.php 15 Feb 2008 22:15:15 -0000 1.24 *************** *** 27,33 **** function main( $action ) { ! global $template, $pafiledb_functions, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images, $userdata, $_POST; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $phpEx, $mx_request_vars; global $mx_block, $theme; --- 27,33 ---- function main( $action ) { ! global $template, $pafiledb_functions, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images, $userdata; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $mx_request_vars; global $mx_block, $theme; Index: pa_user_upload.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_user_upload.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** pa_user_upload.php 9 Sep 2007 20:16:20 -0000 1.25 --- pa_user_upload.php 15 Feb 2008 22:15:16 -0000 1.26 *************** *** 29,33 **** global $pafiledb_config, $board_config, $phpbb_root_path; global $template, $db, $lang, $userdata, $user_ip, $phpEx, $pafiledb_functions; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; // ======================================================= --- 29,33 ---- global $pafiledb_config, $board_config, $phpbb_root_path; global $template, $db, $lang, $userdata, $user_ip, $phpEx, $pafiledb_functions; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars; // ======================================================= Index: pa_file.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_file.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** pa_file.php 9 Sep 2007 20:16:19 -0000 1.23 --- pa_file.php 15 Feb 2008 22:15:15 -0000 1.24 *************** *** 27,33 **** function main( $action ) { ! global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images; global $phpbb_root_path, $userdata, $db, $pafiledb_functions; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; // ======================================================= --- 27,33 ---- function main( $action ) { ! global $template, $lang, $board_config, $phpEx, $pafiledb_config, $images; global $phpbb_root_path, $userdata, $db, $pafiledb_functions; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars; // ======================================================= *************** *** 128,131 **** --- 128,142 ---- $file_poster .= ( $file_data['user_id'] != ANONYMOUS ) ? '</a>' : ''; + if ( !MXBB_MODULE ) + { + $server_protocol = ($board_config['cookie_secure']) ? 'https://' : 'http://'; + $server_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['server_name'])); + $server_port = ($board_config['server_port'] <> 80) ? ':' . trim($board_config['server_port']) : ''; + $script_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['script_path'])); + $false_phpbb_url = $server_protocol . $server_name . $server_port . '/'; + $false_phpbb_path = './'; + $file_screenshot_url = str_replace($false_phpbb_url . $false_phpbb_path, PORTAL_URL, $file_screenshot_url); + } + $template->assign_vars( array( 'L_CLICK_HERE' => $lang['Click_here'], Index: pa_license.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_license.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** pa_license.php 9 Sep 2007 20:16:19 -0000 1.20 --- pa_license.php 15 Feb 2008 22:15:15 -0000 1.21 *************** *** 28,33 **** { global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images, $userdata; ! global $_REQUEST, $phpbb_root_path; ! global $mx_root_path, $module_root_path, $is_block, $page_id, $phpEx; if ( isset( $_REQUEST['license_id'] ) ) --- 28,32 ---- { global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images, $userdata; ! global $phpbb_root_path, $mx_root_path, $module_root_path, $is_block, $page_id; if ( isset( $_REQUEST['license_id'] ) ) Index: pa_mcp.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_mcp.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** pa_mcp.php 9 Sep 2007 20:16:19 -0000 1.17 --- pa_mcp.php 15 Feb 2008 22:15:15 -0000 1.18 *************** *** 28,32 **** { global $db, $lang, $userdata, $board_config, $phpEx, $images, $debug; ! global $mx_root_path, $phpbb_root_path, $module_root_path, $is_block, $phpEx; global $pafiledb_functions, $template, $pafiledb_config; --- 28,32 ---- { global $db, $lang, $userdata, $board_config, $phpEx, $images, $debug; ! global $mx_root_path, $phpbb_root_path, $module_root_path, $is_block; global $pafiledb_functions, $template, $pafiledb_config; Index: pa_category.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_category.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** pa_category.php 9 Sep 2007 20:16:18 -0000 1.20 --- pa_category.php 15 Feb 2008 22:15:15 -0000 1.21 *************** *** 28,32 **** { global $template, $lang, $phpEx, $pafiledb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; // ======================================================= --- 28,32 ---- { global $template, $lang, $phpEx, $pafiledb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars; // ======================================================= Index: pa_email.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_email.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** pa_email.php 9 Sep 2007 20:16:18 -0000 1.18 --- pa_email.php 15 Feb 2008 22:15:15 -0000 1.19 *************** *** 28,33 **** { global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images, $userdata; ! global $_REQUEST, $_POST, $phpbb_root_path; ! global $mx_root_path, $module_root_path, $is_block, $phpEx; if ( isset( $_REQUEST['file_id'] ) ) --- 28,32 ---- { global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images, $userdata; ! global $phpbb_root_path, $mx_root_path, $module_root_path, $is_block; if ( isset( $_REQUEST['file_id'] ) ) Index: pa_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_lists.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** pa_lists.php 9 Sep 2007 20:16:19 -0000 1.4 --- pa_lists.php 15 Feb 2008 22:15:15 -0000 1.5 *************** *** 28,32 **** { global $template, $lang, $phpEx, $pafiledb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; global $toplist_page_id, $toplist_config; --- 28,32 ---- { global $template, $lang, $phpEx, $pafiledb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars; global $toplist_page_id, $toplist_config; Index: pa_search.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_search.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** pa_search.php 9 Sep 2007 20:16:20 -0000 1.22 --- pa_search.php 15 Feb 2008 22:15:15 -0000 1.23 *************** *** 28,33 **** { global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images; ! global $_REQUEST, $_POST, $phpbb_root_path, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx; if ( !$this->auth_global['auth_search'] ) --- 28,33 ---- { global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images; ! global $phpbb_root_path, $userdata; ! global $mx_root_path, $module_root_path, $is_block; if ( !$this->auth_global['auth_search'] ) Index: pa_quickdl.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_quickdl.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** pa_quickdl.php 28 Jan 2008 21:57:10 -0000 1.15 --- pa_quickdl.php 15 Feb 2008 22:15:15 -0000 1.16 *************** *** 27,32 **** function main( $action ) { ! global $template, $lang, $phpEx, $pafiledb_config, $_REQUEST, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $pafiledb_quickdl, $page_id; // ======================================================= --- 27,32 ---- function main( $action ) { ! global $template, $lang, $phpEx, $pafiledb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $pafiledb_quickdl, $page_id; // ======================================================= Index: pa_rate.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_rate.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** pa_rate.php 9 Sep 2007 20:16:20 -0000 1.19 --- pa_rate.php 15 Feb 2008 22:15:15 -0000 1.20 *************** *** 29,33 **** global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $userdata; global $phpbb_root_path, $pafiledb_user, $pafiledb_functions; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; // ======================================================= --- 29,33 ---- global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $userdata; global $phpbb_root_path, $pafiledb_user, $pafiledb_functions; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars; // ======================================================= Index: pa_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_mini.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** pa_mini.php 9 Sep 2007 20:16:19 -0000 1.6 --- pa_mini.php 15 Feb 2008 22:15:15 -0000 1.7 *************** *** 28,32 **** { global $template, $lang, $phpEx, $pafiledb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars, $mini_config; global $page_id; --- 28,32 ---- { global $template, $lang, $phpEx, $pafiledb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars, $mini_config; global $page_id; Index: pa_toplist.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_toplist.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** pa_toplist.php 9 Sep 2007 20:16:20 -0000 1.24 --- pa_toplist.php 15 Feb 2008 22:15:16 -0000 1.25 *************** *** 28,33 **** { global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images; ! global $phpbb_root_path, $userdata, $db; ! global $mx_root_path, $module_root_path, $is_block, $phpEx; if ( !$this->auth_global['auth_toplist'] ) --- 28,33 ---- { global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images; ! global $phpbb_root_path, $userdata; ! global $mx_root_path, $module_root_path, $is_block; if ( !$this->auth_global['auth_toplist'] ) Index: pa_stats.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_stats.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** pa_stats.php 9 Sep 2007 20:16:20 -0000 1.24 --- pa_stats.php 15 Feb 2008 22:15:16 -0000 1.25 *************** *** 27,33 **** function main( $action ) { ! global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $db, $images; ! global $_REQUEST, $phpbb_root_path, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx; if ( !$this->auth_global['auth_stats'] ) --- 27,33 ---- function main( $action ) { ! global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images; ! global $phpbb_root_path, $userdata; ! global $mx_root_path, $module_root_path, $is_block; if ( !$this->auth_global['auth_stats'] ) |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:15:19
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23098/includes Modified Files: functions.php pafiledb_constants.php Log Message: Updated, sync with phpBB2 standalone usage Trailing newlines Bad globals Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions.php,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** functions.php 9 Sep 2007 20:16:17 -0000 1.39 --- functions.php 15 Feb 2008 22:15:15 -0000 1.40 *************** *** 105,113 **** if ( $mode == 'window' ) { ! /* ! $userdata = session_pagestart( $user_ip, $page_id ); ! init_userprefs( $userdata ); ! */ ! $mx_user->init($user_ip, PAGE_INDEX); $gen_simple_header = true; --- 105,117 ---- if ( $mode == 'window' ) { ! if ( !MXBB_MODULE ) ! { ! $userdata = session_pagestart( $user_ip, $page_id ); ! init_userprefs( $userdata ); ! } ! else ! { ! $mx_user->init($user_ip, PAGE_INDEX); ! } $gen_simple_header = true; Index: pafiledb_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/pafiledb_constants.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** pafiledb_constants.php 5 Jul 2006 22:50:22 -0000 1.20 --- pafiledb_constants.php 15 Feb 2008 22:15:15 -0000 1.21 *************** *** 81,86 **** if ( !MXBB_MODULE || MXBB_27x ) { ! $pa_module_version = "pafileDB Download Manager v. 2.0.x"; ! $pa_module_author = "Haplo/Jon"; $pa_module_orig_author = "Mohd"; } --- 81,86 ---- if ( !MXBB_MODULE || MXBB_27x ) { ! $pa_module_version = "pafileDB Download Manager v. 0.9.0"; ! $pa_module_author = "Jon Ohlsson"; $pa_module_orig_author = "Mohd"; } |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:14:27
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23057/pafiledb Modified Files: pafiledb_common.php Log Message: Updated, sync with phpBB2 standalone usage Trailing newlines Bad globals Index: pafiledb_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/pafiledb_common.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** pafiledb_common.php 9 Sep 2007 20:15:47 -0000 1.20 --- pafiledb_common.php 15 Feb 2008 22:14:23 -0000 1.21 *************** *** 75,79 **** // - Class mx_text_formatting // ! include_once( $mx_root_path . 'includes/mx_functions_tools.' . $phpEx ); include_once( $module_root_path . 'pafiledb/includes/functions.' . $phpEx ); --- 75,188 ---- // - Class mx_text_formatting // ! if ( !MXBB_MODULE ) ! { ! include_once( $mx_mod_path . 'includes/functions_tools.' . $phpEx ); ! } ! else ! { ! include_once( $mx_root_path . 'includes/mx_functions_tools.' . $phpEx ); ! } ! ! // ********************************************************************** ! // If phpBB mod read language definition ! // ********************************************************************** ! ! if ( !MXBB_MODULE ) ! { ! if ( !file_exists( $module_root_path . 'pafiledb/language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) ! { ! include( $module_root_path . 'pafiledb/language/lang_english/lang_main.' . $phpEx ); ! } ! else ! { ! include( $module_root_path . 'pafiledb/language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ); ! } ! } ! ! // ********************************************************************** ! // If phpBB mod read theme definition and language in theme definition ! // ********************************************************************** ! if ( !MXBB_MODULE ) ! { ! $sql = 'SELECT * ! FROM ' . THEMES_TABLE . ' ! WHERE themes_id = ' . (int) $userdata['user_style']; ! if ( !($result = $db->sql_query($sql)) ) ! { ! message_die(CRITICAL_ERROR, 'Could not query database for theme info'); ! } ! ! if ( $row = $db->sql_fetchrow($result) ) ! { ! $db->sql_freeresult($result); ! $template_name = $row['template_name'] ; ! } ! else ! { ! // We are trying to setup a style which does not exist in the database ! // Try to fallback to the board default (if the user had a custom style) ! // and then any users using this style to the default if it succeeds ! if ( $userdata['user_style'] != $board_config['default_style']) ! { ! $sql = 'SELECT * ! FROM ' . THEMES_TABLE . ' ! WHERE themes_id = ' . (int) $board_config['default_style']; ! if ( !($result = $db->sql_query($sql)) ) ! { ! message_die(CRITICAL_ERROR, 'Could not query database for theme info'); ! } ! if ( $row = $db->sql_fetchrow($result) ) ! { ! $db->sql_freeresult($result); ! $template_name = $row['template_name'] ; ! } ! else ! { ! message_die(CRITICAL_ERROR, "Could not get theme data for themes_id [$style]"); ! } ! } ! else ! { ! message_die(CRITICAL_ERROR, "Could not get theme data for themes_id [$style]"); ! } ! } ! ! $template_path = 'templates/' ; ! ! if ( $template ) ! { ! $current_template_path = $template_path . $template_name; ! } ! else ! { ! $current_template_path = $template_path . 'subSilver'; ! } ! ! // ------------------------------------------------------------------------- ! // Prefix with PORTAL_URL ! // ------------------------------------------------------------------------- ! $current_template_images = PORTAL_URL . $current_template_path . "/images"; ! ! @include($phpbb_root_path . $template_path . $template_name . '/' . 'pafiledb.cfg'); ! ! $img_lang = ( file_exists($mx_root_path . $current_template_path . '/images/lang_' . $board_config['default_lang']) ) ? $board_config['default_lang'] : 'english'; ! ! while( list($key, $value) = @each($mx_images) ) ! { ! if (is_array($value)) ! { ! foreach( $value as $key2 => $val2 ) ! { ! $images[$key][$key2] = $val2; ! $mx_images[$key][$key2] = $val2; ! } ! } ! else ! { ! $images[$key] = str_replace('{LANG}', 'lang_' . $img_lang, $value); ! $mx_images[$key] = str_replace('{LANG}', 'lang_' . $img_lang, $value); ! } ! } ! } include_once( $module_root_path . 'pafiledb/includes/functions.' . $phpEx ); *************** *** 81,86 **** //include_once( $module_root_path . 'pafiledb/includes/functions_mx.' . $phpEx ); include_once( $module_root_path . 'pafiledb/includes/functions_pafiledb.' . $phpEx ); ! //include_once( $module_root_path . 'pafiledb/includes/template.' . $phpEx ); ! // Removed old template class, display->pparse, ... // =================================================== --- 190,202 ---- //include_once( $module_root_path . 'pafiledb/includes/functions_mx.' . $phpEx ); include_once( $module_root_path . 'pafiledb/includes/functions_pafiledb.' . $phpEx ); ! ! // ! // We need XS templates, also when ran as a phpBB2 MOD ! // ! if ( !MXBB_MODULE ) ! { ! include_once( $module_root_path . 'pafiledb/includes/template.' . $phpEx ); // Include XS template ! $template = new Template($module_root_path . 'templates/'. $theme['template_name']); ! } // =================================================== *************** *** 100,106 **** } - //$pafiledb_template = new pafiledb_template(); - //$pafiledb_template->set_template( $theme['template_name'] ); - $pafiledb_user = new mx_user_info(); --- 216,219 ---- |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:14:27
|
Update of /cvsroot/mxbb/mx_pafiledb/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23057/admin Modified Files: admin_pafiledb.php Log Message: Updated, sync with phpBB2 standalone usage Trailing newlines Bad globals Index: admin_pafiledb.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pafiledb.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** admin_pafiledb.php 22 Aug 2006 20:23:24 -0000 1.6 --- admin_pafiledb.php 15 Feb 2008 22:14:23 -0000 1.7 *************** *** 11,15 **** define( 'IN_PORTAL', true ); ! if ( file_exists( './../viewtopic.php' ) ) { define( 'IN_PHPBB', 1 ); --- 11,17 ---- define( 'IN_PORTAL', true ); ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! ! if ( @file_exists( './../viewtopic.'.$phpEx ) ) { define( 'IN_PHPBB', 1 ); *************** *** 20,23 **** --- 22,26 ---- // $phpbb_root_path = $module_root_path = $mx_root_path = "./../"; + $mx_mod_path = $phpbb_root_path . 'mx_mod/'; // *************** *** 28,31 **** --- 31,35 ---- require_once( $phpbb_root_path . 'extension.inc' ); + require_once( $mx_mod_path . 'includes/functions_required.' . $phpEx ); } else *************** *** 76,86 **** // Read language definition // ********************************************************************** ! if ( !file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_admin.' . $phpEx ); } else { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); } --- 80,104 ---- // Read language definition // ********************************************************************** ! if ( !MXBB_MODULE ) { ! if ( !file_exists( $module_root_path . 'pafiledb/language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ) ) ! { ! include( $module_root_path . 'pafiledb/language/lang_english/lang_admin.' . $phpEx ); ! } ! else ! { ! include( $module_root_path . 'pafiledb/language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); ! } } else { ! if ( !file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ) ) ! { ! include( $module_root_path . 'language/lang_english/lang_admin.' . $phpEx ); ! } ! else ! { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); ! } } |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:14:26
|
Update of /cvsroot/mxbb/mx_pafiledb In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23057 Modified Files: dload.php dload_lists.php dload_mini.php dload_quickdl.php Log Message: Updated, sync with phpBB2 standalone usage Trailing newlines Bad globals Index: dload_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload_mini.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** dload_mini.php 9 Sep 2007 20:15:46 -0000 1.3 --- dload_mini.php 15 Feb 2008 22:14:23 -0000 1.4 *************** *** 47,51 **** // =================================================== include_once( $module_root_path . 'pafiledb/pafiledb_common.' . $phpEx ); - //$pafiledb_template->destroy(); // =================================================== --- 47,50 ---- Index: dload_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload_lists.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** dload_lists.php 9 Sep 2007 20:15:46 -0000 1.25 --- dload_lists.php 15 Feb 2008 22:14:23 -0000 1.26 *************** *** 50,54 **** // =================================================== include_once( $module_root_path . 'pafiledb/pafiledb_common.' . $phpEx ); - //$pafiledb_template->destroy(); // =================================================== --- 50,53 ---- Index: dload.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** dload.php 9 Sep 2007 20:15:46 -0000 1.24 --- dload.php 15 Feb 2008 22:14:23 -0000 1.25 *************** *** 9,13 **** */ ! if ( file_exists( './viewtopic.php' ) ) // -------------------------------------------- phpBB MOD MODE { define( 'MXBB_MODULE', false ); --- 9,15 ---- */ ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! ! if ( !defined('PORTAL_BACKEND') && @file_exists( './viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { define( 'MXBB_MODULE', false ); *************** *** 18,34 **** // When run as a phpBB mod these paths are identical ;) $phpbb_root_path = $module_root_path = $mx_root_path = './'; - $phpEx = substr(strrchr(__FILE__, '.'), 1); include( $phpbb_root_path . 'common.' . $phpEx ); ! include_once( $phpbb_root_path . 'includes/bbcode.' . $phpEx ); ! include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx ); define( 'PAGE_DOWNLOAD', -501 ); // If this id generates a conflict with other mods, change it ;) ! // Start session management ! $userdata = session_pagestart( $user_ip, PAGE_DOWNLOAD ); ! init_userprefs( $userdata ); ! // End session management } else --- 20,100 ---- // When run as a phpBB mod these paths are identical ;) $phpbb_root_path = $module_root_path = $mx_root_path = './'; + $mx_mod_path = $phpbb_root_path . 'mx_mod/'; + + //Check for cash mod + if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) + { + define('IN_CASHMOD', true); + } include( $phpbb_root_path . 'common.' . $phpEx ); ! @ini_set( 'display_errors', '1' ); ! error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables ! ! include_once( $mx_mod_path . 'includes/functions_required.' . $phpEx ); ! include_once( $mx_mod_path . 'includes/functions_core.' . $phpEx ); define( 'PAGE_DOWNLOAD', -501 ); // If this id generates a conflict with other mods, change it ;) ! // ! // Instatiate the mx_cache class ! // ! $mx_cache = new mx_cache(); ! ! // ! // Get mxBB config settings ! // ! $portal_config = $mx_cache->obtain_mxbb_config(); ! ! // ! // instatiate the mx_request_vars class ! // ! $mx_request_vars = new mx_request_vars(); ! ! $is_block = false; ! ! if ( file_exists("./modcp.$phpEx") ) // phpBB2 ! { ! define('PORTAL_BACKEND', 'phpbb2'); ! $tplEx = 'tpl'; ! ! include_once( $phpbb_root_path . 'includes/bbcode.' . $phpEx ); ! include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx ); ! ! // Start session management ! $userdata = session_pagestart( $user_ip, PAGE_DOWNLOAD ); ! init_userprefs( $userdata ); ! // End session management ! ! ! } ! else if ( @file_exists("./mcp.$phpEx") ) // phpBB3 ! { ! define('PORTAL_BACKEND', 'phpbb3'); ! $tplEx = 'html'; ! ! //include_once( $mx_mod_path . 'includes/shared/phpbb2/includes/bbcode.' . $phpEx ); ! //include_once( $mx_mod_path . 'includes/shared/phpbb2/includes/functions_post.' . $phpEx ); ! ! // ! // Start session management ! // ! $user->session_begin(); ! $userdata = $user->data; ! $user->setup(); ! // ! // End session management ! // ! ! // ! // Get phpBB config settings ! // ! $board_config = $config; ! } ! else ! { ! die('Copy this file in phpbb_root_path were is your viewtopic.php file!!!'); ! } } else *************** *** 77,84 **** $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); $is_block = true; global $images; } ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); } --- 143,156 ---- $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); + //Check for cash mod + if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) + { + define('IN_CASHMOD', true); + } + $is_block = true; global $images; } ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.'.$phpEx ) ); } *************** *** 99,103 **** // =================================================== include_once( $module_root_path . 'pafiledb/pafiledb_common.' . $phpEx ); - //$pafiledb_template->destroy(); // =================================================== --- 171,174 ---- *************** *** 109,113 **** // Is admin? // =================================================== ! $is_admin = ( ( $userdata['user_level'] == ADMIN ) && $userdata['session_logged_in'] ) ? true : 0; // =================================================== --- 180,193 ---- // Is admin? // =================================================== ! switch (PORTAL_BACKEND) ! { ! case 'internal': ! case 'phpbb2': ! $is_admin = ( ( $userdata['user_level'] == ADMIN ) && $userdata['session_logged_in'] ) ? true : 0; ! break; ! case 'phpbb3': ! $is_admin = ( $userdata['user_type'] == USER_FOUNDER ) ? true : 0; ! break; ! } // =================================================== Index: dload_quickdl.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload_quickdl.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** dload_quickdl.php 9 Sep 2007 20:15:47 -0000 1.15 --- dload_quickdl.php 15 Feb 2008 22:14:23 -0000 1.16 *************** *** 47,51 **** // =================================================== include_once( $module_root_path . 'pafiledb/pafiledb_common.' . $phpEx ); - //$pafiledb_template->destroy(); // =================================================== --- 47,50 ---- |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:13:40
|
Update of /cvsroot/mxbb/mx_news/mx_news/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22627 Modified Files: functions.php mx_news_constants.php Log Message: Updated, sync with phpBB2 standalone usage Trailing newlines Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_news/mx_news/includes/functions.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** functions.php 8 Feb 2008 21:58:20 -0000 1.1 --- functions.php 15 Feb 2008 22:13:36 -0000 1.2 *************** *** 100,108 **** if ( $mode == 'window' ) { ! /* ! $userdata = session_pagestart( $user_ip, $page_id ); ! init_userprefs( $userdata ); ! */ ! $mx_user->init($user_ip, PAGE_INDEX); $gen_simple_header = true; --- 100,112 ---- if ( $mode == 'window' ) { ! if ( !MXBB_MODULE ) ! { ! $userdata = session_pagestart( $user_ip, $page_id ); ! init_userprefs( $userdata ); ! } ! else ! { ! $mx_user->init($user_ip, PAGE_INDEX); ! } $gen_simple_header = true; Index: mx_news_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_news/mx_news/includes/mx_news_constants.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_news_constants.php 8 Feb 2008 21:58:21 -0000 1.1 --- mx_news_constants.php 15 Feb 2008 22:13:36 -0000 1.2 *************** *** 48,71 **** define( 'CHECKBOX', 5 ); ! if ( !MXBB_MODULE || MXBB_27x ) ! { ! $mx_news_module_version = "Simple News Manager v. 1.0.0"; ! $mx_news_module_author = "Jon"; ! } ! else { ! if (is_object($mx_page)) ! { ! // ------------------------------------------------------------------------- ! // Extend User Style with module lang and images ! // Usage: $mx_user->extend(LANG, IMAGES) ! // Switches: ! // - LANG: MX_LANG_MAIN (default), MX_LANG_ADMIN, MX_LANG_ALL, MX_LANG_NONE ! // - IMAGES: MX_IMAGES (default), MX_IMAGES_NONE ! // ------------------------------------------------------------------------- ! $mx_user->extend(); ! $mx_page->add_copyright( 'mxBB News Module' ); ! } } ?> \ No newline at end of file --- 48,63 ---- define( 'CHECKBOX', 5 ); ! if (is_object($mx_page)) { ! // ------------------------------------------------------------------------- ! // Extend User Style with module lang and images ! // Usage: $mx_user->extend(LANG, IMAGES) ! // Switches: ! // - LANG: MX_LANG_MAIN (default), MX_LANG_ADMIN, MX_LANG_ALL, MX_LANG_NONE ! // - IMAGES: MX_IMAGES (default), MX_IMAGES_NONE ! // ------------------------------------------------------------------------- ! $mx_user->extend(); ! $mx_page->add_copyright( 'mxBB News Module' ); } ?> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:13:30
|
Update of /cvsroot/mxbb/mx_news In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22594 Modified Files: mx_news.php Log Message: Updated, sync with phpBB2 standalone usage Trailing newlines Index: mx_news.php =================================================================== RCS file: /cvsroot/mxbb/mx_news/mx_news.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_news.php 8 Feb 2008 21:57:46 -0000 1.1 --- mx_news.php 15 Feb 2008 22:13:26 -0000 1.2 *************** *** 9,13 **** */ ! if ( file_exists( './viewtopic.php' ) ) // -------------------------------------------- phpBB MOD MODE { define( 'MXBB_MODULE', false ); --- 9,15 ---- */ ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! ! if ( !defined('PORTAL_BACKEND') && @file_exists( './viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { define( 'MXBB_MODULE', false ); *************** *** 18,34 **** // When run as a phpBB mod these paths are identical ;) $phpbb_root_path = $module_root_path = $mx_root_path = './'; - $phpEx = substr(strrchr(__FILE__, '.'), 1); include( $phpbb_root_path . 'common.' . $phpEx ); ! include_once( $phpbb_root_path . 'includes/bbcode.' . $phpEx ); ! include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx ); define( 'PAGE_DOWNLOAD', -501 ); // If this id generates a conflict with other mods, change it ;) ! // Start session management ! $userdata = session_pagestart( $user_ip, PAGE_DOWNLOAD ); ! init_userprefs( $userdata ); ! // End session management } else --- 20,100 ---- // When run as a phpBB mod these paths are identical ;) $phpbb_root_path = $module_root_path = $mx_root_path = './'; + $mx_mod_path = $phpbb_root_path . 'mx_mod/'; + + //Check for cash mod + if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) + { + define('IN_CASHMOD', true); + } include( $phpbb_root_path . 'common.' . $phpEx ); ! @ini_set( 'display_errors', '1' ); ! error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables ! ! include_once( $mx_mod_path . 'includes/functions_required.' . $phpEx ); ! include_once( $mx_mod_path . 'includes/functions_core.' . $phpEx ); define( 'PAGE_DOWNLOAD', -501 ); // If this id generates a conflict with other mods, change it ;) ! // ! // Instatiate the mx_cache class ! // ! $mx_cache = new mx_cache(); ! ! // ! // Get mxBB config settings ! // ! $portal_config = $mx_cache->obtain_mxbb_config(); ! ! // ! // instatiate the mx_request_vars class ! // ! $mx_request_vars = new mx_request_vars(); ! ! $is_block = false; ! ! if ( file_exists("./modcp.$phpEx") ) // phpBB2 ! { ! define('PORTAL_BACKEND', 'phpbb2'); ! $tplEx = 'tpl'; ! ! include_once( $phpbb_root_path . 'includes/bbcode.' . $phpEx ); ! include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx ); ! ! // Start session management ! $userdata = session_pagestart( $user_ip, PAGE_DOWNLOAD ); ! init_userprefs( $userdata ); ! // End session management ! ! ! } ! else if ( @file_exists("./mcp.$phpEx") ) // phpBB3 ! { ! define('PORTAL_BACKEND', 'phpbb3'); ! $tplEx = 'html'; ! ! //include_once( $mx_mod_path . 'includes/shared/phpbb2/includes/bbcode.' . $phpEx ); ! //include_once( $mx_mod_path . 'includes/shared/phpbb2/includes/functions_post.' . $phpEx ); ! ! // ! // Start session management ! // ! $user->session_begin(); ! $userdata = $user->data; ! $user->setup(); ! // ! // End session management ! // ! ! // ! // Get phpBB config settings ! // ! $board_config = $config; ! } ! else ! { ! die('Copy this file in phpbb_root_path were is your viewtopic.php file!!!'); ! } } else *************** *** 79,86 **** $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); $is_block = true; global $images; } ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); } --- 145,158 ---- $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); + //Check for cash mod + if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) + { + define('IN_CASHMOD', true); + } + $is_block = true; global $images; } ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.'.$phpEx ) ); } *************** *** 105,114 **** // Get action variable other wise set it to the main // ! $action = ( isset( $_REQUEST['action'] ) ) ? htmlspecialchars( $_REQUEST['action'] ) : 'news'; // =================================================== // Is admin? // =================================================== ! $is_admin = ( ( $userdata['user_level'] == ADMIN ) && $userdata['session_logged_in'] ) ? true : 0; // =================================================== --- 177,195 ---- // Get action variable other wise set it to the main // ! $action = $mx_request_vars->request('action', MX_TYPE_NO_TAGS, 'news'); // =================================================== // Is admin? // =================================================== ! switch (PORTAL_BACKEND) ! { ! case 'internal': ! case 'phpbb2': ! $is_admin = ( ( $userdata['user_level'] == ADMIN ) && $userdata['session_logged_in'] ) ? true : 0; ! break; ! case 'phpbb3': ! $is_admin = ( $userdata['user_type'] == USER_FOUNDER ) ? true : 0; ! break; ! } // =================================================== *************** *** 154,157 **** include( $mx_root_path . 'includes/page_tail.' . $phpEx ); } - ?> \ No newline at end of file --- 235,237 ---- |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:13:30
|
Update of /cvsroot/mxbb/mx_news/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22594/admin Modified Files: admin_mx_news.php Log Message: Updated, sync with phpBB2 standalone usage Trailing newlines Index: admin_mx_news.php =================================================================== RCS file: /cvsroot/mxbb/mx_news/admin/admin_mx_news.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_mx_news.php 8 Feb 2008 21:57:46 -0000 1.1 --- admin_mx_news.php 15 Feb 2008 22:13:26 -0000 1.2 *************** *** 11,14 **** --- 11,59 ---- define( 'IN_PORTAL', true ); + $phpEx = substr(strrchr(__FILE__, '.'), 1); + + if ( @file_exists( './../viewtopic.'.$phpEx ) ) + { + define( 'IN_PHPBB', 1 ); + define( 'MXBB_MODULE', false ); + + // + // Main paths + // + $phpbb_root_path = $module_root_path = $mx_root_path = "./../"; + $mx_mod_path = $phpbb_root_path . 'mx_mod/'; + + // + // Left Pane Paths + // + $setmodules_admin_path = ''; + $setmodules_module_path = "./../"; + + require_once( $phpbb_root_path . 'extension.inc' ); + require_once( $mx_mod_path . 'includes/functions_required.' . $phpEx ); + } + else + { + define( 'IN_PORTAL', 1 ); + define( 'MXBB_MODULE', true ); + + // + // Main paths + // + $mx_root_path = './../../../'; + $module_root_path = './../../../modules/mx_kb/'; + + // + // Left Pane Paths + // + $setmodules_root_path = './../'; + $setmodules_module_path = 'modules/mx_kb/'; + $setmodules_admin_path = $setmodules_module_path . 'admin/'; + + define( 'MXBB_27x', file_exists( $setmodules_root_path . 'mx_login.php' ) ); + + $phpEx = substr(strrchr(__FILE__, '.'), 1); + } + if ( !empty( $setmodules ) ) { *************** *** 18,26 **** } ! $mx_root_path = '../../../'; ! $module_root_path = "../"; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); require( $mx_root_path . '/admin/pagestart.' . $phpEx ); - include( $module_root_path . 'mx_news/mx_news_common.' . $phpEx ); --- 63,70 ---- } ! // ! // Includes ! // require( $mx_root_path . '/admin/pagestart.' . $phpEx ); include( $module_root_path . 'mx_news/mx_news_common.' . $phpEx ); *************** *** 28,38 **** // Read language definition // ********************************************************************** ! if ( !file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_admin.' . $phpEx ); } else { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); } --- 72,96 ---- // Read language definition // ********************************************************************** ! if ( !MXBB_MODULE ) { ! if ( !file_exists( $module_root_path . 'mxnews/language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ) ) ! { ! include( $module_root_path . 'mxnews/language/lang_english/lang_admin.' . $phpEx ); ! } ! else ! { ! include( $module_root_path . 'mxnews/language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); ! } } else { ! if ( !file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ) ) ! { ! include( $module_root_path . 'language/lang_english/lang_admin.' . $phpEx ); ! } ! else ! { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); ! } } *************** *** 58,61 **** include_once( $mx_root_path . 'admin/page_footer_admin.' . $phpEx ); - ?> \ No newline at end of file --- 116,118 ---- |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:13:08
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22198 Modified Files: functions.php linkdb_constants.php Log Message: Updated, sync with phpBB2 standalone usage Trailing newlines Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/includes/functions.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** functions.php 9 Sep 2007 20:09:01 -0000 1.21 --- functions.php 15 Feb 2008 22:13:02 -0000 1.22 *************** *** 100,108 **** if ( $mode == 'window' ) { ! /* ! $userdata = session_pagestart( $user_ip, $page_id ); ! init_userprefs( $userdata ); ! */ ! $mx_user->init($user_ip, PAGE_INDEX); $gen_simple_header = true; --- 100,112 ---- if ( $mode == 'window' ) { ! if ( !MXBB_MODULE ) ! { ! $userdata = session_pagestart( $user_ip, $page_id ); ! init_userprefs( $userdata ); ! } ! else ! { ! $mx_user->init($user_ip, PAGE_INDEX); ! } $gen_simple_header = true; Index: linkdb_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/includes/linkdb_constants.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** linkdb_constants.php 13 Aug 2006 19:43:51 -0000 1.10 --- linkdb_constants.php 15 Feb 2008 22:13:02 -0000 1.11 *************** *** 55,60 **** if ( !MXBB_MODULE || MXBB_27x ) { ! $linkdb_module_version = "linkDB Manager v. 2.8.0"; ! $linkdb_module_author = "Jon"; $linkdb_module_orig_author = "CRLin"; } --- 55,60 ---- if ( !MXBB_MODULE || MXBB_27x ) { ! $linkdb_module_version = "linkDB Manager v. 0.9.0"; ! $linkdb_module_author = "Jon Ohlsson"; $linkdb_module_orig_author = "CRLin"; } |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:12:26
|
Update of /cvsroot/mxbb/mx_linkdb/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22158/admin Modified Files: admin_linkdb.php Log Message: Updated, sync with phpBB2 standalone usage Trailing newlines Index: admin_linkdb.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/admin/admin_linkdb.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** admin_linkdb.php 13 Aug 2006 19:43:50 -0000 1.12 --- admin_linkdb.php 15 Feb 2008 22:12:22 -0000 1.13 *************** *** 11,14 **** --- 11,59 ---- define( 'IN_PORTAL', true ); + $phpEx = substr(strrchr(__FILE__, '.'), 1); + + if ( @file_exists( './../viewtopic.'.$phpEx ) ) + { + define( 'IN_PHPBB', 1 ); + define( 'MXBB_MODULE', false ); + + // + // Main paths + // + $phpbb_root_path = $module_root_path = $mx_root_path = "./../"; + $mx_mod_path = $phpbb_root_path . 'mx_mod/'; + + // + // Left Pane Paths + // + $setmodules_admin_path = ''; + $setmodules_module_path = "./../"; + + require_once( $phpbb_root_path . 'extension.inc' ); + require_once( $mx_mod_path . 'includes/functions_required.' . $phpEx ); + } + else + { + define( 'IN_PORTAL', 1 ); + define( 'MXBB_MODULE', true ); + + // + // Main paths + // + $mx_root_path = './../../../'; + $module_root_path = './../../../modules/mx_kb/'; + + // + // Left Pane Paths + // + $setmodules_root_path = './../'; + $setmodules_module_path = 'modules/mx_kb/'; + $setmodules_admin_path = $setmodules_module_path . 'admin/'; + + define( 'MXBB_27x', file_exists( $setmodules_root_path . 'mx_login.php' ) ); + + $phpEx = substr(strrchr(__FILE__, '.'), 1); + } + if ( !empty( $setmodules ) ) { *************** *** 22,30 **** } ! $mx_root_path = '../../../'; ! $module_root_path = "../"; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); require( $mx_root_path . '/admin/pagestart.' . $phpEx ); - include( $module_root_path . 'linkdb/linkdb_common.' . $phpEx ); --- 67,74 ---- } ! // ! // Includes ! // require( $mx_root_path . '/admin/pagestart.' . $phpEx ); include( $module_root_path . 'linkdb/linkdb_common.' . $phpEx ); *************** *** 32,42 **** // Read language definition // ********************************************************************** ! if ( !file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_admin.' . $phpEx ); } else { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); } --- 76,100 ---- // Read language definition // ********************************************************************** ! if ( !MXBB_MODULE ) { ! if ( !file_exists( $module_root_path . 'linkdb/language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ) ) ! { ! include( $module_root_path . 'linkdb/language/lang_english/lang_admin.' . $phpEx ); ! } ! else ! { ! include( $module_root_path . 'linkdb/language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); ! } } else { ! if ( !file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ) ) ! { ! include( $module_root_path . 'language/lang_english/lang_admin.' . $phpEx ); ! } ! else ! { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); ! } } *************** *** 65,68 **** include_once( $mx_root_path . 'admin/page_footer_admin.' . $phpEx ); - ?> \ No newline at end of file --- 123,125 ---- |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:12:26
|
Update of /cvsroot/mxbb/mx_linkdb In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22158 Modified Files: linkdb.php Log Message: Updated, sync with phpBB2 standalone usage Trailing newlines Index: linkdb.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** linkdb.php 13 Aug 2006 19:43:51 -0000 1.13 --- linkdb.php 15 Feb 2008 22:12:22 -0000 1.14 *************** *** 9,13 **** */ ! if ( file_exists( './viewtopic.php' ) ) // -------------------------------------------- phpBB MOD MODE { define( 'MXBB_MODULE', false ); --- 9,15 ---- */ ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! ! if ( !defined('PORTAL_BACKEND') && @file_exists( './viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { define( 'MXBB_MODULE', false ); *************** *** 18,34 **** // When run as a phpBB mod these paths are identical ;) $phpbb_root_path = $module_root_path = $mx_root_path = './'; - $phpEx = substr(strrchr(__FILE__, '.'), 1); include( $phpbb_root_path . 'common.' . $phpEx ); ! include_once( $phpbb_root_path . 'includes/bbcode.' . $phpEx ); ! include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx ); define( 'PAGE_DOWNLOAD', -501 ); // If this id generates a conflict with other mods, change it ;) ! // Start session management ! $userdata = session_pagestart( $user_ip, PAGE_DOWNLOAD ); ! init_userprefs( $userdata ); ! // End session management } else --- 20,100 ---- // When run as a phpBB mod these paths are identical ;) $phpbb_root_path = $module_root_path = $mx_root_path = './'; + $mx_mod_path = $phpbb_root_path . 'mx_mod/'; + + //Check for cash mod + if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) + { + define('IN_CASHMOD', true); + } include( $phpbb_root_path . 'common.' . $phpEx ); ! @ini_set( 'display_errors', '1' ); ! error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables ! ! include_once( $mx_mod_path . 'includes/functions_required.' . $phpEx ); ! include_once( $mx_mod_path . 'includes/functions_core.' . $phpEx ); define( 'PAGE_DOWNLOAD', -501 ); // If this id generates a conflict with other mods, change it ;) ! // ! // Instatiate the mx_cache class ! // ! $mx_cache = new mx_cache(); ! ! // ! // Get mxBB config settings ! // ! $portal_config = $mx_cache->obtain_mxbb_config(); ! ! // ! // instatiate the mx_request_vars class ! // ! $mx_request_vars = new mx_request_vars(); ! ! $is_block = false; ! ! if ( file_exists("./modcp.$phpEx") ) // phpBB2 ! { ! define('PORTAL_BACKEND', 'phpbb2'); ! $tplEx = 'tpl'; ! ! include_once( $phpbb_root_path . 'includes/bbcode.' . $phpEx ); ! include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx ); ! ! // Start session management ! $userdata = session_pagestart( $user_ip, PAGE_DOWNLOAD ); ! init_userprefs( $userdata ); ! // End session management ! ! ! } ! else if ( @file_exists("./mcp.$phpEx") ) // phpBB3 ! { ! define('PORTAL_BACKEND', 'phpbb3'); ! $tplEx = 'html'; ! ! //include_once( $mx_mod_path . 'includes/shared/phpbb2/includes/bbcode.' . $phpEx ); ! //include_once( $mx_mod_path . 'includes/shared/phpbb2/includes/functions_post.' . $phpEx ); ! ! // ! // Start session management ! // ! $user->session_begin(); ! $userdata = $user->data; ! $user->setup(); ! // ! // End session management ! // ! ! // ! // Get phpBB config settings ! // ! $board_config = $config; ! } ! else ! { ! die('Copy this file in phpbb_root_path were is your viewtopic.php file!!!'); ! } } else *************** *** 79,86 **** $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); $is_block = true; global $images; } ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); } --- 145,158 ---- $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); + //Check for cash mod + if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) + { + define('IN_CASHMOD', true); + } + $is_block = true; global $images; } ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.'.$phpEx ) ); } *************** *** 105,114 **** // Get action variable other wise set it to the main // ! $action = ( isset( $_REQUEST['action'] ) ) ? htmlspecialchars( $_REQUEST['action'] ) : 'main'; // =================================================== // Is admin? // =================================================== ! $is_admin = ( ( $userdata['user_level'] == ADMIN ) && $userdata['session_logged_in'] ) ? true : 0; // =================================================== --- 177,195 ---- // Get action variable other wise set it to the main // ! $action = $mx_request_vars->request('action', MX_TYPE_NO_TAGS, 'main'); // =================================================== // Is admin? // =================================================== ! switch (PORTAL_BACKEND) ! { ! case 'internal': ! case 'phpbb2': ! $is_admin = ( ( $userdata['user_level'] == ADMIN ) && $userdata['session_logged_in'] ) ? true : 0; ! break; ! case 'phpbb3': ! $is_admin = ( $userdata['user_type'] == USER_FOUNDER ) ? true : 0; ! break; ! } // =================================================== |
|
From: Jon O. <jon...@us...> - 2008-02-15 22:11:53
|
Update of /cvsroot/mxbb/mx_kb/kb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21763 Modified Files: functions.php kb_constants.php Log Message: Updated, sync with phpBB2 standalone usage Trailing newlines Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/includes/functions.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** functions.php 9 Sep 2007 20:06:01 -0000 1.21 --- functions.php 15 Feb 2008 22:11:49 -0000 1.22 *************** *** 109,117 **** if ( $mode == 'window' ) { ! /* ! $userdata = session_pagestart( $user_ip, $page_id ); ! init_userprefs( $userdata ); ! */ ! $mx_user->init($user_ip, PAGE_INDEX); $gen_simple_header = true; --- 109,121 ---- if ( $mode == 'window' ) { ! if ( !MXBB_MODULE ) ! { ! $userdata = session_pagestart( $user_ip, $page_id ); ! init_userprefs( $userdata ); ! } ! else ! { ! $mx_user->init($user_ip, PAGE_INDEX); ! } $gen_simple_header = true; Index: kb_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/includes/kb_constants.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** kb_constants.php 28 Jun 2006 20:52:30 -0000 1.7 --- kb_constants.php 15 Feb 2008 22:11:49 -0000 1.8 *************** *** 61,66 **** if ( !MXBB_MODULE || MXBB_27x ) { ! $kb_module_version = "Knowledge Base MOD v. 2.0.x"; ! $kb_module_author = "Haplo/Jon"; $kb_module_orig_author = "wGEric"; } --- 61,66 ---- if ( !MXBB_MODULE || MXBB_27x ) { ! $kb_module_version = "Knowledge Base MOD v. 0.9.0"; ! $kb_module_author = "Jon Ohlsson"; $kb_module_orig_author = "wGEric"; } |