You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: Jon O. <jon...@us...> - 2005-09-20 15:40:34
|
Update of /cvsroot/mxbb/mx_phpbb/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17659/admin Added Files: admin_forums_ext.php mx_module_defs.php Log Message: adding new files for module mx_phpbb --- NEW FILE: mx_module_defs.php --- <?php /** ------------------------------------------------------------------------ * subject : mx-portal, CMS & portal * begin : june, 2002 * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * * description : * ------------------------------------------------------------------------- * * $Id: mx_module_defs.php,v 1.1 2005/09/20 15:40:17 jonohlsson Exp $ */ /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ /********************************************************************************\ | Class: mx_blockcp_parameter | The mx_blockcp_parameter object provides extra module block parameters, added to the standard core parameters. | | Usage examples: | \********************************************************************************/ // // The following flags are class specific options // //define('MX_ALL_DATA' , -1); // Flag - write all data class mx_module_defs { // ------------------------------ // Private Methods // // // =================================================== // define module specific block parameters // =================================================== function get_parameters($type_row = '') { global $lang; if (empty($type_row)) { $type_row = array(); } $type_row['phpbb_type_select'] = !empty($lang['ParType_phpbb_type_select']) ? $lang['ParType_phpbb_type_select'] : "phpBB Source"; return $type_row; } // =================================================== // Submit custom parameter field and data // =================================================== function submit_module_parameters( $parameter_data, $block_id ) { global $HTTP_POST_VARS, $db, $board_config, $html_entities_match, $html_entities_replace; $parameter_value = $HTTP_POST_VARS[$parameter_data['parameter_id']]; $parameter_opt = ''; switch ( $parameter_data['parameter_type'] ) { case 'phpbb_type_select': $parameter_value = addslashes( serialize( $parameter_value ) ); break; } return array('parameter_value' => $parameter_value, 'parameter_opt' => $parameter_opt); } // =================================================== // display parameter field and data in the add/edit page // =================================================== function display_module_parameters( $parameter_data ) { global $template, $mx_blockcp, $mx_root_path, $theme, $lang; switch ( $parameter_data['parameter_type'] ) { case 'phpbb_type_select': $this->display_edit_Phpbb_type_select( $block_id, $parameter_data['parameter_id'], $parameter_data ); break; } } function display_edit_Phpbb_type_select( $block_id, $parameter_id, $parameter_data ) { global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $phpEx, $mx_table_prefix, $table_prefix; $module_root_path = $mx_root_path . $mx_blockcp->module_root_path; include_once( $module_root_path . "includes/phpbb_constants.$phpEx" ); include_once( $module_root_path . "includes/phpbb_defs.$phpEx" ); if (file_exists($mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl')) { $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl'; } else { $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/subSilver' . '/admin/mx_module_parameters.tpl'; } $template->set_filenames(array( 'parameter' => $module_template_file) ); // Get number of forums in db $sql = "SELECT * FROM " . NEWS_CAT_TABLE . " ORDER BY $cat_extract_order"; if ( !( $result = $db->sql_query( $sql ) ) ) { message_die( GENERAL_ERROR, "Couldn't obtain forums information.", "", __LINE__, __FILE__, $sql ); } $forums = $db->sql_fetchrowset( $result ); // Get array of categories from the database $sql = "SELECT cat_id, cat_title FROM " . CATEGORIES_TABLE . " ORDER BY cat_order"; if ( !( $result = $db->sql_query( $sql ) ) ) { mx_message_die( GENERAL_ERROR, "Couldn't obtain category list.", "", __LINE__, __FILE__, $sql ); } $categories = $db->sql_fetchrowset( $result ); $phpbb_type_select_data = ( !empty( $mx_blockcp->block_parameters['Source_phpBB_Forums']['parameter_value'] ) ) ? unserialize($mx_blockcp->block_parameters['Source_phpBB_Forums']['parameter_value']) : array(); // // Check that some categories exist // if ( $total_categories = count( $categories ) ) { // // Check that some forums exist (these were queried earlier) // if ( $total_forums = count( $forums ) ) { $template->assign_block_vars( 'switch_forums_phpbb', array( 'COLSPAN' => count( $item_types_array ) + 2 ) ); for( $i = 0; $i < $total_categories; $i++ ) { $template->assign_block_vars( 'catrow', array( 'CAT_ID' => $categories[$i]['cat_id'], 'COLSPAN' => count( $item_types_array ) + 1, 'CAT_NAME' => $categories[$i]['cat_title'] ) ); for( $j = 0; $j < $total_forums; $j++ ) { if ( $forums[$j]['cat_id'] == $categories[$i]['cat_id'] || $forums[$j]['cat_id'] == '' ) { $template->assign_block_vars( 'catrow.forumrow_phpbb', array( 'FORUM_ID' => $forums[$j][$catt_id], 'FORUM_NAME' => $forums[$j][$catt_name], 'FORUM_DESC' => $forums[$j][$catt_desc], 'CHECKED' => ( $phpbb_type_select_data[$forums[$j]['forum_id']] ? 'CHECKED' : '' ), )); } } } } } $template->assign_vars(array( 'NAME' => $lang[$parameter_data['parameter_name']], 'SELECT_NAME' => $parameter_data['parameter_id'], 'PARAMETER_TITLE' => ( !empty($lang[$parameter_data['parameter_name']]) ) ? $lang[$parameter_data['parameter_name']] : $parameter_data['parameter_name'], 'PARAMETER_TYPE' => ( !empty($lang["ParType_".$parameter_data['parameter_type']]) ) ? $lang["ParType_".$parameter_data['parameter_type']] : '', 'PARAMETER_TYPE_EXPLAIN' => ( !empty($lang["ParType_".$parameter_data['parameter_type'] . "_info"]) ) ? '<br />' . $lang["ParType_".$parameter_data['parameter_type'] . "_info"] : '', 'SCRIPT_PATH' => $module_root_path, 'I_ANNOUNCE' => PHPBB_URL . $images['folder_announce'], 'I_STICKY' => PHPBB_URL . $images['folder_sticky'], 'I_NORMAL' => PHPBB_URL . $images['folder'], 'L_ANNOUNCEMENT' => $lang['Post_Announcement'], 'L_STICKY' => $lang['Post_Sticky'], 'L_NORMAL' => $lang['Posted'], )); $template->pparse('parameter'); } } ?> --- NEW FILE: admin_forums_ext.php --- <?php /** * admin_forums_ext.php * ------------------- * begin : Thursday, Jul 12, 2001 * copyright : (C) 2001 The phpBB Group * email : su...@ph... * * $Id: admin_forums_ext.php,v 1.1 2005/09/20 15:40:17 jonohlsson Exp $ */ /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ define( 'IN_PORTAL', 1 ); if ( !empty( $setmodules ) ) { $file = basename( __FILE__ ); $module['phpBB plugin']['Management'] = 'modules/mx_phpbb/admin/' . $file; return; } $mx_root_path = '../../../'; $module_root_path = "../"; require( $mx_root_path . 'extension.inc' ); require( $mx_root_path . '/admin/pagestart.' . $phpEx ); include_once( $mx_root_path . 'admin/page_header_admin.' . $phpEx ); include_once( $module_root_path . 'includes/phpbb_constants.' . $phpEx ); // // Mode setting // $mode = $mx_request_vars->request('mode', MX_TYPE_NO_TAGS, ''); // // Main db settings // Pull all config data // $sql = "SELECT * FROM " . PHPBB_CONFIG_TABLE; if ( !$result = $db->sql_query( $sql ) ) { mx_message_die( CRITICAL_ERROR, "Could not query phpbb plugin base configuration information", "", __LINE__, __FILE__, $sql ); } else { while ( $row = $db->sql_fetchrow( $result ) ) { $phpbb_config_name = $row['config_name']; $phpbb_config_value = $row['config_value']; $phpbb_default_config[$phpbb_config_name] = $phpbb_config_value; $phpbb_new[$phpbb_config_name] = ( isset( $HTTP_POST_VARS[$phpbb_config_name] ) ) ? $HTTP_POST_VARS[$phpbb_config_name] : $phpbb_default_config[$phpbb_config_name]; if ( isset( $HTTP_POST_VARS['submit'] ) ) { $sql = "UPDATE " . PHPBB_CONFIG_TABLE . " SET config_value = '" . str_replace( "\'", "''", $phpbb_new[$phpbb_config_name] ) . "' WHERE config_name = '$phpbb_config_name'"; if ( !$db->sql_query( $sql ) ) { mx_message_die( GENERAL_ERROR, "Failed to update general configuration for $config_name", "", __LINE__, __FILE__, $sql ); } } } if ( isset( $HTTP_POST_VARS['submit'] ) ) { $message = $lang['phpbb_config_updated'] . "<br /><br />" . sprintf( $lang['Click_return_phpbb_config'], "<a href=\"" . append_sid( "admin_forums_ext.$phpEx" ) . "\">", "</a>" ) . "<br /><br />" . sprintf( $lang['Click_return_admin_index'], "<a href=\"" . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . "\">", "</a>" ); mx_message_die( GENERAL_MESSAGE, $message ); } } // // Populate parameter variables // $phpbb_index = $phpbb_new['index']; $phpbb_viewforum = $phpbb_new['viewforum']; $phpbb_viewtopic = $phpbb_new['viewtopic']; $phpbb_faq = $phpbb_new['faq']; $phpbb_groupcp = $phpbb_new['groupcp']; $phpbb_login = $phpbb_new['login']; $phpbb_memberlist = $phpbb_new['memberlist']; $phpbb_modcp = $phpbb_new['modcp']; $phpbb_posting = $phpbb_new['posting']; $phpbb_privmsg = $phpbb_new['privmsg']; $phpbb_profile = $phpbb_new['profile']; $phpbb_search = $phpbb_new['search']; $phpbb_viewonline = $phpbb_new['viewonline']; $phpbb_other = $phpbb_new['other']; $phpbb_override_default_pages = $phpbb_new['override_default_pages']; $phpbb_integration_enabled = $phpbb_new['enable_module']; // // Get page_list selects // $pagelist_index = get_list_formatted('page_list', $phpbb_new['index'], 'index'); //$pagelist_viewforum = get_list_formatted('page_list', $phpbb_new['viewforum'], 'viewforum'); //$pagelist_viewtopic = get_list_formatted('page_list', $phpbb_new['viewtopic'], 'viewtopic'); $pagelist_faq = get_list_formatted('page_list', $phpbb_new['faq'], 'faq'); $pagelist_groupcp = get_list_formatted('page_list', $phpbb_new['groupcp'], 'groupcp'); $pagelist_login = get_list_formatted('page_list', $phpbb_new['login'], 'login'); $pagelist_memberlist = get_list_formatted('page_list', $phpbb_new['memberlist'], 'memberlist'); //$pagelist_modcp = get_list_formatted('page_list', $phpbb_new['modcp'], 'modcp'); //$pagelist_posting = get_list_formatted('page_list', $phpbb_new['posting'], 'posting'); $pagelist_privmsg = get_list_formatted('page_list', $phpbb_new['privmsg'], 'privmsg'); $pagelist_profile = get_list_formatted('page_list', $phpbb_new['profile'], 'profile'); $pagelist_search = get_list_formatted('page_list', $phpbb_new['search'], 'search'); $pagelist_viewonline = get_list_formatted('page_list', $phpbb_new['viewonline'], 'viewonline'); $pagelist_other = get_list_formatted('page_list', $phpbb_new['other'], 'other'); // // Start page proper // $template->set_filenames( array( "body" => "admin/forum_admin_body_ext.tpl" )); $template->assign_vars( array( 'S_FORUM_ACTION' => append_sid( "admin_forums_ext.$phpEx" ), 'L_FORUM_TITLE' => $lang['mx_forum_admin'], 'L_FORUM_EXPLAIN' => $lang['mx_forum_admin_explain'], 'L_SUBMIT' => $lang['submit'], 'L_RESET' => $lang['reset'], 'L_DEFAULT_PAGES_TITLE' => $lang['default_pages_title'], 'L_DEFAULT_PAGES_TITLE_EXPLAIN' => $lang['default_pages_title_explain'], 'L_DEFAULT_PAGES_MORE_TITLE' => $lang['default_pages_more_title'], 'L_DEFAULT_PAGES_MORE_TITLE_EXPLAIN' => $lang['default_pages_more_title_explain'], // // Enable/Disable phpBB integration // 'L_PHPBB_INTEGRATION_ENABLED' => $lang['phpbb_integration_enabled'], 'L_PHPBB_INTEGRATION_ENABLED_EXPLAIN' => $lang['phpbb_integration_enabled_explain'], 'L_PHPBB_INTEGRATION_ENABLED_YES' => $lang['phpbb_integration_enabled_yes'], 'L_PHPBB_INTEGRATION_ENABLED_NO' => $lang['phpbb_integration_enabled_no'], 'PHPBB_INTEGRATION_ENABLED_YES' => ( $phpbb_integration_enabled == '1' ) ? ' checked="checked"' : '', 'PHPBB_INTEGRATION_ENABLED_NO' => ( $phpbb_integration_enabled == '0' ) ? ' checked="checked"' : '', // // Default static settings or block settings // 'L_PHPBB_OVERRIDE_DEFAULT_PAGES' => $lang['phpbb_override'], 'L_PHPBB_OVERRIDE_DEFAULT_PAGES_EXPLAIN' => $lang['phpbb_override_explain'], 'L_PHPBB_OVERRIDE_DEFAULT_PAGES_YES' => $lang['phpbb_override_yes'], 'L_PHPBB_OVERRIDE_DEFAULT_PAGES_NO' => $lang['phpbb_override_no'], 'OVERRIDE_DEFAULT_PAGES_CHECKBOX_YES' => ( $phpbb_override_default_pages == '1' ) ? ' checked="checked"' : '', 'OVERRIDE_DEFAULT_PAGES_CHECKBOX_NO' => ( $phpbb_override_default_pages == '0' ) ? ' checked="checked"' : '', // // ProfileCP compatitility och info // 'L_DEFAULT_PAGES_PROFILECP' => $lang['default_pages_profilecp'], 'L_PHPBB_EXPLAIN' => $lang['phpbb_explain'], 'L_PHPBB_FAQ' => $lang['phpbb_faq'], 'PHPBB_FAQ' => $pagelist_faq, 'L_PHPBB_GROUPCP' => $lang['phpbb_groupcp'], 'PHPBB_GROUPCP' => $pagelist_groupcp, 'L_PHPBB_INDEX' => $lang['phpbb_index'] . ', ' . $lang['phpbb_viewforum'] . ', ' . $lang['phpbb_viewtopic'] . ', ' . $lang['phpbb_posting'] . ', ' . $lang['phpbb_modcp'], 'PHPBB_INDEX' => $pagelist_index, 'L_PHPBB_LOGIN' => $lang['phpbb_login'], 'PHPBB_LOGIN' => $pagelist_login, 'L_PHPBB_MEMBERLIST' => $lang['phpbb_memberlist'], 'PHPBB_MEMBERLIST' => $pagelist_memberlist, //'L_PHPBB_MODCP' => $lang['phpbb_modcp'], //'PHPBB_MODCP' => $pagelist_modcp, //'L_PHPBB_POSTING' => $lang['phpbb_posting'], //'PHPBB_POSTING' => $pagelist_posting, 'L_PHPBB_PRIVMSG' => $lang['phpbb_privmsg'], 'PHPBB_PRIVMSG' => $pagelist_privmsg, 'L_PHPBB_PROFILE' => $lang['phpbb_profile'], 'PHPBB_PROFILE' => $pagelist_profile, 'L_PHPBB_SEARCH' => $lang['phpbb_search'], 'PHPBB_SEARCH' => $pagelist_search, //'L_PHPBB_VIEWFORUM' => $lang['phpbb_viewforum'], //'PHPBB_VIEWFORUM' => $pagelist_viewforum, 'L_PHPBB_VIEWONLINE' => $lang['phpbb_viewonline'], 'PHPBB_VIEWONLINE' => $pagelist_viewonline, 'L_PHPBB_OTHER' => $lang['phpbb_other'], 'PHPBB_OTHER' => $pagelist_other, //'L_PHPBB_VIEWTOPIC' => $lang['phpbb_viewtopic'], //'PHPBB_VIEWTOPIC' => $pagelist_viewtopic )); $template->pparse( "body" ); include_once( $mx_root_path . 'admin/page_footer_admin.' . $phpEx ); ?> |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:40:28
|
Update of /cvsroot/mxbb/mx_phpbb/templates/subSilver/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17659/templates/subSilver/admin Added Files: forum_admin_body_ext.tpl mx_module_parameters.tpl Log Message: adding new files for module mx_phpbb --- NEW FILE: forum_admin_body_ext.tpl --- <h1>{L_FORUM_TITLE}</h1> <p>{L_FORUM_EXPLAIN}</p> <form action="{S_FORUM_ACTION}" method="post"> <table width="100%" cellpadding="3" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_DEFAULT_PAGES_TITLE}<br /><span class="gensmall">{L_DEFAULT_PAGES_TITLE_EXPLAIN}</span></th> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_INTEGRATION_ENABLED}<br /><span class="gensmall">{L_PHPBB_INTEGRATION_ENABLED_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="enable_module" value="1" {PHPBB_INTEGRATION_ENABLED_YES} /><span class="gensmall">{L_PHPBB_INTEGRATION_ENABLED_YES} <input type="radio" name="enable_module" value="0" {PHPBB_INTEGRATION_ENABLED_NO} /><span class="gensmall">{L_PHPBB_INTEGRATION_ENABLED_NO}</span></td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_OVERRIDE_DEFAULT_PAGES}<br /><span class="gensmall">{L_PHPBB_OVERRIDE_DEFAULT_PAGES_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="override_default_pages" value="1" {OVERRIDE_DEFAULT_PAGES_CHECKBOX_YES} /><span class="gensmall">{L_PHPBB_OVERRIDE_DEFAULT_PAGES_YES} <input type="radio" name="override_default_pages" value="0" {OVERRIDE_DEFAULT_PAGES_CHECKBOX_NO} /><span class="gensmall">{L_PHPBB_OVERRIDE_DEFAULT_PAGES_NO}</span></td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_INDEX}<br /><span class="gensmall">{L_PHPBB_EXPLAIN}</span></td> <td class="row2" width="50%">{PHPBB_INDEX}</td> </tr> <tr> <th class="thHead" colspan="2">{L_DEFAULT_PAGES_MORE_TITLE}<br /><span class="gensmall">{L_DEFAULT_PAGES_MORE_TITLE_EXPLAIN}</span></th> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_MEMBERLIST}<br /><span class="gensmall">{L_DEFAULT_PAGES_PROFILECP}</span></td> <td class="row2" width="50%">{PHPBB_MEMBERLIST}</td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_PRIVMSG}<br /><span class="gensmall">{L_DEFAULT_PAGES_PROFILECP}</span></td> <td class="row2" width="50%">{PHPBB_PRIVMSG}</td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_PROFILE}<br /><span class="gensmall">{L_DEFAULT_PAGES_PROFILECP}</span></td> <td class="row2" width="50%">{PHPBB_PROFILE}</td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_GROUPCP}</td> <td class="row2" width="50%">{PHPBB_GROUPCP}</td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_SEARCH}</td> <td class="row2" width="50%">{PHPBB_SEARCH}</td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_LOGIN}</td> <td class="row2" width="50%">{PHPBB_LOGIN}</td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_FAQ}</td> <td class="row2" width="50%">{PHPBB_FAQ}</td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_VIEWONLINE}</td> <td class="row2" width="50%">{PHPBB_VIEWONLINE}</td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_OTHER}</td> <td class="row2" width="50%">{PHPBB_OTHER}</td> </tr> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" value="{L_RESET}" class="liteoption" /></td> </tr> </table> </form> --- NEW FILE: mx_module_parameters.tpl --- <script type="text/javascript" src="{SCRIPT_PATH}/templates/rollout.js"></script> <tr> <td width="100%" colspan="2"> <!-- BEGIN switch_forums_phpbb --> <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline"> <tr> <th align="center" class="thTop" colspan="2" nowrap="nowrap" colspan="2"> {L_NEWS_FORUMS} </th> </tr> <!-- END switch_forums_phpbb --> <!-- BEGIN catrow --> <tr> <td class="cat" align="center"><a href="#" onClick="toggle('cat_{catrow.CAT_ID}', '../templates/subSilver/images/'); return false;"><img src="../templates/subSilver/images/contract.gif" border="0" id="cat_{catrow.CAT_ID}_img" /></a> <td class="cat" ><span class="cattitle">{catrow.CAT_NAME}</span></td> </tr> <tbody id="cat_{catrow.CAT_ID}"> <!-- BEGIN forumrow_phpbb --> <tr> <td class="row1" align="center" valign="top"><input type="checkbox" name="{SELECT_NAME}[{catrow.forumrow_phpbb.FORUM_ID}]" value="1" {catrow.forumrow_phpbb.CHECKED} /></td> <td class="row1" align="left" valign="top"><span class="forumlink">{catrow.forumrow_phpbb.FORUM_NAME}</span><br /><span class="gensmall">{catrow.forumrow_phpbb.FORUM_DESC}</span></td> </tr> <!-- END forumrow_phpbb --> </tbody> <!-- END catrow --> <!-- BEGIN switch_forums_phpbb --> </table> <!-- END switch_forums_phpbb --> </td> </tr> |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:40:26
|
Update of /cvsroot/mxbb/mx_phpbb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17659 Added Files: db_install.php db_uninstall.php db_upgrade.php mx_phpbb.pak mx_phpbb.php Log Message: adding new files for module mx_phpbb --- NEW FILE: mx_phpbb.pak --- module=+:57=+:mx_phpbb=+:modules/mx_phpbb/=+:mxBB Forum Integration=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:57=+:101=+:phpBB=+:mxBB Forum Integration=+:mx_phpbb.php=+: parameter=+:101=+:336=+:Source_phpBB_Forums=+:phpbb_type_select=+:=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - phpBB=+:Demo block=+:101=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 --- NEW FILE: db_uninstall.php --- <?php /** * * ------------------------------------------------------------------------ * subject : mxBB-Portal - CMS & portal * begin : june, 2002 * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * * $Id: db_uninstall.php,v 1.1 2005/09/20 15:40:17 jonohlsson Exp $ */ /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); if ( !$userdata['session_logged_in'] ) { die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { die( "Hacking attempt(2)" ); } // End session management } $sql = array( "DROP TABLE IF EXISTS " . $mx_table_prefix . "phpbb_plugin_config", ); echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . mx_do_install_upgrade( $sql ) . "</span></td></tr>"; echo "</table><br />"; ?> --- NEW FILE: mx_phpbb.php --- <?php /*************************************************************************** * mx_index.php * ------------------- * begin : Saturday, Feb 13, 2001 * copyright : (C) 2001 The phpBB Group * email : su...@ph... * * $Id: mx_phpbb.php,v 1.1 2005/09/20 15:40:17 jonohlsson Exp $ * * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ if( !defined('IN_PORTAL') ) { die("Hacking attempt !!!"); } // // Restore POST vars after redirect // //$_POST = $HTTP_POST_VARS = $_SESSION['mxbb_post_vars']; include_once($mx_root_path . "modules/mx_phpbb/includes/forum_hack.$phpEx"); include_once($mx_root_path . "modules/mx_phpbb/includes/phpbb_constants.$phpEx"); ob_start(); $mx_forum->read_file( $mx_forum->phpbb_script ); $phpbb_output = ob_get_contents(); ob_end_clean(); // // Final tpl code fixup - these are really phpBB "bugs", hardcoded images etc // switch ( $mx_forum->phpbb_script ) { case 'index': $phpbb_output = str_replace('templates/subSilver/images/folder_new_big.gif', $phpbb_root_path . 'templates/'.$theme['template_name'].'/images/folder_new_big.gif', $phpbb_output); $phpbb_output = str_replace('templates/subSilver/images/folder_big.gif', $phpbb_root_path . 'templates/'.$theme['template_name'].'/images/folder_big.gif', $phpbb_output); $phpbb_output = str_replace('templates/subSilver/images/folder_locked_big.gif', $phpbb_root_path . 'templates/'.$theme['template_name'].'/images/folder_locked_big.gif', $phpbb_output); $phpbb_output = str_replace('templates/subSilver/images/whosonline.gif', $phpbb_root_path . 'templates/'.$theme['template_name'].'/images/whosonline.gif', $phpbb_output); break; case 'viewforum': break; case 'viewtopic': $phpbb_output = str_replace('templates/subSilver/images/vote_lcap.gif', $phpbb_root_path . 'templates/subSilver/images/vote_lcap.gif', $phpbb_output); $phpbb_output = str_replace('templates/subSilver/images/vote_rcap.gif', $phpbb_root_path . 'templates/subSilver/images/vote_rcap.gif', $phpbb_output); break; case 'posting': break; } echo($phpbb_output); unset($phpbb_output); ?> --- NEW FILE: db_install.php --- <?php /** * * ------------------------------------------------------------------------ * subject : mxBB-Portal - CMS & portal * begin : june, 2002 * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * * $Id: db_install.php,v 1.1 2005/09/20 15:40:17 jonohlsson Exp $ */ /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); if ( !$userdata['session_logged_in'] ) { die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { die( "Hacking attempt(2)" ); } // End session management } $mx_module_version = 'mxBB - phpBB Integration Module 1.0.3'; $mx_module_copy = 'Based on <a href="http://www.phpbb.com/" target="_phpbb">phpBB</a>'; // If fresh install if ( !$result = $db->sql_query( "SELECT config_name from " . $mx_table_prefix . "phpbb_plugin_config" ) ) { $message = "<b>This is a fresh install!</b><br/><br/>"; $sql = array(); $sql[] = "DROP TABLE IF EXISTS " . $mx_table_prefix . "phpbb_plugin_config"; $sql[] = "CREATE TABLE " . $mx_table_prefix . "phpbb_plugin_config ( config_name VARCHAR(255) NOT NULL default '', config_value varchar(255) NOT NULL default '', PRIMARY KEY (config_name) ) TYPE=MyISAM"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('override_default_pages', 'Block_setup')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('enable_module', '1')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('faq', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('groupcp', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('index', '2')"; //$sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('viewforum', '0')"; //$sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('viewtopic', '0')"; //$sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('modcp', '0')"; //$sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('posting', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('login', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('memberlist', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('privmsg', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('profile', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('search', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('viewonline', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('other', '0')"; $sql[] = "UPDATE " . $mx_table_prefix . "module" . " SET module_version = '" . $mx_module_version . "', module_copy = '" . $mx_module_copy . "' WHERE module_id = '" . $mx_module_id . "'"; $message .= mx_do_install_upgrade( $sql ); } else { // If already installed $message = "<b>Module is already installed...consider upgrading ;)</b><br/><br/>"; } echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; ?> --- NEW FILE: db_upgrade.php --- <?php /** * * ------------------------------------------------------------------------ * subject : mxBB-Portal - CMS & portal * begin : june, 2002 * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * * $Id: db_upgrade.php,v 1.1 2005/09/20 15:40:17 jonohlsson Exp $ */ /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); if ( !$userdata['session_logged_in'] ) { die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { die( "Hacking attempt(2)" ); } // End session management } $mx_module_version = 'mxBB - phpBB Integration Module 1.0.3'; $mx_module_copy = 'Based on <a href="http://www.phpbb.com/" target="_phpbb" >phpBB</a>'; $sql = array(); // // Precheck // if ( $result = $db->sql_query( "SELECT config_name from " . $mx_table_prefix . "phpbb_plugin_config" ) ) { // // Upgrade checks // $upgrade_101 = 0; $upgrade_102 = 0; $upgrade_103 = 0; $upgrade_104 = 0; $upgrade_105 = 0; $upgrade_106 = 0; $upgrade_107 = 0; // // validate before 1.01 // $result = $db->sql_query( "SELECT config_value from " . $mx_table_prefix . "phpbb_plugin_config WHERE config_name = 'override_default_pages'" ); if ( $db->sql_numrows( $result ) == 0 ) { $upgrade_101 = 1; } $result = $db->sql_query( "SELECT config_value from " . $mx_table_prefix . "phpbb_plugin_config WHERE config_name = 'enable_module'" ); if ( $db->sql_numrows( $result ) == 0 ) { $upgrade_102 = 1; } $message = "<b>Upgrading!</b><br/><br/>"; if ( $upgrade_101 == 1 ) { $message .= "<b>Upgrading to v. 1.01...</b><br/><br/>"; $sql[] = "CREATE TABLE " . $mx_table_prefix . "phpbb_plugin_config ( config_name VARCHAR(255) NOT NULL default '', config_value varchar(255) NOT NULL default '', PRIMARY KEY (config_name) ) TYPE=MyISAM"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('override_default_pages', 'Block_setup')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('faq', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('groupcp', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('index', '2')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('login', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('memberlist', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('modcp', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('posting', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('privmsg', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('profile', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('search', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('viewonline', '0')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('other', '0')"; } else if ( $upgrade_102 == 1 ) { $sql[] = "INSERT INTO " . $mx_table_prefix . "phpbb_plugin_config VALUES ('enable_module', '1')"; } else { $message .= "<b>Nothing to upgrade...</b><br/><br/>"; } $sql[] = "UPDATE " . $mx_table_prefix . "module" . " SET module_version = '" . $mx_module_version . "', module_copy = '" . $mx_module_copy . "' WHERE module_id = '" . $mx_module_id . "'"; $message .= mx_do_install_upgrade( $sql ); } else { // // If not installed // $message = "<b>Module is not installed...and thus cannot be upgraded ;)</b><br/><br/>"; } echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; ?> |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:40:25
|
Update of /cvsroot/mxbb/mx_phpbb/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17659/language/lang_english Added Files: lang_admin.php Log Message: adding new files for module mx_phpbb --- NEW FILE: lang_admin.php --- <?php /*************************************************************************** * lang_admin.php * ------------------- * begin : Sunday, Mar 31, 2003 * copyright : (C) 2001 The phpBB Group * email : su...@ph... * * $Id: lang_admin.php,v 1.1 2005/09/20 15:40:17 jonohlsson Exp $ * * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ $lang['mx_forum_admin'] = 'mxBB Forum Integration'; $lang['mx_forum_admin_explain'] = 'Here you do phpBB and mxBB pages mappings.<br/>If you run the module with fixed mappings, you only have to use ONE mx_phpbb block, and place this on every mxBB page with phpBB mappings. If you intend to split phpbb and run different forums on different mxBB pages, you need one mx_phpbb block for each subinstance.'; // // phpbb // $lang['Cat_all'] = "All"; $lang['phpbb_config_updated'] = 'phpBB Plugin Configuration Updated Successfully.'; $lang['Click_return_phpbb_config'] = 'Click %sHere%s to return to hpBB Plugin Configuration'; // Pages $lang['phpbb_index'] = 'index'; $lang['phpbb_viewforum'] = 'viewforum'; $lang['phpbb_viewtopic'] = 'viewtopic'; $lang['phpbb_faq'] = 'faq'; $lang['phpbb_groupcp'] = 'groupcp'; $lang['phpbb_login'] = 'login'; $lang['phpbb_memberlist'] = 'memberlist'; $lang['phpbb_modcp'] = 'modcp'; $lang['phpbb_posting'] = 'posting'; $lang['phpbb_privmsg'] = 'privmsg'; $lang['phpbb_profile'] = 'profile'; $lang['phpbb_search'] = 'search'; $lang['phpbb_viewonline'] = 'viewonline'; $lang['phpbb_other'] = 'Other phpBB pages'; $lang['phpbb_explain'] = 'Fixed mapping, or default mapping (if using blocksettings)'; $lang['submit'] = 'Submit'; $lang['reset'] = 'Reset'; $lang['default_pages_title'] = 'mxBB and phpBB integration'; $lang['default_pages_title_explain'] = ''; $lang['default_pages_more_title'] = 'More phpBB mappings...'; $lang['default_pages_more_title_explain'] = ''; $lang['default_pages_profilecp'] = 'If you have the ProfileCP module installed, you can do the page mapping here (instead of editing the phpBB files directly)'; $lang['phpbb_integration_enabled'] = 'Activate the phpBB module?'; $lang['phpbb_integration_enabled_explain'] = 'When the phpBB module is activated, all phpBB urls will be directed to mxBB pages. If deactivated, phpBB will operate "as usual", independently of mxBB'; $lang['phpbb_integration_enabled_yes'] = 'Activate'; $lang['phpbb_integration_enabled_no'] = 'Do not use this module'; $lang['phpbb_override'] = 'Associate phpBB and mxBB pages'; $lang['phpbb_override_explain'] = 'phpBB urls are redirected to mxBB pages following these settings.<br /> If using "Block Settings", be sure to edit the phpbb block themselves.'; $lang['phpbb_override_yes'] = 'Use Block Settings'; $lang['phpbb_override_no'] = 'Use fixed mappings (see below)'; $lang['Group_Home'] = 'All groups'; ?> |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:39:45
|
Update of /cvsroot/mxbb/mx_phpbb/templates/subSilver/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17420/admin Log Message: Directory /cvsroot/mxbb/mx_phpbb/templates/subSilver/admin added to the repository |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:39:40
|
Update of /cvsroot/mxbb/mx_phpbb/templates/subSilver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17391/subSilver Log Message: Directory /cvsroot/mxbb/mx_phpbb/templates/subSilver added to the repository |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:39:13
|
Update of /cvsroot/mxbb/mx_phpbb/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17317/lang_english Log Message: Directory /cvsroot/mxbb/mx_phpbb/language/lang_english added to the repository |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:38:41
|
Update of /cvsroot/mxbb/mx_phpbb/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17214/templates Log Message: Directory /cvsroot/mxbb/mx_phpbb/templates added to the repository |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:38:40
|
Update of /cvsroot/mxbb/mx_phpbb/language In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17214/language Log Message: Directory /cvsroot/mxbb/mx_phpbb/language added to the repository |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:38:40
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17214/includes Log Message: Directory /cvsroot/mxbb/mx_phpbb/includes added to the repository |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:38:40
|
Update of /cvsroot/mxbb/mx_phpbb/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17214/admin Log Message: Directory /cvsroot/mxbb/mx_phpbb/admin added to the repository |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:36:59
|
Update of /cvsroot/mxbb/core/install/schemas In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16868/install/schemas Modified Files: mysql_schema_upgrade_to_2.8_rc5.sql Log Message: fixing up for RC6 Index: mysql_schema_upgrade_to_2.8_rc5.sql =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/mysql_schema_upgrade_to_2.8_rc5.sql,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mysql_schema_upgrade_to_2.8_rc5.sql 9 Sep 2005 16:49:57 -0000 1.1 --- mysql_schema_upgrade_to_2.8_rc5.sql 20 Sep 2005 15:36:47 -0000 1.2 *************** *** 209,213 **** # Finally, all core blocks have been moved to the modules/mx_coreblocks folder # ! SET function = SELECT * FROM mx_table_module WHERE module_path = './'; UPDATE mx_table_module --- 209,213 ---- # Finally, all core blocks have been moved to the modules/mx_coreblocks folder # ! SET module = SELECT * FROM mx_table_module WHERE module_path = './'; UPDATE mx_table_module |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:36:56
|
Update of /cvsroot/mxbb/core/install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16868/install Modified Files: mx_install.php Log Message: fixing up for RC6 Index: mx_install.php =================================================================== RCS file: /cvsroot/mxbb/core/install/mx_install.php,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** mx_install.php 9 Sep 2005 08:57:17 -0000 1.48 --- mx_install.php 20 Sep 2005 15:36:47 -0000 1.49 *************** *** 48,52 **** // $mx_portal_name = 'mxBB-Portal'; ! $mx_portal_version = '2.8 - RC5'; // --- 48,52 ---- // $mx_portal_name = 'mxBB-Portal'; ! $mx_portal_version = '2.8 - RC6'; // *************** *** 54,58 **** // This is shown in the top right corner of the installation panels. // ! define('INSTALLER_VERSION', '2.0.1'); define('INSTALLER_NAME', 'mxBB-IWizard'); --- 54,58 ---- // This is shown in the top right corner of the installation panels. // ! define('INSTALLER_VERSION', '2.0.2'); define('INSTALLER_NAME', 'mxBB-IWizard'); |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:31:17
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15865/modules/mx_navmenu/admin Modified Files: mx_module_defs.php Log Message: adding fixes for mxBB 2.8 RC 6 Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/admin/mx_module_defs.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mx_module_defs.php 7 Sep 2005 19:36:31 -0000 1.5 --- mx_module_defs.php 20 Sep 2005 15:30:59 -0000 1.6 *************** *** 201,208 **** // Start page proper // $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl') ); ! $s_hidden_fields .= '<input type="hidden" name="block_id" value="' . $block_id . '" />'; --- 201,217 ---- // Start page proper // + if (file_exists($mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl')) + { + $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl'; + } + else + { + $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/subSilver' . '/admin/mx_module_parameters.tpl'; + } + $template->set_filenames(array( ! 'parameter' => $module_template_file) ); ! $s_hidden_fields .= '<input type="hidden" name="block_id" value="' . $block_id . '" />'; |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:31:16
|
Update of /cvsroot/mxbb/core/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15865/admin Modified Files: admin_mx_page_cp.php Log Message: adding fixes for mxBB 2.8 RC 6 Index: admin_mx_page_cp.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_page_cp.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_mx_page_cp.php 8 Sep 2005 21:16:18 -0000 1.4 --- admin_mx_page_cp.php 20 Sep 2005 15:30:58 -0000 1.5 *************** *** 227,230 **** --- 227,231 ---- 'L_VIEW' => $lang['View'], 'L_EDIT' => $lang['Edit'], + 'L_PREVIEW' => $lang['Preview'], 'L_SETTING' => $lang['Settings'], 'L_PERMISSIONS' => $lang['Permissions'], *************** *** 616,620 **** { $page_rows_select_tmp = !empty($page_rows[$page_count]['page_desc']) ? ' (' . $page_rows[$page_count]['page_desc'] . ')' : ''; ! $page_rows_select[$page_id] = $page_rows[$page_count]['page_name'] . $page_rows_select_tmp; } --- 617,621 ---- { $page_rows_select_tmp = !empty($page_rows[$page_count]['page_desc']) ? ' (' . $page_rows[$page_count]['page_desc'] . ')' : ''; ! $page_rows_select[$page_id] = $page_id . ' - ' . $page_rows[$page_count]['page_name'] . $page_rows_select_tmp; } *************** *** 708,711 **** --- 709,713 ---- 'U_DELETE' => append_sid("admin_mx_page_cp.$phpEx" . $deletemode), + 'U_PREVIEW' => append_sid($mx_root_path . "index.$phpEx" . '?page=' . $page_id), // Page subpanel - edit |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:31:14
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15865 Modified Files: common.php index.php login.php Log Message: adding fixes for mxBB 2.8 RC 6 Index: login.php =================================================================== RCS file: /cvsroot/mxbb/core/login.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** login.php 10 Sep 2005 22:08:24 -0000 1.9 --- login.php 20 Sep 2005 15:30:58 -0000 1.10 *************** *** 102,106 **** } ! $template->assign_vars(array( 'META' => "<meta http-equiv=\"refresh\" content=\"3;url=login.$phpEx?redirect=$redirect\">") ); --- 102,106 ---- } ! $layouttemplate->assign_vars(array( 'META' => "<meta http-equiv=\"refresh\" content=\"3;url=login.$phpEx?redirect=$redirect\">") ); *************** *** 122,126 **** } ! $template->assign_vars(array( 'META' => "<meta http-equiv=\"refresh\" content=\"3;url=login.$phpEx?redirect=$redirect\">") ); --- 122,126 ---- } ! $layouttemplate->assign_vars(array( 'META' => "<meta http-equiv=\"refresh\" content=\"3;url=login.$phpEx?redirect=$redirect\">") ); *************** *** 166,170 **** include($mx_root_path . 'includes/page_header.'.$phpEx); ! $template->set_filenames(array( 'body' => 'login_body.tpl') ); --- 166,170 ---- include($mx_root_path . 'includes/page_header.'.$phpEx); ! $layouttemplate->set_filenames(array( 'body' => 'login_body.tpl') ); *************** *** 213,217 **** make_jumpbox($phpbb_root_path . 'viewforum.'.$phpEx, $forum_id); ! $template->assign_vars(array( 'USERNAME' => $username, --- 213,217 ---- make_jumpbox($phpbb_root_path . 'viewforum.'.$phpEx, $forum_id); ! $layouttemplate->assign_vars(array( 'USERNAME' => $username, *************** *** 224,228 **** ); ! $template->pparse('body'); include($mx_root_path . 'includes/page_tail.'.$phpEx); --- 224,228 ---- ); ! $layouttemplate->pparse('body'); include($mx_root_path . 'includes/page_tail.'.$phpEx); Index: common.php =================================================================== RCS file: /cvsroot/mxbb/core/common.php,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** common.php 10 Sep 2005 22:08:24 -0000 1.37 --- common.php 20 Sep 2005 15:30:58 -0000 1.38 *************** *** 270,274 **** } - // // Initialize GZIP handler (if necessary) and PHP sessions --- 270,273 ---- *************** *** 277,304 **** mx_session_start(); // Note: this needs $board_config populated! - - //++ MX System - // - // if ( $language ) - // { - // $board_config['default_lang'] = $language; - // setcookie('default_lang', $language, (time()+21600), $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']); - // } - // elseif ( isset($HTTP_COOKIE_VARS['default_lang']) ) - // { - // $board_config['default_lang'] = $HTTP_COOKIE_VARS['default_lang']; - // } - // if ( $style ) - // { - // $board_config['default_style'] = $style; - // setcookie('default_style', $style, (time()+21600), $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']); - // } - // elseif ( isset($HTTP_COOKIE_VARS['default_style']) ) - // { - // $board_config['default_style'] = $HTTP_COOKIE_VARS['default_style']; - // } - // - //-- MX System - if( file_exists($phpbb_root_path . 'attach_mod') ) { --- 276,279 ---- Index: index.php =================================================================== RCS file: /cvsroot/mxbb/core/index.php,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** index.php 6 Sep 2005 18:51:56 -0000 1.39 --- index.php 20 Sep 2005 15:30:58 -0000 1.40 *************** *** 78,85 **** } - // - // Output header - // - include( $mx_root_path . 'includes/page_header.' . $phpEx ); // --- 78,81 ---- *************** *** 332,335 **** --- 328,336 ---- // + // Output header + // + include( $mx_root_path . 'includes/page_header.' . $phpEx ); + + // // Output page // |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:31:13
|
Update of /cvsroot/mxbb/core/modules/mx_coreblocks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15865/modules/mx_coreblocks Modified Files: CoreBlocks.pak mx_language.php mx_online.php mx_theme.php Log Message: adding fixes for mxBB 2.8 RC 6 Index: mx_language.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_language.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** mx_language.php 6 Sep 2005 18:51:57 -0000 1.10 --- mx_language.php 20 Sep 2005 15:30:58 -0000 1.11 *************** *** 25,36 **** } ! $language = $mx_request_vars->post('change_default_lang', MX_TYPE_NO_TAGS, ''); ! $language = ( preg_match('#^[a-z_]+$#', $language) ? strip_tags($language) : '' ); ! if ( !empty($language) && $userdata['user_level'] == ADMIN ) { ! $board_config['default_lang'] = $language; $sql = "UPDATE " . CONFIG_TABLE . " SET ! config_value = '$language' WHERE config_name = 'default_lang'"; if ( !$db->sql_query($sql) ) --- 25,38 ---- } ! // ! // Updating language and theme - mx_laguage.php and mx_theme.php coreblocks ! // ! if ( isset($HTTP_POST_VARS['default_lang']) && preg_match('#^[a-z_]+$#', $HTTP_POST_VARS['default_lang']) && $userdata['user_level'] == ADMIN ) { ! $mx_language = strip_tags($HTTP_POST_VARS['default_lang']); ! $board_config['default_lang'] = $mx_language; $sql = "UPDATE " . CONFIG_TABLE . " SET ! config_value = '$mx_language' WHERE config_name = 'default_lang'"; if ( !$db->sql_query($sql) ) *************** *** 38,51 **** mx_message_die(GENERAL_ERROR, "Failed to update default language configuration", '', __LINE__, __FILE__, $sql); } } ! $language = $mx_request_vars->post('change_user_lang', MX_TYPE_NO_TAGS, ''); ! $language = ( preg_match('#^[a-z_]+$#', $language) ? strip_tags($language) : '' ); ! if ( !empty($language) && $userdata['session_logged_in'] ) { ! $userdata['user_lang'] = $language; $sql = "UPDATE " . USERS_TABLE . " SET ! user_lang = '$language' WHERE user_id = '" . $userdata['user_id'] . "'"; if ( !$db->sql_query($sql) ) --- 40,53 ---- mx_message_die(GENERAL_ERROR, "Failed to update default language configuration", '', __LINE__, __FILE__, $sql); } + setcookie('default_lang', $mx_language, (time()+21600), $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']); } ! if ( isset($HTTP_POST_VARS['user_lang']) && preg_match('#^[a-z_]+$#', $HTTP_POST_VARS['user_lang']) && $userdata['session_logged_in'] ) { ! $mx_language = strip_tags($HTTP_POST_VARS['user_lang']); ! $userdata['user_lang'] = $mx_language; $sql = "UPDATE " . USERS_TABLE . " SET ! user_lang = '$mx_language' WHERE user_id = '" . $userdata['user_id'] . "'"; if ( !$db->sql_query($sql) ) Index: CoreBlocks.pak =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/CoreBlocks.pak,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** CoreBlocks.pak 7 Sep 2005 19:36:30 -0000 1.6 --- CoreBlocks.pak 20 Sep 2005 15:30:58 -0000 1.7 *************** *** 1,73 **** ! module=+:10=+:Core Blocks=+:modules/mx_coreblocks/=+:mxBB Core (standard) Module=+:0 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:2=+:Announcements=+:Announcements Function=+:mx_announce.php=+: ! parameter=+:2=+:3=+:announce_display=+:Boolean=+:TRUE=+: ! parameter=+:2=+:6=+:announce_display_global=+:Boolean=+:TRUE=+: ! parameter=+:2=+:5=+:announce_display_normal=+:Boolean=+:FALSE=+: ! parameter=+:2=+:4=+:announce_display_sticky=+:Boolean=+:TRUE=+: ! parameter=+:2=+:11=+:announce_forum=+:Function=+:=+:get_list_multiple("{parameter_id}[]", FORUMS_TABLE, 'forum_id', 'forum_name', "{parameter_value}", TRUE) ! parameter=+:2=+:7=+:announce_img=+:Text=+:thumb_globe.gif=+: ! parameter=+:2=+:10=+:announce_img_global=+:Text=+:thumb_globe.gif=+: ! parameter=+:2=+:9=+:announce_img_normal=+:Text=+:thumb_globe.gif=+: ! parameter=+:2=+:8=+:announce_img_sticky=+:Text=+:thumb_globe.gif=+: ! parameter=+:2=+:2=+:announce_nbr_days=+:Number=+:14=+: ! parameter=+:2=+:1=+:announce_nbr_display=+:Number=+:1=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Announcements=+:Demo block=+:2=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:3=+:DynamicBlock=+:Dynamic block defined by its block_id=+:mx_dynamic.php=+: ! parameter=+:3=+:80=+:default_block_id=+:Function=+:0=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]") parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - DynamicBlock=+:Demo block=+:3=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:8=+:phpBB forum=+:phpBB Function for the phpBB Index Block=+:mx_forum.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - phpBB forum=+:Demo block=+:8=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:4=+:Google=+:Google Block Function=+:mx_google.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Google=+:Demo block=+:4=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:5=+:IncludeX=+:Include a iframe, site, multimedia or file=+:mx_includex.php=+: ! parameter=+:5=+:72=+:x_1=+:Text=+:=+: ! parameter=+:5=+:73=+:x_2=+:Text=+:=+: ! parameter=+:5=+:71=+:x_3=+:Text=+:http://www.mx-system.com=+: ! parameter=+:5=+:70=+:x_mode=+:Menu_single_select=+:x_iframe=+:a:6:{i:0;s:8:"x_listen";i:1;s:8:"x_iframe";i:2;s:10:"x_textfile";i:3;s:12:"x_multimedia";i:4;s:5:"x_pic";i:5;s:8:"x_format";} parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - IncludeX=+:Demo block=+:5=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:6=+:Language Select=+:Language Select Function=+:mx_language.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Language Select=+:Demo block=+:6=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:7=+:Login=+:Login Function=+:mx_login.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Login=+:Demo block=+:7=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:11=+:Split Block=+:Split Block Function - a block that puts subblocks side by side=+:mx_multiple_blocks.php=+: ! parameter=+:11=+:60=+:block_ids=+:Function=+:1,2,3=+:get_list_multiple( "{parameter_id}[]", BLOCK_TABLE, 'block_id', 'block_title', "{parameter_value}", TRUE) ! parameter=+:11=+:61=+:block_sizes=+:Text=+:20%,30%,*=+: ! parameter=+:11=+:62=+:space_between=+:Number=+:4=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Split Block=+:Demo block=+:11=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:13=+:Who is Online=+:Who is Online Function=+:mx_online.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Who is Online=+:Demo block=+:13=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:14=+:Polls=+:This is the function for Polls=+:mx_poll.php=+: ! parameter=+:14=+:13=+:Poll_Display=+:Function=+:0=+:poll_select( {parameter_value}, "{parameter_id}" ) ! parameter=+:14=+:36=+:poll_forum=+:Function=+:=+:get_list_multiple("{parameter_id}[]", FORUMS_TABLE, 'forum_id', 'forum_name', "{parameter_value}", TRUE) parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Polls=+:Demo block=+:14=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:10=+:Site Log=+:Site Log monitor Function=+:mx_site_log.php=+: ! parameter=+:10=+:91=+:log_filter_date=+:Menu_single_select=+:1 month=+:a:12:{i:0;s:8:"no limit";i:1;s:5:"1 day";i:2;s:6:"2 days";i:3;s:6:"3 days";i:4;s:6:"1 week";i:5;s:7:"2 weeks";i:6;s:7:"3 weeks";i:7;s:7:"1 month";i:8;s:8:"2 months";i:9;s:8:"3 months";i:10;s:8:"6 months";i:11;s:6:"1 year";} ! parameter=+:10=+:92=+:numOfEvents=+:Number=+:5=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Site Log=+:Demo block=+:10=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:12=+:Theme Select=+:Theme Select Function=+:mx_theme.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Theme Select=+:Demo block=+:12=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 --- 1,73 ---- ! module=+:10=+:Core Blocks=+:modules/mx_coreblocks/=+:Core blocks=+: New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:17=+:Announcements=+:Announcements=+:mx_announce.php=+: ! parameter=+:17=+:3=+:announce_display=+:Boolean=+:TRUE=+: ! parameter=+:17=+:6=+:announce_display_global=+:Boolean=+:TRUE=+: ! parameter=+:17=+:5=+:announce_display_normal=+:Boolean=+:FALSE=+: ! parameter=+:17=+:4=+:announce_display_sticky=+:Boolean=+:TRUE=+: ! parameter=+:17=+:11=+:announce_forum=+:Function=+:=+:get_list_multiple("{parameter_id}[]", FORUMS_TABLE, 'forum_id', 'forum_name', "{parameter_value}", TRUE) ! parameter=+:17=+:7=+:announce_img=+:Text=+:thumb_globe.gif=+: ! parameter=+:17=+:10=+:announce_img_global=+:Text=+:thumb_globe.gif=+: ! parameter=+:17=+:9=+:announce_img_normal=+:Text=+:thumb_globe.gif=+: ! parameter=+:17=+:8=+:announce_img_sticky=+:Text=+:thumb_globe.gif=+: ! parameter=+:17=+:2=+:announce_nbr_days=+:Number=+:14=+: ! parameter=+:17=+:1=+:announce_nbr_display=+:Number=+:1=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Announcements=+:Demo block=+:17=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:53=+:DynamicBlock=+:Dynamic block defined by its block_id=+:mx_dynamic.php=+: ! parameter=+:53=+:136=+:default_block_id=+:Function=+:0=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]") parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - DynamicBlock=+:Demo block=+:53=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:10=+:Forum phpBB=+:Forum phpBB=+:mx_forum.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Forum phpBB=+:Demo block=+:10=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:16=+:Google=+:Google=+:mx_google.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Google=+:Demo block=+:16=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:48=+:IncludeX=+:Include site or file=+:mx_includex.php=+: ! parameter=+:48=+:133=+:x_1=+:Text=+:=+: ! parameter=+:48=+:134=+:x_2=+:Text=+:=+: ! parameter=+:48=+:161=+:x_3=+:Text=+:http://www.mx-system.com=+: ! parameter=+:48=+:131=+:x_mode=+:Menu_single_select=+:x_iframe=+:a:6:{i:0;s:8:"x_listen";i:1;s:8:"x_iframe";i:2;s:10:"x_textfile";i:3;s:12:"x_multimedia";i:4;s:5:"x_pic";i:5;s:8:"x_format";} parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - IncludeX=+:Demo block=+:48=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:13=+:Language Select=+:Language Select=+:mx_language.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Language Select=+:Demo block=+:13=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:14=+:Login=+:Login=+:mx_login.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Login=+:Demo block=+:14=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:19=+:Multiple Horizontal Blocks=+:Block that can arrange other blocks in a horizontal line.=+:mx_multiple_blocks.php=+: ! parameter=+:19=+:60=+:block_ids=+:Function=+:1,2,3=+:get_list_multiple( "{parameter_id}[]", BLOCK_TABLE, 'block_id', 'block_title', "{parameter_value}", TRUE) ! parameter=+:19=+:61=+:block_sizes=+:Text=+:20%,30%,*=+: ! parameter=+:19=+:62=+:space_between=+:Number=+:4=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Multiple Horizontal Blocks=+:Demo block=+:19=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:18=+:Who is Online=+:Who is Online=+:mx_online.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Who is Online=+:Demo block=+:18=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:12=+:Polls=+:Polls=+:mx_poll.php=+: ! parameter=+:12=+:13=+:Poll_Display=+:Function=+:0=+:poll_select( {parameter_value}, "{parameter_id}" ) ! parameter=+:12=+:36=+:poll_forum=+:Function=+:=+:get_list_multiple("{parameter_id}[]", FORUMS_TABLE, 'forum_id', 'forum_name', "{parameter_value}", TRUE) parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Polls=+:Demo block=+:12=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:97=+:Site Log=+:Site change monitor=+:mx_site_log.php=+: ! parameter=+:97=+:317=+:log_filter_date=+:Menu_single_select=+:1 month=+:a:12:{i:0;s:8:"no limit";i:1;s:5:"1 day";i:2;s:6:"2 days";i:3;s:6:"3 days";i:4;s:6:"1 week";i:5;s:7:"2 weeks";i:6;s:7:"3 weeks";i:7;s:7:"1 month";i:8;s:8:"2 months";i:9;s:8:"3 months";i:10;s:8:"6 months";i:11;s:6:"1 year";} ! parameter=+:97=+:315=+:numOfEvents=+:Number=+:5=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Site Log=+:Demo block=+:97=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:10=+:15=+:Theme Select=+:Theme Select=+:mx_theme.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Theme Select=+:Demo block=+:15=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 Index: mx_online.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_online.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mx_online.php 15 Apr 2005 18:34:51 -0000 1.8 --- mx_online.php 20 Sep 2005 15:30:58 -0000 1.9 *************** *** 41,46 **** //if (defined('SHOW_ONLINE')) { - - $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ip FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s --- 41,44 ---- Index: mx_theme.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_theme.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** mx_theme.php 6 Sep 2005 18:51:57 -0000 1.10 --- mx_theme.php 20 Sep 2005 15:30:58 -0000 1.11 *************** *** 25,36 **** } ! $user_style = $mx_request_vars->post('change_default_theme', MX_TYPE_NO_TAGS, ''); ! $user_style = ( preg_match('#^[a-z_]+$#', $user_style) ? strip_tags($user_style) : '' ); ! if ( !empty($user_style) && $userdata['user_level'] == ADMIN ) { ! $board_config['default_style'] = $user_style; $sql = "UPDATE " . CONFIG_TABLE . " SET ! config_value = '$user_style' WHERE config_name = 'default_style'"; if ( !$db->sql_query($sql) ) --- 25,35 ---- } ! if ( isset($HTTP_POST_VARS['default_style']) && $userdata['user_level'] == ADMIN ) { ! $mx_default_style = intval($HTTP_POST_VARS['default_style']); ! $board_config['default_style'] = $mx_default_style; $sql = "UPDATE " . CONFIG_TABLE . " SET ! config_value = '$mx_default_style' WHERE config_name = 'default_style'"; if ( !$db->sql_query($sql) ) *************** *** 38,51 **** mx_message_die(GENERAL_ERROR, "Failed to update default style configuration", '', __LINE__, __FILE__, $sql); } } ! $user_style = $mx_request_vars->post('change_user_theme', MX_TYPE_NO_TAGS, ''); ! $user_style = ( preg_match('#^[a-z_]+$#', $user_style) ? strip_tags($user_style) : '' ); ! if ( !empty($user_style) && $userdata['session_logged_in'] ) { ! $userdata['user_style'] = $user_style; $sql = "UPDATE " . USERS_TABLE . " SET ! user_style = '$user_style' WHERE user_id = '" . $userdata['user_id'] . "'"; if ( !$db->sql_query( $sql ) ) --- 37,50 ---- mx_message_die(GENERAL_ERROR, "Failed to update default style configuration", '', __LINE__, __FILE__, $sql); } + setcookie('default_style', $mx_default_style, (time()+21600), $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']); } ! if ( isset($HTTP_POST_VARS['user_style']) && $userdata['session_logged_in'] ) { ! $mx_user_style = intval($HTTP_POST_VARS['user_style']); ! $userdata['user_style'] = $mx_user_style; $sql = "UPDATE " . USERS_TABLE . " SET ! user_style = '$mx_user_style' WHERE user_id = '" . $userdata['user_id'] . "'"; if ( !$db->sql_query( $sql ) ) |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:31:13
|
Update of /cvsroot/mxbb/core/modules/mx_textblocks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15865/modules/mx_textblocks Modified Files: TextBlocks.pak Log Message: adding fixes for mxBB 2.8 RC 6 Index: TextBlocks.pak =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_textblocks/TextBlocks.pak,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** TextBlocks.pak 7 Sep 2005 19:36:31 -0000 1.7 --- TextBlocks.pak 20 Sep 2005 15:30:59 -0000 1.8 *************** *** 1,25 **** ! module=+:20=+:Text Blocks=+:modules/mx_textblocks/=+:mxBB Textblocks Module=+:0 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:20=+:24=+:TextBlock (phpBB)=+:BBcodes, html and smilies - defined by phpBB config=+:mx_textblock_bbcode.php=+: ! parameter=+:24=+:15=+:Text=+:phpBBTextBlock=+:Insert your text here=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - TextBlock (phpBB)=+:Demo block=+:24=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:20=+:21=+:TextBlock (Blog)=+:UserBlog Textblock=+:mx_textblock_blog.php=+: ! parameter=+:21=+:81=+:Blog=+:BBText=+:Add your text here...=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - TextBlock (Blog)=+:Demo block=+:21=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:20=+:23=+:TextBlock (Html/wysiwyg)=+:Plain html textblock, or featuring a wysiwyg editor=+:mx_textblock_html.php=+: ! parameter=+:23=+:16=+:Html=+:WysiwygTextBlock=+:Entre your Html code here=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - TextBlock (Html/wysiwyg)=+:Demo block=+:23=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:20=+:22=+:TextBlock (Customized)=+:Textblock, featuring block defined settings=+:mx_textblock_multi.php=+: ! parameter=+:22=+:56=+:allow_bbcode=+:Boolean=+:TRUE=+: ! parameter=+:22=+:54=+:allow_html=+:Boolean=+:TRUE=+: ! parameter=+:22=+:57=+:allow_smilies=+:Boolean=+:TRUE=+: parameter=+:22=+:52=+:block_style=+:Boolean=+:TRUE=+: ! parameter=+:22=+:55=+:html_tags=+:Text=+:b,i,u,img=+: parameter=+:22=+:50=+:Text=+:CustomizedTextBlock=+:Enter your block text here=+: parameter=+:22=+:51=+:text_style=+:Text=+:none=+: --- 1,25 ---- ! module=+:20=+:Text Blocks=+:modules/mx_textblocks/=+:Textblocks module=+: New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:20=+:20=+:TextBlock (phpBB)=+:BBcodes, html and smilies usage defined by phpBB config=+:mx_textblock_bbcode.php=+: ! parameter=+:20=+:15=+:Text=+:phpBBTextBlock=+:Insert your text here=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - TextBlock (phpBB)=+:Demo block=+:20=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:20=+:80=+:TextBlock_Blog=+:UserBlog Textblock=+:mx_textblock_blog.php=+: ! parameter=+:80=+:163=+:Blog=+:BBText=+:Add your text here...=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - TextBlock_Blog=+:Demo block=+:80=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:20=+:21=+:TextBlock (Html/wysiwyg)=+:Plain html textblock, or featuring wysiwyg =+:mx_textblock_html.php=+: ! parameter=+:21=+:16=+:Html=+:WysiwygTextBlock=+:Entre your Html code here=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - TextBlock (Html/wysiwyg)=+:Demo block=+:21=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:20=+:22=+:TextBlock (Customized)=+:Textblock, featuring block defined settings=+:mx_textblock_multi.php=+: ! parameter=+:22=+:326=+:allow_bbcode=+:Boolean=+:TRUE=+: ! parameter=+:22=+:327=+:allow_html=+:Boolean=+:TRUE=+: ! parameter=+:22=+:328=+:allow_smilies=+:Boolean=+:TRUE=+: parameter=+:22=+:52=+:block_style=+:Boolean=+:TRUE=+: ! parameter=+:22=+:329=+:html_tags=+:Text=+:b,i,u,img=+: parameter=+:22=+:50=+:Text=+:CustomizedTextBlock=+:Enter your block text here=+: parameter=+:22=+:51=+:text_style=+:Text=+:none=+: |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:31:13
|
Update of /cvsroot/mxbb/core/modules/mx_last_msg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15865/modules/mx_last_msg Modified Files: LastMessage.pak Log Message: adding fixes for mxBB 2.8 RC 6 Index: LastMessage.pak =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_last_msg/LastMessage.pak,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** LastMessage.pak 7 Sep 2005 19:36:30 -0000 1.6 --- LastMessage.pak 20 Sep 2005 15:30:59 -0000 1.7 *************** *** 1,16 **** ! module=+:30=+:Post Last Message=+:modules/mx_last_msg/=+:mxBB Last Message Module=+:0 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:30=+:31=+:Post Last Message=+:Post Last Message Function=+:mx_last_msg.php=+: ! parameter=+:31=+:21=+:Last_Msg_Align=+:Values=+:left=+: ! parameter=+:31=+:39=+:Last_Msg_Display_Author=+:Boolean=+:FALSE=+: ! parameter=+:31=+:18=+:Last_Msg_Display_Date=+:Boolean=+:TRUE=+: ! parameter=+:31=+:22=+:Last_Msg_Display_Forum=+:Boolean=+:TRUE=+: ! parameter=+:31=+:40=+:Last_Msg_Display_Icon_View=+:Boolean=+:TRUE=+: ! parameter=+:31=+:38=+:Last_Msg_Display_Last_Author=+:Boolean=+:TRUE=+: ! parameter=+:31=+:37=+:Last_Msg_forum=+:Function=+:=+:get_list_multiple("{parameter_id}[]", FORUMS_TABLE, 'forum_id', 'forum_name', "{parameter_value}", TRUE) ! parameter=+:31=+:17=+:Last_Msg_Number_Title=+:Number=+:15=+: ! parameter=+:31=+:20=+:Last_Msg_Target=+:Values=+:_blank=+: ! parameter=+:31=+:19=+:Last_Msg_Title_Length=+:Number=+:30=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Post Last Message=+:Demo block=+:31=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 --- 1,17 ---- ! module=+:30=+:Post Last Message=+:modules/mx_last_msg/=+:Last Message Module=+:0 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:30=+:30=+:Post Last Message=+:Post Last Message=+:mx_last_msg.php=+: ! parameter=+:30=+:21=+:Last_Msg_Align=+:Values=+:left=+: ! parameter=+:30=+:39=+:Last_Msg_Display_Author=+:Boolean=+:FALSE=+: ! parameter=+:30=+:18=+:Last_Msg_Display_Date=+:Boolean=+:TRUE=+: ! parameter=+:30=+:22=+:Last_Msg_Display_Forum=+:Boolean=+:TRUE=+: ! parameter=+:30=+:40=+:Last_Msg_Display_Icon_View=+:Boolean=+:TRUE=+: ! parameter=+:30=+:38=+:Last_Msg_Display_Last_Author=+:Boolean=+:TRUE=+: ! parameter=+:30=+:37=+:Last_Msg_forum=+:Function=+:=+:get_list_multiple("{parameter_id}[]", FORUMS_TABLE, 'forum_id', 'forum_name', "{parameter_value}", TRUE) ! parameter=+:30=+:17=+:Last_Msg_Number_Title=+:Number=+:15=+: ! parameter=+:30=+:20=+:Last_Msg_Target=+:Values=+:_blank=+: ! parameter=+:30=+:19=+:Last_Msg_Title_Length=+:Number=+:30=+: ! parameter=+:30=+:318=+:msg_filter_date=+:Function=+:5=+:get_list_static("{parameter_id}[]",array("no limit", "1 day", "2 days", "3 days", "1 week", "2 weeks", "3 weeks", "1 month", "2 months", "3 months", "6 months", "1 year"),"{parameter_value}") parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Post Last Message=+:Demo block=+:30=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:31:11
|
Update of /cvsroot/mxbb/core/modules/mx_statistics In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15865/modules/mx_statistics Modified Files: statistics.pak Log Message: adding fixes for mxBB 2.8 RC 6 Index: statistics.pak =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_statistics/statistics.pak,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** statistics.pak 7 Sep 2005 19:36:31 -0000 1.4 --- statistics.pak 20 Sep 2005 15:30:59 -0000 1.5 *************** *** 1,6 **** ! module=+:40=+:Statistics MX=+:modules/mx_statistics/=+:mxBB Statistics Module=+:0 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:40=+:41=+:Statistics MX=+:Statistics Function=+:mx_statistics.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Statistics MX=+:Demo block=+:41=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 --- 1,6 ---- ! module=+:40=+:Statistics MX=+:modules/mx_statistics/=+:Statistics Modules=+:0 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:40=+:40=+:Statistics MX=+:Statistics MX=+:mx_statistics.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Statistics MX=+:Demo block=+:40=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:31:10
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15865/modules/mx_navmenu Modified Files: mx_menu_nav.php Log Message: adding fixes for mxBB 2.8 RC 6 Index: mx_menu_nav.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/mx_menu_nav.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_menu_nav.php 20 Aug 2005 18:19:12 -0000 1.1 --- mx_menu_nav.php 20 Sep 2005 15:30:59 -0000 1.2 *************** *** 117,121 **** $cat_target = ( $mx_nav_data[$menu_count]['cat_target'] == 0 ) ? '' : '_blank'; ! $cat_url_tmp = append_sid(PORTAL_URL . 'index.php?page=' . $mx_nav_data[$menu_count]['cat_url']); $catt = ( $mx_nav_data[$menu_count]['cat_url'] != 0 ) ? '<a class="genmed" href="' . $cat_url_tmp . '" target="' . $cat_target . '" /><span class="genmed">' . $cat . '</span></a>' : $cat; --- 117,121 ---- $cat_target = ( $mx_nav_data[$menu_count]['cat_target'] == 0 ) ? '' : '_blank'; ! $cat_url_tmp = append_sid(PORTAL_URL . 'index.php?page=' . $mx_nav_data[$menu_count]['cat_url'] . '&cat_link=' . intval($cat_id)); $catt = ( $mx_nav_data[$menu_count]['cat_url'] != 0 ) ? '<a class="genmed" href="' . $cat_url_tmp . '" target="' . $cat_target . '" /><span class="genmed">' . $cat . '</span></a>' : $cat; *************** *** 130,137 **** )); // Generate the fold/unfold categories switches ! if ( !empty($HTTP_COOKIE_VARS['phpbbCategory_' . $block_id . $cat_id]) ) { ! $cat_on = $HTTP_COOKIE_VARS['phpbbCategory_' . $block_id . $cat_id]; } else --- 130,146 ---- )); + // + // Update cookie - if this was a cat link + // + if (isset($HTTP_GET_VARS['cat_link']) && intval($HTTP_GET_VARS['cat_link']) == $cat_id) + { + setcookie('phpbbCategory_' . intval($block_id) . intval($cat_id), true, (time()+21600), $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']); + $HTTP_COOKIE_VARS['phpbbCategory_' . $block_id . $cat_id] = 1; + } + // Generate the fold/unfold categories switches ! if ( isset($HTTP_COOKIE_VARS['phpbbCategory_' . $block_id . $cat_id]) ) { ! $cat_on = $HTTP_COOKIE_VARS['phpbbCategory_' . $block_id . $cat_id] == 1; } else |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:31:08
|
Update of /cvsroot/mxbb/core/templates/subSilver/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15865/templates/subSilver/admin Modified Files: mx_pagecp_admin_body.tpl Log Message: adding fixes for mxBB 2.8 RC 6 Index: mx_pagecp_admin_body.tpl =================================================================== RCS file: /cvsroot/mxbb/core/templates/subSilver/admin/mx_pagecp_admin_body.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_pagecp_admin_body.tpl 9 Sep 2005 09:15:13 -0000 1.1 --- mx_pagecp_admin_body.tpl 20 Sep 2005 15:30:59 -0000 1.2 *************** *** 541,552 **** <tr> <!-- BEGIN is_current --> ! <td width="60%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPage_');"> <img name="adminPage_image_{pages.PAGE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> {pages.PAGE_ICON} <span class="cattitle">{pages.PAGE_TITLE}</span> <span class="gensmall">{pages.PAGE_DESC}</span></td> <!-- END is_current --> <!-- BEGIN is_new --> ! <td width="60%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPage_');"> <img name="adminPage_image_{pages.PAGE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> {pages.PAGE_ICON} <span class="topictitle">{pages.PAGE_TITLE}</span> <span class="gensmall">{pages.PAGE_DESC}</span></td> <!-- END is_new --> <!-- BEGIN reload --> ! <td width="60%" class="catLeft" style="cursor:pointer;cursor:hand;"> <img name="adminPage_image_{pages.PAGE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> {pages.PAGE_ICON} <a href="{pages.reload.U_PAGE_EDIT}"><span class="cattitle">{pages.PAGE_TITLE}</span></a> <span class="gensmall">{pages.PAGE_DESC}</span></td> <!-- END reload --> <td width="10%" class="cat" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPageEdit_');"> <!-- BEGIN is_page --> --- 541,557 ---- <tr> <!-- BEGIN is_current --> ! <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPage_');"> <img name="adminPage_image_{pages.PAGE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> {pages.PAGE_ICON} <span class="cattitle">{pages.PAGE_TITLE}</span> <span class="gensmall">{pages.PAGE_DESC}</span></td> <!-- END is_current --> <!-- BEGIN is_new --> ! <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPage_');"> <img name="adminPage_image_{pages.PAGE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> {pages.PAGE_ICON} <span class="topictitle">{pages.PAGE_TITLE}</span> <span class="gensmall">{pages.PAGE_DESC}</span></td> <!-- END is_new --> <!-- BEGIN reload --> ! <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;"> <img name="adminPage_image_{pages.PAGE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> {pages.PAGE_ICON} <a href="{pages.reload.U_PAGE_EDIT}"><span class="cattitle">{pages.PAGE_TITLE}</span></a> <span class="gensmall">{pages.PAGE_DESC}</span></td> <!-- END reload --> + <td width="10%" class="cat" align="center"> + <!-- BEGIN is_page --> + <span class="genmed"><a href="{pages.U_PREVIEW}" target="_blank">{L_PREVIEW}</a></span> + <!-- END is_page --> + </td> <td width="10%" class="cat" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPageEdit_');"> <!-- BEGIN is_page --> *************** *** 573,577 **** <!-- Function Delete --> <tr> ! <td colspan="5" class="row1"> <div id="adminPageDelete_{pages.PAGE_ID}" style="display:{pages.VISIBLE_DELETE};" class="genmed"> <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> --- 578,582 ---- <!-- Function Delete --> <tr> ! <td colspan="6" class="row1"> <div id="adminPageDelete_{pages.PAGE_ID}" style="display:{pages.VISIBLE_DELETE};" class="genmed"> <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> *************** *** 587,591 **** <tr> ! <td colspan="5" class="row1"> <div id="adminPage_{pages.PAGE_ID}" style="display:{pages.VISIBLE};" class="genmed"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> --- 592,596 ---- <tr> ! <td colspan="6" class="row1"> <div id="adminPage_{pages.PAGE_ID}" style="display:{pages.VISIBLE};" class="genmed"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:31:08
|
Update of /cvsroot/mxbb/core/templates/subSilver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15865/templates/subSilver Modified Files: overall_header.tpl Log Message: adding fixes for mxBB 2.8 RC 6 Index: overall_header.tpl =================================================================== RCS file: /cvsroot/mxbb/core/templates/subSilver/overall_header.tpl,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** overall_header.tpl 28 Apr 2005 22:41:50 -0000 1.19 --- overall_header.tpl 20 Sep 2005 15:30:59 -0000 1.20 *************** *** 99,103 **** <script language="javascript" type="text/javascript" src="templates/rollout.js"></script> <script language="javascript" type="text/javascript" src="templates/rollout_main.js"></script> - <script language="javascript" type="text/javascript" src="modules/mx_newssuite/templates/rollout_cat.js"></script> </head> <body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}"> --- 99,102 ---- |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:31:07
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15865/includes Modified Files: mx_functions_admincp.php mx_functions_core.php mx_functions_phpbb.php page_header.php Log Message: adding fixes for mxBB 2.8 RC 6 Index: page_header.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/page_header.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** page_header.php 26 Apr 2005 00:08:06 -0000 1.20 --- page_header.php 20 Sep 2005 15:30:58 -0000 1.21 *************** *** 71,77 **** // // Parse and show the overall header. // ! $template->set_filenames(array( 'overall_header' => ( $page_ov_header == '' ? ( empty($gen_simple_header) ? 'overall_header.tpl' : 'simple_header.tpl' ) : ( file_exists($mx_root_path . TEMPLATE_ROOT_PATH . $page_ov_header) ? $page_ov_header : 'overall_header.tpl' ) ) ) ); --- 71,88 ---- // + // If mxBB frane template is not set, instantiate it + // + if (!is_object($layouttemplate)) + { + // + // Initialize template + // + $layouttemplate = new mx_Template( $template->root, $board_config, $db ); + } + + // // Parse and show the overall header. // ! $layouttemplate->set_filenames(array( 'overall_header' => ( $page_ov_header == '' ? ( empty($gen_simple_header) ? 'overall_header.tpl' : 'simple_header.tpl' ) : ( file_exists($mx_root_path . TEMPLATE_ROOT_PATH . $page_ov_header) ? $page_ov_header : 'overall_header.tpl' ) ) ) ); *************** *** 97,100 **** --- 108,114 ---- // situation // + // This code is moved to the mx_online coreblock + // + /* $logged_visible_online = 0; $logged_hidden_online = 0; *************** *** 263,266 **** --- 277,281 ---- $l_online_users .= sprintf($l_g_user_s, $guests_online); } + */ // *************** *** 365,369 **** // in a template. // ! $template->assign_vars(array( 'SITENAME' => $board_config['sitename'], 'SITE_DESCRIPTION' => $board_config['site_desc'], --- 380,384 ---- // in a template. // ! $layouttemplate->assign_vars(array( 'SITENAME' => $board_config['sitename'], 'SITE_DESCRIPTION' => $board_config['site_desc'], *************** *** 491,495 **** if ( $page_id != 1 || $portal_config['top_phpbb_links'] == 0 ) { ! $template->assign_block_vars('portal_top_links_off', array()); } --- 506,510 ---- if ( $page_id != 1 || $portal_config['top_phpbb_links'] == 0 ) { ! $layouttemplate->assign_block_vars('portal_top_links_off', array()); } *************** *** 499,520 **** if ( !$userdata['session_logged_in'] ) { ! $template->assign_block_vars('switch_user_logged_out', array()); } else { ! $template->assign_block_vars('switch_user_logged_in', array()); if ( !empty($userdata['user_popup_pm']) ) { ! $template->assign_block_vars('switch_enable_pm_popup', array()); } } // ! // Do NOT set basedir when in EDIT mode // if ( !(isset($HTTP_POST_VARS['portalpage']) || isset($HTTP_GET_VARS['portalpage'])) ) { ! $template->assign_block_vars('switch_set_base', array()); } --- 514,535 ---- if ( !$userdata['session_logged_in'] ) { ! $layouttemplate->assign_block_vars('switch_user_logged_out', array()); } else { ! $layouttemplate->assign_block_vars('switch_user_logged_in', array()); if ( !empty($userdata['user_popup_pm']) ) { ! $layouttemplate->assign_block_vars('switch_enable_pm_popup', array()); } } // ! // Do NOT set basedir when in EDIT mode - NEEDED ANYMORE?????????????????????????????? // if ( !(isset($HTTP_POST_VARS['portalpage']) || isset($HTTP_GET_VARS['portalpage'])) ) { ! $layouttemplate->assign_block_vars('switch_set_base', array()); } *************** *** 526,530 **** if ( $is_gecko ) { ! $template->assign_block_vars('switch_gecko', array()); } --- 541,545 ---- if ( $is_gecko ) { ! $layouttemplate->assign_block_vars('switch_gecko', array()); } *************** *** 557,565 **** $meta_str .= $header . "\n"; ! $template->assign_vars(array( 'META' => $meta_str) ); ! $template->pparse('overall_header'); ?> \ No newline at end of file --- 572,580 ---- $meta_str .= $header . "\n"; ! $layouttemplate->assign_vars(array( 'META' => $meta_str) ); ! $layouttemplate->pparse('overall_header'); ?> \ No newline at end of file Index: mx_functions_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_phpbb.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** mx_functions_phpbb.php 20 Aug 2005 18:19:11 -0000 1.10 --- mx_functions_phpbb.php 20 Sep 2005 15:30:58 -0000 1.11 *************** *** 199,204 **** $template_name = $row['template_name'] ; ! // MX FIX for uninstalled themes ... use subSilver instead ! if ( !file_exists($mx_root_path . $template_path . $template_name . '/mx_login.tpl') ) { $template_path = 'templates/'; --- 199,206 ---- $template_name = $row['template_name'] ; ! // ! // mxBB FIX for uninstalled themes ... use subSilver instead ! // ! if ( !file_exists($mx_root_path . $template_path . $template_name . '/mx_main_layout.tpl') ) { $template_path = 'templates/'; *************** *** 445,448 **** --- 447,464 ---- } + // + // Fix for correcting possible "bad" links to phpBB + // + if (!(strpos($msg_text, 'href') === false)) + { + $msg_text = str_replace('<a href="index', '<a href="'.$phpbb_root_path.'index', $msg_text); + $msg_text = str_replace('<a href="viewforum', '<a href="'.$phpbb_root_path.'viewforum', $msg_text); + $msg_text = str_replace('<a href="viewtopic', '<a href="'.$phpbb_root_path.'viewtopic', $msg_text); + $msg_text = str_replace('<a href="modcp', '<a href="'.$phpbb_root_path.'modcp', $msg_text); + $msg_text = str_replace('<a href="groupcp', '<a href="'.$phpbb_root_path.'groupcp', $msg_text); + $msg_text = str_replace('<a href="posting', '<a href="'.$phpbb_root_path.'posting', $msg_text); + + } + $template->assign_vars(array( 'MESSAGE_TITLE' => $msg_title, Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** mx_functions_core.php 9 Sep 2005 14:15:35 -0000 1.7 --- mx_functions_core.php 20 Sep 2005 15:30:58 -0000 1.8 *************** *** 862,870 **** function output_title() { ! global $layouttemplate; $this_block_title = !$this->show_title && $this->auth_mod ? '(' . $this->block_title . ')' : $this->block_title; $layouttemplate->assign_block_vars('layout_column.blocks.show_title', array( ! 'L_TITLE' => $this_block_title )); } --- 862,871 ---- function output_title() { ! global $layouttemplate, $title_class; $this_block_title = !$this->show_title && $this->auth_mod ? '(' . $this->block_title . ')' : $this->block_title; $layouttemplate->assign_block_vars('layout_column.blocks.show_title', array( ! 'L_TITLE' => $this_block_title, ! 'TITLECLASS' => ( !empty( $title_class ) ? $title_class : 'mxthHead' ) )); } *************** *** 1700,1704 **** $this->total_block = count($this->blocks); ! $this->$block_border_graphics = ( !empty($this->info['page_graph_border']) && file_exists($mx_root_path . TEMPLATE_ROOT_PATH . 'images/' . $this->info['page_graph_border'] . '1-1.gif') ) ? true : false ; $s_hidden_fields = '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; --- 1701,1705 ---- $this->total_block = count($this->blocks); ! $this->block_border_graphics = ( !empty($this->info['page_graph_border']) && file_exists($mx_root_path . TEMPLATE_ROOT_PATH . 'images/' . $this->info['page_graph_border'] . '1-1.gif') ) ? true : false ; $s_hidden_fields = '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; Index: mx_functions_admincp.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_admincp.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** mx_functions_admincp.php 10 Sep 2005 22:08:24 -0000 1.7 --- mx_functions_admincp.php 20 Sep 2005 15:30:58 -0000 1.8 *************** *** 1645,1649 **** } - echo('block' . $column_id . ' ' . $page_id); $this->move('block', $column_id, $page_id); $show_index = true; --- 1645,1648 ---- *************** *** 2273,2277 **** { $module_data = explode($delimeter, trim($fcontents[$i])); ! echo($module_data[0].'<br>'); switch( $module_data[0] ) { --- 2272,2276 ---- { $module_data = explode($delimeter, trim($fcontents[$i])); ! switch( $module_data[0] ) { *************** *** 2827,2838 **** } - /* - echo "<br /><br />"; - echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; - echo "<tr><th class=\"thHead\" align=\"center\">Module Installation / Information - *.pak import</th></tr>"; - echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $output_message . "</span></td></tr>"; - echo "</table><br />"; - */ - if( file_exists(dirname($mx_root_path . $file_name) . "/db_install.php") && !$upgrade_module && !$pak_debug ) { --- 2826,2829 ---- |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:31:07
|
Update of /cvsroot/mxbb/core/modules/mx_textblocks/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15865/modules/mx_textblocks/admin Modified Files: mx_module_defs.php Log Message: adding fixes for mxBB 2.8 RC 6 Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_textblocks/admin/mx_module_defs.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mx_module_defs.php 9 Sep 2005 14:15:35 -0000 1.5 --- mx_module_defs.php 20 Sep 2005 15:30:59 -0000 1.6 *************** *** 165,171 **** $bbcode_status = ( $bbcode_on ) ? $lang['BBCode_is_ON'] : $lang['BBCode_is_OFF']; $smilies_status = ( $smilies_on ) ? $lang['Smilies_are_ON'] : $lang['Smilies_are_OFF']; ! $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl') ); --- 165,180 ---- $bbcode_status = ( $bbcode_on ) ? $lang['BBCode_is_ON'] : $lang['BBCode_is_OFF']; $smilies_status = ( $smilies_on ) ? $lang['Smilies_are_ON'] : $lang['Smilies_are_OFF']; ! ! if (file_exists($mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl')) ! { ! $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl'; ! } ! else ! { ! $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/subSilver' . '/admin/mx_module_parameters.tpl'; ! } ! $template->set_filenames(array( ! 'parameter' => $module_template_file) ); *************** *** 274,279 **** $smilies_status = ( $smilies_on ) ? $lang['Smilies_are_ON'] : $lang['Smilies_are_OFF']; $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl') ); --- 283,297 ---- $smilies_status = ( $smilies_on ) ? $lang['Smilies_are_ON'] : $lang['Smilies_are_OFF']; + if (file_exists($mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl')) + { + $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl'; + } + else + { + $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/subSilver' . '/admin/mx_module_parameters.tpl'; + } + $template->set_filenames(array( ! 'parameter' => $module_template_file) ); *************** *** 363,369 **** $bbcode_status = ( false ) ? $lang['BBCode_is_ON'] : $lang['BBCode_is_OFF']; $smilies_status = ( false ) ? $lang['Smilies_are_ON'] : $lang['Smilies_are_OFF']; ! $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl') ); --- 381,396 ---- $bbcode_status = ( false ) ? $lang['BBCode_is_ON'] : $lang['BBCode_is_OFF']; $smilies_status = ( false ) ? $lang['Smilies_are_ON'] : $lang['Smilies_are_OFF']; ! ! if (file_exists($mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl')) ! { ! $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl'; ! } ! else ! { ! $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/subSilver' . '/admin/mx_module_parameters.tpl'; ! } ! $template->set_filenames(array( ! 'parameter' => $module_template_file) ); |