You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: Jon O. <jon...@us...> - 2008-03-10 09:43:31
|
Update of /cvsroot/mxbb/mx_news/mx_news/cache In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17544 Modified Files: data_global.php Log Message: Index: data_global.php =================================================================== RCS file: /cvsroot/mxbb/mx_news/mx_news/cache/data_global.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** data_global.php 8 Feb 2008 21:58:20 -0000 1.1 --- data_global.php 10 Mar 2008 09:30:17 -0000 1.2 *************** *** 1,2 **** ! <?php $this->vars=array('config'=>array('enable_module'=>'0','module_name'=>'Download Database','wysiwyg_path'=>'modules/mx_shared/','site_logo'=>'http://phpbb2.mxbb.com/phpBB2/linkdb/images/web_logo88a.gif','site_url'=>'http://phpbb2.mxbb.com/phpBB2/','display_interval'=>'6000','lock_submit_site'=>'0','width'=>'88','height'=>'31','display_links_logo'=>'1','allow_no_logo'=>'0','split_links'=>'1','sort_method'=>'link_time','sort_order'=>'DESC','pagination'=>'10','use_simple_navigation'=>'1','cat_col'=>'2','settings_newdays'=>'1','use_comments'=>'0','internal_comments'=>'1','formatting_comment_wordwrap'=>'1','formatting_comment_image_resize'=>'300','formatting_comment_truncate_links'=>'1','max_comment_subject_chars'=>'50','max_comment_chars'=>'5000','allow_comment_wysiwyg'=>'0','allow_comment_html'=>'1','allow_comment_bbcode'=>'1','allow_comment_smilies'=>'1','allow_comment_links'=>'1','allow_comment_images'=>'1','no_comment_image_message'=>'[No image please]','no_comment_link_message'=>'[No links please]','allowed_comment_html_tags'=>'b,i,u,a','del_topic'=>'1','autogenerate_comments'=>'1','comments_pagination'=>'5','comments_forum_id'=>'0','use_ratings'=>'0','votes_check_userid'=>'1','votes_check_ip'=>'1','show_pretext'=>'0','pt_header'=>'Link Submission Instructions','pt_body'=>'Please check your references and include as much information as you can.','notify'=>'0','notify_group'=>'0')); ! $this->vars_ts=array('config'=>1202070182) ?> \ No newline at end of file --- 1,2 ---- ! <?php $this->vars=array('config'=>array('enable_module'=>'0','module_name'=>'News Manager','wysiwyg_path'=>'modules/mx_shared/','site_logo'=>'http://phpbb2.mxbb.com/phpBB2/linkdb/images/web_logo88a.gif','site_url'=>'http://phpbb2.mxbb.com/phpBB2/','display_interval'=>'6000','lock_submit_site'=>'0','width'=>'88','height'=>'31','display_links_logo'=>'1','allow_no_logo'=>'0','split_links'=>'1','sort_method'=>'link_time','sort_order'=>'DESC','pagination'=>'10','use_simple_navigation'=>'1','cat_col'=>'2','settings_newdays'=>'1','use_comments'=>'0','internal_comments'=>'1','formatting_comment_wordwrap'=>'1','formatting_comment_image_resize'=>'300','formatting_comment_truncate_links'=>'1','max_comment_subject_chars'=>'50','max_comment_chars'=>'5000','allow_comment_wysiwyg'=>'1','allow_comment_html'=>'1','allow_comment_bbcode'=>'1','allow_comment_smilies'=>'1','allow_comment_links'=>'1','allow_comment_images'=>'1','no_comment_image_message'=>'[No image please]','no_comment_link_message'=>'[No links please]','allowed_comment_html_tags'=>'b,i,u,a','del_topic'=>'1','autogenerate_comments'=>'1','comments_pagination'=>'5','comments_forum_id'=>'0','use_ratings'=>'0','votes_check_userid'=>'1','votes_check_ip'=>'1','show_pretext'=>'0','pt_header'=>'Link Submission Instructions','pt_body'=>'Please check your references and include as much information as you can.','notify'=>'0','notify_group'=>'0'),'ranks'=>array('0'=>array('rank_id'=>'1','rank_title'=>'Site Admin','rank_min'=>'-1','rank_special'=>'1','rank_image'=>''))); ! $this->vars_ts=array('config'=>1204312800,'ranks'=>1203276522) ?> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2008-03-10 09:43:21
|
Update of /cvsroot/mxbb/mx_news/mx_news/cache In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18104 Removed Files: data_global.php Log Message: removed --- data_global.php DELETED --- |
|
From: Jon O. <jon...@us...> - 2008-03-10 09:34:50
|
Update of /cvsroot/mxbb/mx_profilecp/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16576 Modified Files: _core.cfg Log Message: Index: _core.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/templates/_core/_core.cfg,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** _core.cfg 9 Sep 2007 20:34:34 -0000 1.1 --- _core.cfg 10 Mar 2008 09:28:28 -0000 1.2 *************** *** 1,13 **** <?php ! // ! // ** Configuration file for subSilver template ** ! // ! // ** copyright (C) 2001 The phpBB Group ** ! // ** Created by subBlue design ** ! // ** www.subBlue.com ** ! // ! // ** subSilver dev. forum: www.subSky.com/phpBB2/ ** ! // ! // $Id$ // // Please note that to enable support of different languages --- 1,12 ---- <?php ! /** ! * ! * @package mxBB Portal Module ! * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team ! * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 ! * ! */ ! // // Please note that to enable support of different languages |
|
From: Jon O. <jon...@us...> - 2008-03-10 09:05:33
|
Update of /cvsroot/mxbb/core/modules/mx_coreblocks In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25434 Added Files: mx_virtual.php Log Message: Forgot to add the new files... --- NEW FILE: mx_virtual.php --- <?php /** * * @package MX-Publisher Module - mx_coreblocks * @version $Id: mx_virtual.php,v 1.1 2008/03/10 09:05:24 jonohlsson Exp $ * @copyright (c) 2002-2008 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com * */ if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); } // // Read Block Settings // $title = $mx_block->block_info['block_title']; $message = $mx_block->get_parameters( 'Text' ); $block_size = ( !empty( $block_size ) ? $block_size : '100%' ); // // Read block Configuration // $virtualMode = $mx_block->get_parameters( 'Virtual_mode' ); $template->set_filenames( array( "body" => "mx_virtual.tpl" ) ); // // VirtualCP - DO // if (($mx_block->auth_edit || $mx_block->auth_mod)) { if ($mx_request_vars->is_get('virtual_action')) { switch ($virtualMode) { case 'user': $create_id = $userdata['user_id']; $opt_data = ''; $current_id = $mx_request_vars->post('id', MX_TYPE_INT); break; case 'group': $create_id = $mx_request_vars->post('group_id', MX_TYPE_INT); $opt_data = ''; $current_id = $mx_request_vars->post('id', MX_TYPE_INT); break; case 'project': $create_id = -1; $opt_data = $mx_request_vars->post('project_name', MX_TYPE_NO_TAGS | MX_TYPE_SQL_QUOTED);; $current_id = $mx_request_vars->get('id', MX_TYPE_INT); break; } if ($mx_request_vars->is_post('create')) { // // Insert the parameters // $mx_block->virtual_create($create_id, $opt_data); } else if ($mx_request_vars->is_post('rename')) { // // Update the parameters // $mx_block->virtual_update($current_id, $opt_data); } else if ($mx_request_vars->is_get('delete')) { // // Delete the parameters // $mx_block->virtual_delete($current_id); } } } // // Navigation // if (($mx_block->auth_view || $mx_block->auth_mod)) { switch ($virtualMode) { case 'user': $sql = "SELECT sys.sub_id, usr.username as name FROM " . BLOCK_SYSTEM_PARAMETER_TABLE . " sys, " . USERS_TABLE . " usr WHERE sys.block_id = '" . $mx_block->block_id . "' AND sys.sub_id <> 0 AND sys.sub_id = usr.user_id"; $sql .= " ORDER BY usr.username"; break; case 'group': switch (PORTAL_BACKEND) { case 'internal': case 'phpbb2': $sql = "SELECT sys.sub_id, grp.group_name as name FROM " . BLOCK_SYSTEM_PARAMETER_TABLE . " sys, " . GROUPS_TABLE . " grp WHERE sys.block_id = '" . $mx_block->block_id . "' AND sys.sub_id <> 0 AND sys.sub_id = grp.group_id AND grp.group_single_user <> " . TRUE; $sql .= " ORDER BY grp.group_name"; break; case 'phpbb3': $sql = "SELECT sys.sub_id, grp.group_name as name FROM " . BLOCK_SYSTEM_PARAMETER_TABLE . " sys, " . GROUPS_TABLE . " grp WHERE sys.block_id = '" . $mx_block->block_id . "' AND sys.sub_id <> 0 AND sys.sub_id = grp.group_id AND grp.group_name NOT IN ('BOTS', 'GUESTS')"; $sql .= " ORDER BY grp.group_name"; break; } break; case 'project': $sql = "SELECT sub_id,parameter_opt as name FROM " . BLOCK_SYSTEM_PARAMETER_TABLE . " WHERE block_id = '" . $mx_block->block_id . "' AND sub_id <> 0"; $sql .= " ORDER BY parameter_opt"; break; } if( !($result = $db->sql_query($sql)) ) { mx_message_die(GENERAL_ERROR, "Couldn't delete block data information", "", __LINE__, __FILE__, $sql); } $group_ids = ''; $virtual_navigation = false; $virtual_select = '<select name="virtual" onchange="if(this.options[this.selectedIndex].value != -1){ forms[\'virtual_jumpbox\'].submit() }">'; $virtual_select .= '<option value="-1" >' . $lang['Virtual_Select'] . '</option>'; while ( $row = $db->sql_fetchrow($result) ) { // // Either Drop down list... // $group_ids .= !empty($group_ids) ? ',' . $row['sub_id'] : $row['sub_id']; $virtual_navigation = true; $selected = ( $row['sub_id'] == $mx_request_vars->get('virtual') ) ? ' selected="selected"' : ''; if (!empty($selected)) { $globname = $row['name']; } $virtual_select .= '<option value="' . $row['sub_id'] . '"' . $selected . '>' . $row['name'] . '</option>'; // // ...or standard output // $use_icons = true; $menuData['menu_icon'] = 'icon_dot.gif'; // // Get menu icon // if ($use_icons) { $icon_tmp = ( file_exists($mx_root_path . $images['mx_graphics']['menu_icons'] . '/' . $menuData['menu_icon']) ? $menuData['menu_icon'] : 'icon_blank.gif' ); $icon_url_hot = str_replace('.gif', '_hot.gif', $icon_tmp); if ( file_exists($mx_root_path . $images['mx_graphics']['menu_icons'] . '/' . $icon_url_hot) ) { $icon_url = ( !empty($selected) ) ? $icon_url_hot : $icon_tmp; $icon_style = ( !empty($selected) ) ? 'mx_icon_hot' : 'mx_icon'; } else { $icon_url = $icon_tmp; $icon_style = ''; } $icon_url = PORTAL_URL . $images['mx_graphics']['menu_icons'] . '/' . $icon_url; $menu_icon = ( !empty($menuData['menu_icon']) && $menuData['menu_icon'] != 'none' ) ? '<img class="'.$icon_style.'" border="0" align="absmiddle" src="' . $icon_url . '" alt="' . $desc . '" /> ' : ''; } $template->assign_block_vars('virtual_items', array( 'NAME' => $row['name'], 'ICON' => $menu_icon, 'U_MENU_URL' => mx_append_sid( mx_this_url( 'page='.$page_id.'&virtual='.$row['sub_id'])), 'STYLE' => !empty($selected) ? 'cattitle' : 'genmed' )); } $virtual_select .= '</select>'; $db->sql_freeresult($result); $template->assign_vars(array( 'VIRTUAL_NAVIGATION' => $virtual_navigation, 'VIRTUAL_SELECT' => $virtual_select, 'L_VIRTUAL_SELECT' => $lang['Virtual_Go'], 'S_ACTION_NAVIGATE' => mx_append_sid( mx_this_url( 'page='.$page_id ) ), 'VIRTUAL_PAGE_ID' => $page_id, )); } // // Mode // if (($mx_block->auth_edit || $mx_block->auth_mod)) { // // We are visiting a virtual page // if ($mx_request_vars->is_get('virtual')) { // // My Page? // switch ($virtualMode) { case 'user': $is_created = $mx_block->virtual_init($userdata['user_id']); $my_page = $mx_request_vars->get('virtual', MX_TYPE_INT) == $userdata['user_id'] || $mx_block->auth_mod; $l_name = $userdata['username']; $mx_page->page_title .= ' - ' . $globname; break; case 'group': $is_created = $mx_block->virtual_init($mx_request_vars->get('virtual', MX_TYPE_INT)); $my_page = mx_is_group_member($mx_request_vars->get('virtual', MX_TYPE_INT)) || $mx_block->auth_mod; $l_name = $userdata['username']; $mx_page->page_title .= ' - ' . $globname; break; case 'project': $is_created = $mx_block->virtual_init($mx_request_vars->get('virtual', MX_TYPE_INT)); $my_page = $mx_block->auth_mod; $l_name = $userdata['username']; $mx_page->page_title .= ' - ' . $globname; break; } } else // // Main page // { $create_new = true; // // Create Langs // switch ($virtualMode) { case 'user': $l_create = $lang['Virtual_Create_new_user']; break; case 'group': $l_create = $lang['Virtual_Create_new_group']; break; case 'project': $l_create = $lang['Virtual_Create_new_project']; break; } // // Create New? // switch ($virtualMode) { case 'user': break; case 'group': $not_in_groups = !empty($group_ids) ? ' AND group_id NOT IN ('.$group_ids.')' : ''; switch (PORTAL_BACKEND) { case 'internal': case 'phpbb2': $sql = "SELECT group_id, group_name FROM " . GROUPS_TABLE . " WHERE group_single_user <> " . TRUE . $not_in_groups; $sql .= " ORDER BY group_id"; break; case 'phpbb3': $sql = "SELECT group_id, group_name FROM " . GROUPS_TABLE . " WHERE group_name NOT IN ('BOTS', 'GUESTS')".$not_in_groups; $sql .= " ORDER BY group_id"; break; } if( !($result = $db->sql_query($sql)) ) { message_die(GENERAL_ERROR, "Couldn't get list of groups", '', __LINE__, __FILE__, $sql); } if( $total_groups = $db->sql_numrows($result) ) { $group_select = '<select name="group_id">'; while ( $row = $db->sql_fetchrow($result) ) { $group_select .= '<option value="' . $row['group_id'] . '">' . $row['group_name'] . '</option>'; } $group_select .= '</select>'; } else { $create_new = false; } $db->sql_freeresult($result); break; case 'project': break; } } $template->assign_vars(array( 'MY_PAGE' => $is_created && $my_page, 'CREATE_NEW' => $create_new, 'VIRTUAL_USER' => $virtualMode == 'user', 'VIRTUAL_GROUP' => $virtualMode == 'group', 'VIRTUAL_PROJECT' => $virtualMode == 'project', 'L_VIRTUAL_CREATE_INFO' => $lang['Virtual_Create_new'] . $l_create, 'L_VIRTUAL_CREATE' => $lang['Virtual_Create'], 'L_VIRTUAL_EDIT' => $lang['Virtual_Edit'], 'L_VIRTUAL_DELETE' => $lang['Virtual_Delete'], 'L_VIRTUAL_INFO' => $lang['Virtual_Info'], 'L_VIRTUAL_WELCOME' => $lang['Virtual_Welcome'], 'L_VIRTUAL_CP' => $lang['Virtual_CP'], 'VIRTUAL_NAME' => $l_name, 'VIRTUAL_ID' => $mx_request_vars->get('virtual', MX_TYPE_INT), 'GROUP_SELECT' => $group_select, 'S_ACTION_GROUP' => mx_append_sid( mx_this_url( 'page='.$page_id ) ), 'S_ACTION_MANAGE' => mx_append_sid( mx_this_url( 'virtual_action=manage' ) ), 'U_DELETE' => mx_append_sid( mx_this_url( 'virtual_action=manage&delete=do&id='.$mx_request_vars->get('virtual', MX_TYPE_INT) ) ), 'VIRTUAL_PAGE_ID' => $page_id, )); } $template->pparse( "body" ); ?> |
|
From: Jon O. <jon...@us...> - 2008-03-10 09:05:31
|
Update of /cvsroot/mxbb/core/modules/mx_coreblocks/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25434/templates/_core Added Files: mx_virtual.tpl Log Message: Forgot to add the new files... --- NEW FILE: mx_virtual.tpl --- <script language='javascript'> <!-- function delete_item(theURL) { if (confirm('Are you sure you want to delete this item??')) { window.location.href=theURL; } else { alert ('No Action has been taken.'); } } --> </script> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" style="border-top:none;"> <!-- Main Navigation ------------------------------------------------------------- --> <!-- IF VIRTUAL_NAVIGATION --> <!-- Drop Down style <tr> <td class="row1" align="center" valign="middle" height="28"> <form method="get" name="virtual_jumpbox" action="{S_ACTION_NAVIGATE}" onSubmit="if(document.virtual_jumpbox.virtual.value == -1){return false;}"> {VIRTUAL_SELECT} <input type="hidden" name="page" value="{VIRTUAL_PAGE_ID}" /> <input type="submit" class="mainoption" name="go_virtual" value="»" /> </form> </td> </tr> --> <tr> <td class="row1"> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <!-- BEGIN virtual_items --> <tr> <td style="border:none;" class="row1" valign="middle" height="10" align="left" colspan="2" onmouseout="this.className='row1';" onmouseover="this.className='row2';">{virtual_items.ICON}<span class="{virtual_items.STYLE}"> <a href="{virtual_items.U_MENU_URL}" class="genmed" title="{virtual_items.NAME}">{virtual_items.NAME}</a></span></td> </tr> <!-- END virtual_items --> </table> </td> </tr> <!-- ENDIF --> <!-- My Page --------------------------------------------------------------------- --> <!-- IF MY_PAGE --> <tr> <td class="cat"> <span class="nav"><b>{L_VIRTUAL_CP}</b></span> </td> </tr> <tr> <td class="row1"> <span class="genmed">{L_VIRTUAL_WELCOME} {VIRTUAL_NAME}. {L_VIRTUAL_INFO}</span> </td> </tr> <!-- IF VIRTUAL_PROJECT --> <form method="post" action="{S_ACTION_MANAGE}"> <tr> <td class="row1" align="center" valign="middle" height="28"> <input type="text" class="post" name="project_name" size="20" /> <p> <input type="hidden" name="rename" value="do" /> <input type="hidden" name="id" value="{VIRTUAL_ID}" /> <input type="submit" class="mainoption" name="submit" value="{L_VIRTUAL_EDIT}" /> </td> </tr> </form> <!-- ENDIF --> <tr> <td class="row1" align="center" valign="middle" height="28"> <span class="genmed"><a class="genmed" href="javascript:delete_item('{U_DELETE}')">{L_VIRTUAL_DELETE}</a></span> </td> </tr> <!-- ENDIF --> <!-- Create New --------------------------------------------------------------------- --> <!-- IF CREATE_NEW --> <tr> <td class="cat" align="left" valign="middle" ><span class="nav"><b>{L_VIRTUAL_CREATE_INFO}</b></span></td> </tr> <form method="post" action="{S_ACTION_MANAGE}"> <!-- IF VIRTUAL_GROUP --> <tr> <td class="row1" align="center" valign="middle" height="28"> {GROUP_SELECT} <input type="hidden" name="page" value="{VIRTUAL_PAGE_ID}" /> </td> </tr> <!-- ENDIF --> <!-- IF VIRTUAL_PROJECT --> <tr> <td class="row1" align="center" valign="middle" height="28"> <input type="text" class="post" name="project_name" size="20" /> </td> </tr> <!-- ENDIF --> <tr> <td class="row1" align="center" valign="middle" height="28"> <input type="hidden" name="create" value="do" /> <input type="submit" class="mainoption" name="submit" value="{L_VIRTUAL_CREATE}" /> </td> </tr> </form> <!-- ENDIF --> </table> |
|
From: OryNider <ory...@us...> - 2008-03-10 06:02:40
|
Update of /cvsroot/mxbb/mx_mod_core/root/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24277/root/templates/subSilver/admin Added Files: admin_mx_config.tpl Log Message: 1st time added --- NEW FILE: admin_mx_config.tpl --- <h1>{L_CONFIGURATION_TITLE}</h1> <p>{L_CONFIGURATION_EXPLAIN}</p> <form action="{S_CONFIG_ACTION}" method="post"> <table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_GENERAL_SETTINGS}</th> </tr> <tr> <td class="row1" width="50%">{L_PORTAL_NAME}</td> <td class="row2" width="50%"><input type="text" maxlength="150" size="50" name="portal_name" value="{PORTAL_NAME}" /></td> </tr> <tr> <td class="row1">{L_PORTAL_STATUS}<br /><span class="gensmall">{L_PORTAL_STATUS_EXPLAIN}</span></td> <td class="row2"><input type="radio" name="portal_status" value="1" {S_PORTAL_STATUS_YES} /> {L_YES} <input type="radio" name="portal_status" value="0" {S_PORTAL_STATUS_NO} /> {L_NO}</td> </tr> <tr> <td class="row1" width="50%">{L_DISABLED_MESSAGE}</td> <td class="row2" width="50%"><textarea rows="5" cols="50" wrap="virtual" name="disabled_message" class="post" />{DISABLED_MESSAGE}</textarea></td> </tr> <tr> <td class="row1">{L_PORTAL_URL}</td> <td class="row2"><input type="text" maxlength="150" size="50" name="portal_url" value="{PORTAL_URL}" /></td> </tr> <tr> <td class="row1">{L_PORTAL_PHPBB_URL}</td> <td class="row2"><input type="text" maxlength="150" size="50" name="portal_phpbb_url" value="{PORTAL_PHPBB_URL}" /></td> </tr> <tr> <td class="row1">{L_MX_USE_CACHE}<br /><span class="gensmall">{L_MX_USE_CACHE_EXPLAIN}</span></td> <td class="row2"><input type="radio" name="mx_use_cache" value="1" {S_MX_USE_CACHE_YES} /> {L_YES} <input type="radio" name="mx_use_cache" value="0" {S_MX_USE_CACHE_NO} /> {L_NO}</td> </tr> <tr> <td class="row1">{L_MX_MOD_REWRITE}<br /><span class="gensmall">{L_MX_MOD_REWRITE_EXPLAIN}</span></td> <td class="row2"><input type="radio" name="mod_rewrite" value="1" {S_MX_MOD_REWRITE_YES} /> {L_YES} <input type="radio" name="mod_rewrite" value="0" {S_MX_MOD_REWRITE_NO} /> {L_NO}</td> </tr> <tr> <th class="thHead" colspan="2">{L_STYLE_SETTINGS}</th> </tr> <tr> <td class="row1">{L_DEFAULT_ADMIN_STYLE}</td> <td class="row2">{ADMIN_STYLE_SELECT}</td> </tr> <tr> <td class="row1">{L_DEFAULT_STYLE}</td> <td class="row2">{STYLE_SELECT}</td> </tr> <tr> <td class="row1">{L_OVERRIDE_STYLE}<br /><span class="gensmall">{L_OVERRIDE_STYLE_EXPLAIN}</span></td> <td class="row2"><input type="radio" name="mx_override_user_style" value="1" {OVERRIDE_STYLE_YES} /> {L_YES} <input type="radio" name="mx_override_user_style" value="0" {OVERRIDE_STYLE_NO} /> {L_NO}</td> </tr> <tr> <td class="row1">{L_OVERALL_HEADER}</td> <td class="row2"><input type="text" maxlength="150" size="50" name="overall_header" value="{OVERALL_HEADER}" /></td> </tr> <tr> <td class="row1">{L_OVERALL_FOOTER}</td> <td class="row2"><input type="text" maxlength="150" size="50" name="overall_footer" value="{OVERALL_FOOTER}" /></td> </tr> <tr> <td class="row1">{L_MAIN_LAYOUT}</td> <td class="row2"><input type="text" maxlength="150" size="50" name="main_layout" value="{MAIN_LAYOUT}" /></td> </tr> <tr> <td class="row1">{L_NAVIGATION_BLOCK}</td> <td class="row2">{NAVIGATION_BLOCK}</td> </tr> <tr> <td class="row1">{L_TOP_PHPBB_LINKS}</td> <td class="row2"><input type="radio" name="top_phpbb_links" value="1" {S_TOP_PHPBB_LINKS_YES} /> {L_YES} <input type="radio" name="top_phpbb_links" value="0" {S_TOP_PHPBB_LINKS_NO} /> {L_NO}</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" /> </tr> <tr> <th class="thHead" colspan="2">{L_GENERAL_CONFIG_INFO}</th> </tr> <tr> <td class="row1">{L_PHPBB_RELATIVE_PATH}</td> <td class="row2">{PHPBB_RELATIVE_PATH}</td> </tr> <tr> <td class="row1">{L_PORTAL_VERSION}</td> <td class="row2">{PORTAL_VERSION}</td> </tr> <tr> <th class="thHead" colspan="2">{L_PHPBB_INFO}</th> </tr> <tr> <td class="row1">{L_PHPBB_VERSION}</td> <td class="row2">{PHPBB_VERSION}</td> </tr> <tr> <td class="row1">{L_PHPBB_SERVER_NAME}</td> <td class="row2">{PHPBB_SERVER_NAME}</td> </tr> <tr> <td class="row1">{L_PHPBB_SCRIPT_PATH}</td> <td class="row2">{PHPBB_SCRIPT_PATH}</td> </tr> </table> </form> <br clear="all" /> |
|
From: OryNider <ory...@us...> - 2008-03-10 06:02:40
|
Update of /cvsroot/mxbb/mx_mod_core/root/mx_mod/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24277/root/mx_mod/language/lang_english Added Files: lang_admin.php lang_meta.php Log Message: 1st time added --- NEW FILE: lang_meta.php --- <?php /** * * @package MX-Publisher Core * @version $Id: lang_meta.php,v 1.1 2008/03/10 06:02:32 orynider Exp $ * @copyright (c) 2002-2008 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com * */ // // This file contains lang entries related to META tags. // // // First level of all language codes are based on the ISO-639 standard // as pointed by the RFC3066 'Tags for the Identification of Languages', // which is referenced by the HTML 4.01 Specification. // // More information can be found here: // http://www.w3.org/TR/html401/struct/dirlang.html#h-8.1.1 // ftp://ftp.rfc-editor.org/in-notes/rfc3066.txt // http://www.loc.gov/standards/iso639-2/langhome.html // // Note: There might be some mistakes in second level codes. // Apologies in advance for any mistake here. Feel free to contact // us if you believe anything must be changed here. Thanks // $lang['mx_meta']['langcode']['ab'] = 'Abkhazian'; $lang['mx_meta']['langcode']['aa'] = 'Afar'; $lang['mx_meta']['langcode']['af'] = 'Afrikaans'; $lang['mx_meta']['langcode']['ak'] = 'Akan'; $lang['mx_meta']['langcode']['sq'] = 'Albanian'; $lang['mx_meta']['langcode']['am'] = 'Amharic'; $lang['mx_meta']['langcode']['ar'] = 'Arabic'; $lang['mx_meta']['langcode']['ar-ae'] = 'Arabic (Arab Emirates)'; $lang['mx_meta']['langcode']['ar-bh'] = 'Arabic (Bahrein)'; $lang['mx_meta']['langcode']['ar-eg'] = 'Arabic (Egypt)'; $lang['mx_meta']['langcode']['ar-iq'] = 'Arabic (Iraq)'; $lang['mx_meta']['langcode']['ar-jo'] = 'Arabic (Jordania)'; $lang['mx_meta']['langcode']['ar-kw'] = 'Arabic (Kuwait)'; $lang['mx_meta']['langcode']['ar-lb'] = 'Arabic (Libanon)'; $lang['mx_meta']['langcode']['ar-ly'] = 'Arabic (Lybia)'; $lang['mx_meta']['langcode']['ar-ma'] = 'Arabic (Morocco)'; $lang['mx_meta']['langcode']['ar-om'] = 'Arabic (Oman)'; $lang['mx_meta']['langcode']['ar-qa'] = 'Arabic (Qtar)'; $lang['mx_meta']['langcode']['ar-sa'] = 'Arabic (Saudi Arabia)'; $lang['mx_meta']['langcode']['ar-sy'] = 'Arabic (Syria)'; $lang['mx_meta']['langcode']['ar-tn'] = 'Arabic (Tunisia)'; $lang['mx_meta']['langcode']['ar-ye'] = 'Arabic (Yemen)'; $lang['mx_meta']['langcode']['an'] = 'Aragonese'; $lang['mx_meta']['langcode']['hy'] = 'Armenian'; $lang['mx_meta']['langcode']['as'] = 'Assamese'; $lang['mx_meta']['langcode']['av'] = 'Avaric'; $lang['mx_meta']['langcode']['ae'] = 'Avestan'; $lang['mx_meta']['langcode']['ay'] = 'Aymara'; $lang['mx_meta']['langcode']['az'] = 'Azerbaijani'; $lang['mx_meta']['langcode']['bm'] = 'Bambara'; $lang['mx_meta']['langcode']['ba'] = 'Bashkir'; $lang['mx_meta']['langcode']['eu'] = 'Basque'; $lang['mx_meta']['langcode']['be'] = 'Belarusian'; $lang['mx_meta']['langcode']['bn'] = 'Bengali'; $lang['mx_meta']['langcode']['bh'] = 'Bihari'; $lang['mx_meta']['langcode']['bi'] = 'Bislama'; $lang['mx_meta']['langcode']['bs'] = 'Bosnian'; $lang['mx_meta']['langcode']['br'] = 'Breton'; $lang['mx_meta']['langcode']['bg'] = 'Bulgarian'; $lang['mx_meta']['langcode']['my'] = 'Burmese'; $lang['mx_meta']['langcode']['ca'] = 'Catalan'; $lang['mx_meta']['langcode']['ch'] = 'Chamorro'; $lang['mx_meta']['langcode']['ce'] = 'Chechen'; $lang['mx_meta']['langcode']['zh'] = 'Chinese'; $lang['mx_meta']['langcode']['zh-hk'] = 'Chinese (Hong-Kong)'; $lang['mx_meta']['langcode']['zh-cn'] = 'Chinese (PRC)'; $lang['mx_meta']['langcode']['zh-sg'] = 'Chinese (Singapour)'; $lang['mx_meta']['langcode']['zh-tw'] = 'Chinese (Taiwan)'; $lang['mx_meta']['langcode']['cu'] = 'Church Slavonic'; $lang['mx_meta']['langcode']['cv'] = 'Chuvash'; $lang['mx_meta']['langcode']['kw'] = 'Cornish'; $lang['mx_meta']['langcode']['co'] = 'Corsican'; $lang['mx_meta']['langcode']['cr'] = 'Cree'; $lang['mx_meta']['langcode']['hr'] = 'Croatian'; $lang['mx_meta']['langcode']['cs'] = 'Czech'; $lang['mx_meta']['langcode']['da'] = 'Danish'; $lang['mx_meta']['langcode']['dv'] = 'Divehi'; $lang['mx_meta']['langcode']['nl'] = 'Dutch'; $lang['mx_meta']['langcode']['nl-be'] = 'Dutch (Belgian)'; $lang['mx_meta']['langcode']['dz'] = 'Dzongkha'; $lang['mx_meta']['langcode']['en'] = 'English'; $lang['mx_meta']['langcode']['en-au'] = 'English (Australia)'; $lang['mx_meta']['langcode']['en-bz'] = 'English (Belize)'; $lang['mx_meta']['langcode']['en-ca'] = 'English (Canada)'; $lang['mx_meta']['langcode']['en-ie'] = 'English (Ireland)'; $lang['mx_meta']['langcode']['en-jm'] = 'English (Jamaican)'; $lang['mx_meta']['langcode']['en-gb'] = 'English (Great Britain)'; $lang['mx_meta']['langcode']['en-nz'] = 'English (New Zeland)'; $lang['mx_meta']['langcode']['en-za'] = 'English (South Africa)'; $lang['mx_meta']['langcode']['eo'] = 'Esperanto'; $lang['mx_meta']['langcode']['et'] = 'Estonian'; $lang['mx_meta']['langcode']['ee'] = 'Ewe'; $lang['mx_meta']['langcode']['fo'] = 'Faroese'; $lang['mx_meta']['langcode']['fj'] = 'Fijian'; $lang['mx_meta']['langcode']['fi'] = 'Finnish'; $lang['mx_meta']['langcode']['fr'] = 'French'; $lang['mx_meta']['langcode']['fr-be'] = 'French (Belgian)'; $lang['mx_meta']['langcode']['fr-ca'] = 'French (Canada)'; $lang['mx_meta']['langcode']['fr-lu'] = 'French (Luxembourg)'; $lang['mx_meta']['langcode']['fr-ch'] = 'French (Switzerland)'; $lang['mx_meta']['langcode']['fy'] = 'Frisian'; $lang['mx_meta']['langcode']['ff'] = 'Fulah'; $lang['mx_meta']['langcode']['gl'] = 'Gallegan'; $lang['mx_meta']['langcode']['lg'] = 'Ganda'; $lang['mx_meta']['langcode']['ka'] = 'Georgian'; $lang['mx_meta']['langcode']['de'] = 'German'; $lang['mx_meta']['langcode']['de-li'] = 'German (Liechtenstein)'; $lang['mx_meta']['langcode']['de-lu'] = 'German (Luxembourg)'; $lang['mx_meta']['langcode']['de-ch'] = 'German (Switzerland)'; $lang['mx_meta']['langcode']['gn'] = 'Guarani'; $lang['mx_meta']['langcode']['gu'] = 'Gujarati'; $lang['mx_meta']['langcode']['ht'] = 'Haitian'; $lang['mx_meta']['langcode']['ha'] = 'Hausa'; $lang['mx_meta']['langcode']['he'] = 'Hebrew'; $lang['mx_meta']['langcode']['hz'] = 'Herero'; $lang['mx_meta']['langcode']['hi'] = 'Hindi'; $lang['mx_meta']['langcode']['ho'] = 'Hiri Motu'; $lang['mx_meta']['langcode']['hu'] = 'Hungarian'; $lang['mx_meta']['langcode']['is'] = 'Icelandic'; $lang['mx_meta']['langcode']['io'] = 'Ido'; $lang['mx_meta']['langcode']['ig'] = 'Igbo'; $lang['mx_meta']['langcode']['id'] = 'Indonesian'; $lang['mx_meta']['langcode']['ie'] = 'Interlingue'; $lang['mx_meta']['langcode']['iu'] = 'Inuktitut'; $lang['mx_meta']['langcode']['ik'] = 'Inupiaq'; $lang['mx_meta']['langcode']['ga'] = 'Irish'; $lang['mx_meta']['langcode']['it'] = 'Italian'; $lang['mx_meta']['langcode']['it-ch'] = 'Italian (Switzerland)'; $lang['mx_meta']['langcode']['ja'] = 'Japanese'; $lang['mx_meta']['langcode']['jv'] = 'Javanese'; $lang['mx_meta']['langcode']['kl'] = 'Kalaallisut'; $lang['mx_meta']['langcode']['kn'] = 'Kannada'; $lang['mx_meta']['langcode']['kr'] = 'Kanuri'; $lang['mx_meta']['langcode']['ks'] = 'Kashmiri'; $lang['mx_meta']['langcode']['kk'] = 'Kazakh'; $lang['mx_meta']['langcode']['km'] = 'Khmer'; $lang['mx_meta']['langcode']['ki'] = 'Kikuyu'; $lang['mx_meta']['langcode']['rw'] = 'Kinyarwanda'; $lang['mx_meta']['langcode']['ky'] = 'Kirghiz'; $lang['mx_meta']['langcode']['kv'] = 'Komi'; $lang['mx_meta']['langcode']['kg'] = 'Kongo'; $lang['mx_meta']['langcode']['ko'] = 'Korean'; $lang['mx_meta']['langcode']['ku'] = 'Kurdish'; $lang['mx_meta']['langcode']['kj'] = 'Kwanyama'; $lang['mx_meta']['langcode']['lo'] = 'Lao'; $lang['mx_meta']['langcode']['la'] = 'Latin'; $lang['mx_meta']['langcode']['lv'] = 'Latvian'; $lang['mx_meta']['langcode']['li'] = 'Limburgish'; $lang['mx_meta']['langcode']['ln'] = 'Lingala'; $lang['mx_meta']['langcode']['lt'] = 'Lithuanian'; $lang['mx_meta']['langcode']['lu'] = 'Luba-Katanga'; $lang['mx_meta']['langcode']['lb'] = 'Luxembourgish'; $lang['mx_meta']['langcode']['mk'] = 'Macedonian'; $lang['mx_meta']['langcode']['mg'] = 'Malagasy'; $lang['mx_meta']['langcode']['ms'] = 'Malay'; $lang['mx_meta']['langcode']['ml'] = 'Malayalam'; $lang['mx_meta']['langcode']['mt'] = 'Maltese'; $lang['mx_meta']['langcode']['gv'] = 'Manx'; $lang['mx_meta']['langcode']['mi'] = 'Maori'; $lang['mx_meta']['langcode']['mr'] = 'Marathi'; $lang['mx_meta']['langcode']['mh'] = 'Marshallese'; $lang['mx_meta']['langcode']['el'] = 'Modern Greek'; $lang['mx_meta']['langcode']['mo'] = 'Moldavian'; $lang['mx_meta']['langcode']['mn'] = 'Mongolian'; $lang['mx_meta']['langcode']['na'] = 'Nauru'; $lang['mx_meta']['langcode']['nv'] = 'Navajo'; $lang['mx_meta']['langcode']['nd'] = 'Ndebele, North'; $lang['mx_meta']['langcode']['ng'] = 'Ndonga'; $lang['mx_meta']['langcode']['ne'] = 'Nepali'; $lang['mx_meta']['langcode']['nb'] = 'Norwegian'; $lang['mx_meta']['langcode']['nn'] = 'Norwegian Nynorsk'; $lang['mx_meta']['langcode']['ny'] = 'Nyanja'; $lang['mx_meta']['langcode']['oc'] = 'Occitan'; $lang['mx_meta']['langcode']['oj'] = 'Ojibwa'; $lang['mx_meta']['langcode']['or'] = 'Oriya'; $lang['mx_meta']['langcode']['om'] = 'Oromo'; $lang['mx_meta']['langcode']['os'] = 'Ossetian'; $lang['mx_meta']['langcode']['pi'] = 'Pali'; $lang['mx_meta']['langcode']['pa'] = 'Panjabi'; $lang['mx_meta']['langcode']['fa'] = 'Persian'; $lang['mx_meta']['langcode']['pl'] = 'Polish'; $lang['mx_meta']['langcode']['pt'] = 'Portuguese'; $lang['mx_meta']['langcode']['pt-br'] = 'Portuguese (Brazil)'; $lang['mx_meta']['langcode']['ps'] = 'Pushto'; $lang['mx_meta']['langcode']['qu'] = 'Quechua'; $lang['mx_meta']['langcode']['rm'] = 'Raeto-Romance'; $lang['mx_meta']['langcode']['ro'] = 'Romanian'; $lang['mx_meta']['langcode']['ro-mo'] = 'Romanian (Moldavia)'; $lang['mx_meta']['langcode']['rn'] = 'Rundi'; $lang['mx_meta']['langcode']['ru'] = 'Russian'; $lang['mx_meta']['langcode']['ru-mo'] = 'Russian (Moldavia)'; $lang['mx_meta']['langcode']['sm'] = 'Samoan'; $lang['mx_meta']['langcode']['sg'] = 'Sango'; $lang['mx_meta']['langcode']['sa'] = 'Sanskrit'; $lang['mx_meta']['langcode']['sc'] = 'Sardinian'; $lang['mx_meta']['langcode']['gd'] = 'Scottish Gaelic'; $lang['mx_meta']['langcode']['sr'] = 'Serbian'; $lang['mx_meta']['langcode']['sn'] = 'Shona'; $lang['mx_meta']['langcode']['ii'] = 'Sichuan Yi'; $lang['mx_meta']['langcode']['sd'] = 'Sindhi'; $lang['mx_meta']['langcode']['si'] = 'Sinhalese'; $lang['mx_meta']['langcode']['sk'] = 'Slovak'; $lang['mx_meta']['langcode']['sl'] = 'Slovenian'; $lang['mx_meta']['langcode']['so'] = 'Somali'; $lang['mx_meta']['langcode']['st'] = 'Sotho'; $lang['mx_meta']['langcode']['nr'] = 'South Ndebele'; $lang['mx_meta']['langcode']['es'] = 'Spanish'; $lang['mx_meta']['langcode']['es-ar'] = 'Spanish (Argentina)'; $lang['mx_meta']['langcode']['es-bo'] = 'Spanish (Bolivia)'; $lang['mx_meta']['langcode']['es-cl'] = 'Spanish (Chile)'; $lang['mx_meta']['langcode']['es-co'] = 'Spanish (Colombia)'; $lang['mx_meta']['langcode']['es-cr'] = 'Spanish (Costa Rica)'; $lang['mx_meta']['langcode']['es-sv'] = 'Spanish (El Salvador)'; $lang['mx_meta']['langcode']['es-ec'] = 'Spanish (Ecuador)'; $lang['mx_meta']['langcode']['es-gt'] = 'Spanish (Guatemala)'; $lang['mx_meta']['langcode']['es-hn'] = 'Spanish (Honduras)'; $lang['mx_meta']['langcode']['es-mx'] = 'Spanish (Mexico)'; $lang['mx_meta']['langcode']['es-ni'] = 'Spanish (Nicaragua)'; $lang['mx_meta']['langcode']['es-pa'] = 'Spanish (Panama)'; $lang['mx_meta']['langcode']['es-py'] = 'Spanish (Paraguay)'; $lang['mx_meta']['langcode']['es-pr'] = 'Spanish (Puerto Rico)'; $lang['mx_meta']['langcode']['es-pe'] = 'Spanish (Peru)'; $lang['mx_meta']['langcode']['es-tt'] = 'Spanish (Trinidad)'; $lang['mx_meta']['langcode']['es-uy'] = 'Spanish (Uruguay)'; $lang['mx_meta']['langcode']['es-ve'] = 'Spanish (Venezuela)'; $lang['mx_meta']['langcode']['su'] = 'Sundanese'; $lang['mx_meta']['langcode']['sw'] = 'Swahili'; $lang['mx_meta']['langcode']['ss'] = 'Swati'; $lang['mx_meta']['langcode']['sv'] = 'Swedish'; $lang['mx_meta']['langcode']['sv-fi'] = 'Swedish (Finland)'; $lang['mx_meta']['langcode']['tl'] = 'Tagalog'; $lang['mx_meta']['langcode']['ty'] = 'Tahitian'; $lang['mx_meta']['langcode']['tg'] = 'Tajik'; $lang['mx_meta']['langcode']['ta'] = 'Tamil'; $lang['mx_meta']['langcode']['tt'] = 'Tatar'; $lang['mx_meta']['langcode']['te'] = 'Telugu'; $lang['mx_meta']['langcode']['th'] = 'Thai'; $lang['mx_meta']['langcode']['bo'] = 'Tibetan'; $lang['mx_meta']['langcode']['ti'] = 'Tigrinya'; $lang['mx_meta']['langcode']['to'] = 'Tonga'; $lang['mx_meta']['langcode']['ts'] = 'Tsonga'; $lang['mx_meta']['langcode']['tn'] = 'Tswana'; $lang['mx_meta']['langcode']['tr'] = 'Turkish'; $lang['mx_meta']['langcode']['tk'] = 'Turkmen'; $lang['mx_meta']['langcode']['tw'] = 'Twi'; $lang['mx_meta']['langcode']['uk'] = 'Ukrainian'; $lang['mx_meta']['langcode']['ur'] = 'Urdu'; $lang['mx_meta']['langcode']['ug'] = 'Uyghur'; $lang['mx_meta']['langcode']['uz'] = 'Uzbek'; $lang['mx_meta']['langcode']['ve'] = 'Venda'; $lang['mx_meta']['langcode']['vi'] = 'Vietnamese'; $lang['mx_meta']['langcode']['vo'] = 'Volapük'; $lang['mx_meta']['langcode']['wa'] = 'Walloon'; $lang['mx_meta']['langcode']['cy'] = 'Welsh'; $lang['mx_meta']['langcode']['wo'] = 'Wolof'; $lang['mx_meta']['langcode']['xh'] = 'Xhosa'; $lang['mx_meta']['langcode']['yi'] = 'Yiddish'; $lang['mx_meta']['langcode']['yo'] = 'Yoruba'; $lang['mx_meta']['langcode']['za'] = 'Zhuang'; $lang['mx_meta']['langcode']['zu'] = 'Zulu'; // // Other related META tag entries follow... // $lang['mx_meta']['rating']['general'] = 'General'; $lang['mx_meta']['rating']['14 years'] = '14 years'; $lang['mx_meta']['rating']['restricted']= 'Restricted'; $lang['mx_meta']['rating']['mature'] = 'Mature'; $lang['mx_meta']['index']['index'] = 'Index'; $lang['mx_meta']['index']['noindex'] = 'No index'; $lang['mx_meta']['follow']['follow'] = 'Follow'; $lang['mx_meta']['follow']['nofollow'] = 'No follow'; // // That's all Folks! // ------------------------------------------------- ?> --- NEW FILE: lang_admin.php --- <?php /** * * @package MX-Publisher MOD * @version $Id: lang_admin.php,v 1.1 2008/03/10 06:02:32 orynider Exp $ * @copyright (c) 2002-2008 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com * */ // // Editor Settings: Please set Tabsize to 4 ;-) // // // The format of this file is: // // ---> $lang['message'] = 'text'; // // Specify your language character encoding... [optional] // // setlocale(LC_ALL, 'en'); $lang['mxBB_adminCP'] = 'MX-Publisher Administration'; // // Left AdminCP Panel // $lang['1_General_admin'] = 'General'; $lang['1_1_Management'] = 'Configuration'; $lang['1_2_WordCensors'] = 'Word Censors'; $lang['2_CP'] = 'Management'; $lang['2_1_Modules'] = 'Modules Setup<br /><hr>'; $lang['2_2_ModuleCP'] = 'Module Control Panel'; $lang['2_3_BlockCP'] = 'Block Control Panel'; $lang['2_4_PageCP'] = 'Page Control Panel'; $lang['3_CP'] = 'Styles'; $lang['2_1_new'] = 'Add new'; $lang['2_2_manage'] = 'Manage'; $lang['2_3_smilies'] = 'Smilies'; $lang['4_Panel_system'] = 'System Tools'; $lang['4_1_Cache'] = 'Regenerate Cache'; $lang['4_1_Integrity'] = 'Integrity Checker'; $lang['4_1_Meta'] = 'META Tags'; $lang['4_1_PHPinfo'] = 'phpInfo()'; // // Index // $lang['Welcome_mxBB'] = 'Welcome to MX-Publisher'; $lang['Admin_intro_mxBB'] = 'Thank you for choosing MX-Publisher as your portal/cms solution and phpBB as your forum solution. This screen will give you a quick overview of all the various statistics of your site. You can get back to this page by clicking on the <span style="text-decoration: underline;">Admin Index</span> link in the left panel. To return to the index of your board, click the logo that is also in the left panel. The other links on the left hand side of this screen will allow you to control every aspect of your portal and forum experience. Each screen will have instructions on how to use the provided tools.'; // // General // $lang['Yes'] = 'Yes'; $lang['No'] = 'No'; $lang['No_modules'] = 'No modules are installed.'; $lang['No_functions'] = 'This module has no block functions.'; $lang['No_parameters'] = 'This function has no parameters.'; $lang['No_blocks'] = 'No blocks for this function exist.'; $lang['No_pages'] = 'No pages exist here.'; $lang['No_settings'] = 'There are no further settings for this block.'; $lang['Quick_nav'] = 'Quick Navigation'; $lang['Include_all_modules'] = 'List all modules'; $lang['Include_block_quickedit'] = 'Include Block QuickEdit panel'; $lang['Include_block_private'] = 'Include Block Private Auth Panel'; $lang['Include_all_pages'] = 'List all pages'; $lang['View'] = 'View'; $lang['Edit'] = 'Edit'; $lang['Delete'] = 'Delete'; $lang['Settings'] = 'Settings'; $lang['Move_up'] = 'Move up'; $lang['Move_down'] = 'Move down'; $lang['Resync'] = 'Resync'; $lang['Update'] = 'Update'; $lang['Permissions'] = 'Permissions'; $lang['Permissions_std'] = 'Standard Permissions'; $lang['Permissions_adv'] = 'Advanced Permissions'; $lang['return_to_page'] = 'Back to Portal Page'; $lang['Use_default'] = 'Use default setting'; $lang['AdminCP_status'] = '<b>Progress report</b>'; $lang['AdminCP_action'] = '<b>Database Action</b>'; $lang['Invalid_action'] = 'Error'; $lang['was_installed'] = 'was installed.'; $lang['was_uninstalled'] = 'was uninstalled.'; $lang['was_upgraded'] = 'was upgraded'; $lang['was_exported'] = 'was exported'; $lang['was_deleted'] = 'was deleted'; $lang['was_removed'] = 'was removed'; $lang['was_inserted'] = 'was inserted'; $lang['was_updated'] = 'was updated'; $lang['was_added'] = 'was added'; $lang['was_moved'] = 'was moved'; $lang['was_synced'] = 'was synchronized'; $lang['error_no_field'] = 'There is a missing field. Please fill out all the required fields.'; // // Configuration // $lang['Portal_admin'] = 'Portal Administration'; $lang['Portal_admin_explain'] = 'Use this form to customize your portal'; $lang['Portal_General_Config'] = 'Portal Configuration'; $lang['Portal_General_Config_explain'] = 'Use this form to manage the main settings of your MX-Publisher site.'; $lang['Portal_General_settings'] = 'General Settings'; $lang['Portal_Style_settings'] = 'Style Settings'; $lang['Portal_General_config_info'] = 'General Portal Config Info '; $lang['Portal_General_config_info_explain'] = 'Current setup info from config.php (no editing needed)'; $lang['Portal_Name'] = 'Portal Name:'; $lang['Portal_PHPBB_Url'] = 'URL to your phpBB installation:'; $lang['Portal_Url'] = 'URL to MX-Publisher:'; $lang['Portal_Config_updated'] = 'Portal Configuration Updated Successfully'; $lang['Click_return_portal_config'] = 'Click %sHere%s to return to Portal Configuration'; $lang['PHPBB_info'] = 'phpBB Info'; $lang['PHPBB_version'] = 'phpBB Version:'; $lang['PHPBB_script_path'] = 'phpBB Script Path:'; $lang['PHPBB_server_name'] = 'phpBB Domain (server_name):'; $lang['MX_Portal'] = 'MX-Publisher'; $lang['MX_Modules'] = 'MXP Modules'; $lang['Phpbb'] = 'phpBB'; $lang['Top_phpbb_links'] = 'phpBB Statistics in Header (default value)'; $lang['Top_phpbb_links_explain'] = '- Links to new, unread posts'; $lang['Portal_version'] = 'MX-Publisher Version:'; $lang['Mx_use_cache'] = 'Use MX-Publisher Block Cache'; $lang['Mx_use_cache_explain'] = 'Block data is cached to individual cache/block_*.xml files. Block cache files are created/updated when blocks are edited.'; $lang['Mx_mod_rewrite'] = 'Use mod_rewrite'; $lang['Mx_mod_rewrite_explain'] = 'If you\'re running on an Apache server and have mod_rewrite activated, you may rewrite URLS; for example, you can rewrite pages like \'page=x\' with more intuitive alternatives. Please read further documentation for the mx_mod_rewrite module.'; $lang['Portal_Overall_header'] = 'Overall Header File (default value)'; $lang['Portal_Overall_header_explain'] = '- This is the default template overall_header file, e.g. overall_header.tpl.'; $lang['Portal_Overall_footer'] = 'Overall Footer File (default value)'; $lang['Portal_Overall_footer_explain'] = '- This is the default template overall_footer file, e.g. overall_footer.tpl.'; $lang['Portal_Main_layout'] = 'Main Layout File (default value)'; $lang['Portal_Main_layout_explain'] = '- This is the default template main_layout file, e.g. mx_main_layout.tpl.'; $lang['Portal_Navigation_block'] = 'Overall Navigation Block (default value)'; $lang['Portal_Navigation_block_explain'] = '- This is the page header navigation block, provided you\'ve chosen a overall header file which supports page navigation.'; $lang['Default_style'] = 'Portal Pages Style (default)'; $lang['Default_admin_style'] = 'AdminCP Style'; $lang['Select_page_style'] = "Select (or use default)"; $lang['Override_style'] = 'Override user style'; $lang['Override_style_explain'] = 'Replaces users style with the default (for pages)'; $lang['Portal_status'] = 'Enable portal'; $lang['Portal_status_explain'] = 'Handy switch, when reconstructing the site. Only admin is able to view pages and browse around normally. While disabled, the message below is displayed.'; $lang['Disabled_message'] = 'Portal disabled message'; $lang['Portal_Backend'] = 'MX-Publisher User/Session backend'; $lang['Portal_Backend_explain'] = 'Select internal, phpBB2 or phpBB3 sessions and users'; $lang['Portal_Backend_path'] = 'Relative path to phpBB [non-internal]'; $lang['Portal_Backend_path_explain'] = 'If using non-internal sessions and users, enter the relative path to phpbb, eg \'phpBB2/\' or \'../phpBB2/\'. Note: slashes are important.'; $lang['Portal_Backend_submit'] = 'Change and validate Backend'; $lang['Portal_config_valid'] = 'Current Backend Status: '; $lang['Portal_config_valid_true'] = '<b><font color="green">Valid</font></b>'; $lang['Portal_config_valid_false'] = '<b><font color="red">Bad Setup. Either your phpBB relative path is wrong or phpBB is uninstalled (your phpBB database is unavailable). Thus, \'internal\' backend is used.</font></b>'; // // Module Management // $lang['Module_admin'] = 'Module Administration'; $lang['Module_admin_explain'] = 'Use this form to manage modules: installation, upgrading and module development.<br /><b>To use this panel, you need to have JavaScript and cookies enabled in your browser!</b>'; $lang['Modulecp_admin'] = 'Module Control Panel'; $lang['Modulecp_admin_explain'] = 'Use this form to manage modules: block functions (parameters) and portal blocks.<br /><b>To use this panel, you need to have JavaScript and cookies enabled in your browser!</b>'; $lang['Modules'] = 'Modules'; $lang['Module'] = 'Module'; $lang['Module_delete'] = 'Delete a Module'; $lang['Module_delete_explain'] = 'Use this form to delete a module (or block function)'; $lang['Edit_module'] = 'Edit a Module'; $lang['Create_module'] = 'Create a New Module'; $lang['Module_name'] = 'Module Name'; $lang['Module_desc'] = 'Description'; $lang['Module_path'] = 'Path, ex. \'modules/mx_textblocks/\''; $lang['Module_include_admin'] = 'Include this module in the AdminCP navigation'; // // Module Installation // $lang['Module_delete_db'] = 'Do you really want to uninstall the module? Warning: You will lose all module data. Consider upgrading instead.'; $lang['Click_module_delete_yes'] = 'Click %sHere%s to uninstall the module'; $lang['Click_module_upgrade_yes'] = 'Click %sHere%s to upgrade the module'; $lang['Click_module_export_yes'] = 'Click %sHere%s to export the module'; $lang['Error_no_db_install'] = 'Error: The file db_install.php does not exist. Please verify this and try again.'; $lang['Error_no_db_uninstall'] = 'Error: The file db_uninstall.php does not exist, or the uninstall feature is not supported for this module. Please verify this and try again.'; $lang['Error_no_db_upgrade'] = 'Error: The file db_upgrade.php does not exist, or the upgrade feature is not supported for this module. Please verify this and try again.'; $lang['Error_module_installed'] = 'Error: This module is already installed! Please either first delete the module, or upgrade the module instead.'; $lang['Uninstall_module'] = 'Uninstall Module'; $lang['import_module_pack'] = 'Install Module'; $lang['import_module_pack_explain'] = 'This will install a module to the portal. Be sure that the module\'s package is uploaded to the /modules/ folder. Remember to use the latest module version!'; $lang['upgrade_module_pack'] = 'Upgrade Module'; $lang['upgrade_module_pack_explain']= 'This will upgrade your module. Be sure to read the module\'s documentation before proceeding, or you risk module data loss.'; $lang['export_module_pack'] = 'Export Module'; $lang['Export_Module'] = 'Select a Module:'; $lang['export_module_pack_explain'] = 'This will export a module *.pak file. This is intended for module writers; regular users don\'t need to worry about this.'; $lang['Module_Config_updated'] = 'Module Configuration Updated Successfully'; $lang['Click_return_module_admin'] = 'Click %sHere%s to return to Module Administration'; $lang['Module_updated'] = 'Module Information Updated successfully'; $lang['list_of_queries'] = 'This is the result list of the SQL queries needed for the install/upgrade'; $lang['already_added'] = 'Error or Already added'; $lang['added_upgraded'] = 'Added/Updated'; $lang['upgrading_modules'] = 'If you get some Errors, Already Added or Updated messages, relax, this is normal when updating mods'; $lang['consider_upgrading'] = 'Module is already installed...consider upgrading ;)'; $lang['upgrading'] = 'Upgrading'; $lang['module_upgrade'] = 'This is a upgrade'; $lang['nothing_upgrade'] = 'Nothing to upgrade...'; $lang['upgraded_to_ver'] = '...Now upgraded to v. '; $lang['module_not_installed'] = 'Module not installed...and thus cannot be upgraded'; $lang['fresh_install'] = 'This is a fresh install'; $lang['module_install_info'] = 'Mod Installation/Upgrading/Uninstalling Information - mod specific db tables'; // // Functions & Parameters Administration // $lang['Function_admin'] = 'Block Function Administration'; $lang['Function_admin_explain'] = 'Modules have one or more block bunctions. Use this form to edit, add, or delete a block function'; $lang['Function'] = 'Block Function'; $lang['Function_name'] = 'Block Function Name'; $lang['Function_desc'] = 'Description'; $lang['Function_file'] = 'File '; $lang['Function_admin_file'] = 'File (Edit block script) <br /> Extra parameters for this edit block panel. Leave blank to use default edit panel.'; $lang['Create_function'] = 'Add New Block Function'; $lang['Delete_function'] = 'Delete Block Function'; $lang['Delete_function_explain'] = 'This will delete the function and all of its associated portal blocks. Beware: this operation cannot be undone!'; $lang['Click_function_delete_yes'] = 'Click %sHere%s to delete the Function'; $lang['Parameter_admin'] = 'Function Parameter Administration'; $lang['Parameter_admin_explain'] = 'List all parameters for this function'; $lang['Parameter'] = 'Parameter'; $lang['Parameter_name'] = '<b>Parameter Name</b><br />- to be used to access the parameter'; $lang['Parameter_type'] = '<b>Parameter Type</b>'; $lang['Parameter_default'] = '<b>Default Value</b>'; $lang['Parameter_function'] = '<b>Function/Options</b>'; $lang['Parameter_function_explain'] = '<b>Function</b> (when using the \'Function\' type)<br />- You may pass the parameter data to an external function <br /> to generate the parameter form field.<br />- For example: <br />get_list_formatted("block_list","{parameter_value}","{parameter_id}[]")'; $lang['Parameter_function_explain'] .= '<br /><br /><b>Option(s)</b> (when using \'Selection\' parameter types)<br />- For all selection parameters (radiobuttons, checkboxes and menus) all options are listed here, one option per line.'; $lang['Parameter_auth'] = '<b>Admin/Block Moderator only</b>'; $lang['Parameters'] = 'Parameters'; $lang['Parameter_id'] = 'ID'; $lang['Create_parameter'] = 'Add New Parameter'; $lang['Delete_parameter'] = 'Delete Function Parameter'; $lang['Delete_parameter_explain'] = 'This will delete the parameter and update all associated portal blocks. Beware: this operation cannot be undone!'; $lang['Click_parameter_delete_yes'] = 'Click %sHere%s to delete the Parameter'; // // Parameter Types // $lang['ParType_BBText'] = 'Simple BBCode Textblock'; $lang['ParType_BBText_info'] = 'This is a simple textblock that parses BBCode'; $lang['ParType_Html'] = 'Simple HTML Textblock'; $lang['ParType_Html_info'] = 'This is a simple textblock, parsing HTML'; $lang['ParType_Text'] = 'Plain Text (single-row)'; $lang['ParType_Text_info'] = 'This is a simple text field'; $lang['ParType_TextArea'] = 'Plain Text Area (multiple-row)'; $lang['ParType_TextArea_info'] = 'This is a simple textarea field'; $lang['ParType_Boolean'] = 'Boolean'; $lang['ParType_Boolean_info'] = 'This is a \'yes\' or \'no\' radio switch.'; $lang['ParType_Number'] = 'Plain Number'; $lang['ParType_Number_info'] = 'This is a simple number field'; $lang['ParType_Function'] = 'Parameter function'; $lang['ParType_Values'] = 'Values'; $lang['ParType_Radio_single_select'] = 'Single-Selection Radio Buttons'; $lang['ParType_Radio_single_select_info'] = ''; $lang['ParType_Menu_single_select'] = 'Single-Selection Menu'; $lang['ParType_Menu_single_select_info'] = ''; $lang['ParType_Menu_multiple_select'] = 'Multiple-Selection Menu'; $lang['ParType_Menu_multiple_select_info'] = ''; $lang['ParType_Checkbox_multiple_select'] = 'Multiple-Selection Checkbox'; $lang['ParType_Checkbox_multiple_select_info'] = ''; // // Blocks Administration // $lang['Block_admin'] = 'Block Control Panel'; $lang['Block_admin_explain'] = 'Use this form to manage portal blocks.<br /><b>To use this panel, you need to have JavaScript and cookies enabled in your browser!</b>'; $lang['Block'] = 'Block'; $lang['Show_title'] = 'Show Block Title?'; $lang['Show_title_explain'] = 'Whether or not to display the block title'; $lang['Show_block'] = 'Show Block?'; $lang['Show_block_explain'] = '- If \'no\', the Block is hidden to all users, except administrators'; $lang['Show_stats'] = 'Show Statistics?'; $lang['Show_stats_explain'] = '- If \'yes\', \'edited by...\' will be displayed below the block'; $lang['Show_blocks'] = 'View Function Blocks'; $lang['Block_delete'] = 'Delete a Block'; $lang['Block_delete_explain'] = 'Use this form to delete a Block (or column)'; $lang['Block_title'] = 'Title'; $lang['Block_desc'] = 'Description'; $lang['Add_Block'] = 'Add New Block'; $lang['Auth_Block'] = 'Permissions'; $lang['Auth_Block_explain'] = 'ALL: All users<br />REG: Registered Users<br />PRIVATE: Group members (see advanced permissions)<br />MOD: block moderators (see advanced permissions)<br />ADMIN: Admin<br />ANONYMOUS: Guest users ONLY'; $lang['Block_quick_stats'] = 'Quick Stats'; $lang['Block_quick_edit'] = 'Quick Edit'; $lang['Create_block'] = 'Create New Block'; $lang['Delete_block'] = 'Delete Portal Block'; $lang['Delete_block_explain'] = 'This will delete the block and update all associated Portal Pages. Beware: this operation cannot be undone!'; $lang['Click_block_delete_yes'] = 'Click %sHere%s to delete the Block'; // // BlockCP Administration // $lang['Block_cp'] = 'BlockCP'; $lang['Click_return_blockCP_admin'] = 'Click %sHere%s to return to the Block Control Panel'; $lang['Click_return_portalpage_admin'] = 'Click %sHere%s to return to the Portal Page'; $lang['BlockCP_Config_updated'] = 'This block has been updated.'; // // Pages Administration // $lang['Page_admin'] = 'Page Administration'; $lang['Page_admin_explain'] = 'Use this form to add, delete and change the settings for Portal Pages and Page Templates.<br /><b>To use this panel, you need to have JavaScript and cookies enabled in your browser!</b>'; $lang['Page_admin_edit'] = 'Page Edit'; $lang['Page_admin_private'] = 'Advanced Page (PRIVATE) Permissions'; $lang['Page_admin_settings'] = 'Page Settings'; $lang['Page_admin_new_page'] = 'New Page Administration'; $lang['Page'] = 'Page'; $lang['Page_Id'] = 'Page ID'; $lang['Page_icon'] = 'Page Icon <br /> - to be used in the adminCP only, eg. icon_home.gif (default)'; $lang['Page_alt_icon'] = 'Alternative Page Icon <br /> - Full url (http://...) to custom page icon.'; $lang['Default_page_style'] = 'Portal Style (default)<br />To use the default setting, leave this unset.'; $lang['Override_page_style'] = 'Override user style'; $lang['Override_page_style_explain'] = ' '; $lang['Page_header'] = 'Page header file <br /> - i.e. overall_header.tpl (default), overall_noheader.tpl (no header) or user custom header file.<br />To use the default setting, leave this blank.'; $lang['Page_footer'] = 'Page footer file <br /> - i.e. overall_footer.tpl (default) or user custom footer file.<br />To use the default setting, leave this blank.'; $lang['Page_main_layout'] = 'Page main layout file <br /> - i.e. mx_main_layout.tpl (default) or user custom header file.<br />To use the default setting, leave this blank.'; $lang['Page_Navigation_block'] = 'Page header navigation block'; $lang['Page_Navigation_block_explain'] = '- This is the page header navigation block, provided you\'ve chosen a overall header file which supports page navigation.<br />To use the default setting, leave this unset.'; $lang['Auth_Page'] = 'Permissions'; $lang['Select_sort_method'] = 'Select Sort Method'; $lang['Order'] = 'Order'; $lang['Sort'] = 'Sort'; $lang['Page_sort_title'] = 'Page title'; $lang['Page_sort_desc'] = 'Page description'; $lang['Page_sort_created'] = 'Page created'; $lang['Sort_Ascending'] = 'ASC'; $lang['Sort_Descending'] = 'DESC'; $lang['Return_to_page'] = 'Return to Portal Page'; $lang['Auth_Page_group'] = '-> PRIVATE Group'; $lang['Page_desc'] = 'Description'; $lang['Page_parent'] = 'Parent Page'; $lang['Add_Page'] = 'Add New Page'; $lang['Page_Config_updated'] = 'Page Configuration Updated Successfully'; $lang['Click_return_page_admin'] = 'Click %sHere%s to return to Page Administration'; $lang['Remove_block'] = 'Remove Portal Block'; $lang['Remove_block_explain'] = 'This will remove the block from this page. Beware: this operation cannot be undone!'; $lang['Click_block_remove_yes'] = 'Click %sHere%s to remove the Block'; $lang['Delete_page'] = 'Delete Page'; $lang['Delete_page_explain'] = 'This will delete the Page. Beware: this operation cannot be undone!'; $lang['Click_page_delete_yes'] = 'Click %sHere%s to delete the Page'; $lang['Mx_IP_filter'] = 'IP Filter'; $lang['Mx_IP_filter_explain'] = 'To restrict access to this page by IP, enter the valid IP adresses, with one IP address per line.<br>Example: 127.0.0.1 or 127.1.*.*'; $lang['Mx_phpBB_stats'] = 'phpBB Statistics in Header'; $lang['Mx_phpBB_stats_explain'] = '- Links to new, unread posts, etc.'; $lang['Column_admin'] = 'Page Column Administration'; $lang['Column_admin_explain'] = 'Administrate Page Columns'; $lang['Column'] = 'Page Column'; $lang['Columns'] = 'Page Columns'; $lang['Column_block'] = 'Page Column Block'; $lang['Column_blocks'] = 'Page Column Blocks'; $lang['Edit_Column'] = 'Edit a Column'; $lang['Edit_Column_explain'] = 'Use this form to modify a column'; $lang['Column_Size'] = 'Size of the column'; $lang['Column_name'] = 'Column Name'; $lang['Column_delete'] = 'Delete a Column'; $lang['Page_updated'] = 'Page and Column information updated successfully'; $lang['Create_column'] = 'Add New Column'; $lang['Delete_page_column'] = 'Delete Page Column'; $lang['Delete_page_column_explain'] = 'This will delete the Page Column. Beware: this operation cannot be undone!'; $lang['Click_page_column_delete_yes'] = 'Click %sHere%s to delete the Page Column'; $lang['Add_Split_Block'] = 'Add Split Column Block'; $lang['Add_Split_Block_explain'] = 'This block splits the column'; $lang['Add_Dynamic_Block'] = 'Add Dynamic (Sub) Block'; $lang['Add_Dynamic_Block_explain'] = 'This dynamic block defines subpages, set from the navigation menu'; $lang['Add_Virtual_Block'] = 'Add Virtual (Page Blog) Block'; $lang['Add_Virtual_Block_explain'] = 'This block turns the page into a virtual (blog) page'; // // Page templates // $lang['Page_templates_admin'] = 'Page Templates Administration'; $lang['Page_templates_admin_explain'] = 'Use this page to create, edit or delete Page Templates'; $lang['Page_template'] = 'Page Template'; $lang['Page_templates'] = 'Page Templates'; $lang['Page_template_column'] = 'Page Template Column'; $lang['Page_template_columns'] = 'Page Template Columns'; $lang['Choose_page_template'] = 'Choose Page Template'; $lang['Template_Config_updated'] = 'Template Configuration Updated'; $lang['Add_Template'] = 'Add New Template'; $lang['Template'] = 'Template'; $lang['Template_name'] = 'Template Name'; $lang['Page_template_delete'] = 'Delete Template'; $lang['Delete_page_template'] = 'Delete Page Template'; $lang['Delete_page_template_explain'] = 'This will delete the Page Template. Beware: this operation cannot be undone!'; $lang['Click_page_template_delete_yes'] = 'Click %sHere%s to delete the Page Template'; $lang['Delete_page_template_column'] = 'Delete Page Template'; $lang['Delete_page_template_column_explain'] = 'This will delete the Page Template. Beware: this operation cannot be undone!'; $lang['Click_page_template_column_delete_yes'] = 'Click %sHere%s to delete the Page Template'; // // Cache // $lang['Cache_dir_write_protect'] = 'Your cache directory is write-protected. MX-Publisher is unable to generate the cache file. Please make your cache directory writeable to continue.'; $lang['Cache_generate'] = 'Your cache files have been generated.'; $lang['Cache_submit'] = 'Generate the cache file?'; $lang['Cache_explain'] = 'With this option you can generate all cache files (XMLs files) at once for all portal blocks. These files allow the reduction of the number of database queries needed and improves overall portal performance. <br />Note: the MX-Publisher cache must be enabled (in the Portal General Admin CP) for these files to be used by the system.<br>Further note: the cache files are created on the fly when editing blocks as well.'; $lang['Generate_mx_cache'] = 'Generate Block Cache'; // // These are displayed in the drop down boxes for advanced // mode Module auth, try and keep them short! // $lang['Menu_Navigation'] = 'Navigation Menu'; $lang['Portal_index'] = 'Portal Index'; $lang['Save_Settings'] = 'Save Settings'; $lang['Translation_Tools'] = 'Translation Tools'; $lang['Preview_portal'] = 'Preview Portal'; // // META // $lang['Meta_admin'] = 'META Tags Administration'; $lang['Mega_admin_explain'] = 'Use this form to customize your META tags'; $lang['Meta_Title'] = 'Title'; $lang['Meta_Author'] = 'Author'; $lang['Meta_Copyright'] = 'Copyright'; $lang['Meta_Keywords'] = 'Keywords'; $lang['Meta_Keywords_explain'] = '(comma seperated list)'; $lang['Meta_Description'] = 'Description'; $lang['Meta_Language'] = 'Language Code'; $lang['Meta_Rating'] = 'Rating'; $lang['Meta_Robots'] = 'Robots'; $lang['Meta_Pragma'] = 'Pragma no-cache'; $lang['Meta_Bookmark_icon'] = 'Bookmark Icon'; $lang['Meta_Bookmark_explain'] = '(relative location)'; $lang['Meta_HTITLE'] = 'Extra Header Settings'; $lang['Meta_data_updated'] = 'Meta data file (mx_meta.inc) has been updated!<br />Click %sHere%s to return to Meta Tags Administration.'; $lang['Meta_data_ioerror'] = 'Unable to open mx_meta.inc. Make sure the file is writeable (chmod 777).'; // // Portal permissons // $lang['Mx_Block_Auth_Title'] = 'Private Block Permissions' ; $lang['Mx_Block_Auth_Explain'] = 'Here you can configure Private Block Permissions'; $lang['Mx_Page_Auth_Title'] = 'Private Page Permissions' ; $lang['Mx_Page_Auth_Explain'] = 'Here you configure Private Page Permissions'; $lang['Block_Auth_successfully'] = 'Block Permissions Updated Successfully'; $lang['Click_return_block_auth'] = 'Click %sHere%s to return to Private Block Permissions'; $lang['Page_Auth_successfully'] = 'Page Permissions Updated Successfully'; $lang['Click_return_page_auth'] = 'Click %sHere%s to return to Private Page Permissions'; $lang['AUTH_ALL'] = 'ALL'; $lang['AUTH_REG'] = 'REG'; $lang['AUTH_PRIVATE'] = 'PRIVATE'; $lang['AUTH_MOD'] = 'MOD'; $lang['AUTH_ADMIN'] = 'ADMIN'; $lang['AUTH_ANONYMOUS'] = 'ANONYMOUS'; // ----------------------------------- // BlockCP - Block Parameter Specific // ----------------------------------- // // General // $lang['target_block'] = 'Target Block'; $lang['target_block_explain'] = '- links, data etc are refering with this block'; // // Split column // $lang['block_ids'] = 'Source Blocks'; $lang['block_ids_explain'] = '- to be placed left to right'; $lang['block_sizes'] = 'Block Sizes (comma separated)'; $lang['block_sizes_explain'] = '- You may specify size using numbers (pixels), percentages (relative sizes, ie. \'40%\') or \'*\' for the remainder.'; $lang['space_between'] = 'Space between Blocks'; // // Sitelog // $lang['log_filter_date'] = 'Filter by time'; $lang['log_filter_date_explain'] = '- Show logs from last week, month, year...'; $lang['numOfEvents'] = 'Number'; $lang['numOfEvents_explain'] = '- Number of events to show'; // // IncludeX // $lang['x_listen'] = 'Listen (GET)'; $lang['x_iframe'] = 'IFrame'; $lang['x_textfile'] = 'Textfile'; $lang['x_multimedia'] = 'WMP Multimedia'; $lang['x_pic'] = 'Pic'; $lang['x_format'] = 'Formatted Textfile'; $lang['x_mode'] = 'IncludeX mode:'; $lang['x_mode_explain'] = '- The IncludeX block operates in one of the following modes. If mode \'Listen (GET)\' is selected, the mode may be set by a url \'x_mode=mode\' and associated parameters with \'x_1=, x_2=, etc\'.<br />Example: To pass a url to a iframe use \'domain/index.php?page=x&x_mode=iframe&x_1=http://domain\' '; $lang['x_1'] = 'Variable 1:'; $lang['x_1_explain'] = '- <i>IFrame:</i> url<br /><i>Textfile:</i> relative path from root (eg in \'/include_file/my_file.xxx\')<br /><i>Multimedia:</i> relative path from root (eg in \'/include_file/my_file.xxx\')<br /><i>Pic:</i> relative path from root (eg in \'/include_file/my_file.xxx\')<br /><i>Formatted textfile:</i> not available'; $lang['x_2'] = 'Variable 2:'; $lang['x_2_explain'] = '- <i>IFrame:</i> frame height (pixels)<br /><i>Multimedia:</i> width (pixles)'; $lang['x_3'] = 'Variable 3:'; $lang['x_3_explain'] = '- <i>Multimedia:</i> height (pixles)'; // // Dynamic Block // $lang['default_block_id'] = 'Default Block'; $lang['default_block_id_explain'] = '- This is the default or first block to display, unless a dynamic block is set'; // // Menu Navigation // //$lang['menu_display_style'] = 'Menu Style'; //$lang['menu_display_style_explain '] = 'Standard, Simple, Advanced or Advanced App'; $lang['menu_display_mode'] = 'Layout mode'; $lang['menu_display_mode_explain '] = 'Horizonal or Vertical layout mode'; //$lang['menu_page_sync'] = 'Highlight current?'; //$lang['menu_page_sync_explain'] = 'Highlight current Navigation Menu entry...'; $lang['menu_custom_tpl'] = "Custom template file"; $lang['menu_custom_tpl_explain '] = "Eg mx_menu_custom.tpl"; // // Version Checker // $lang['mxBB_Version_up_to_date'] = 'Your MX-Publisher installation is up to date. No updates are available for your version of MX-Publisher.'; $lang['mxBB_Version_outdated'] = 'Your MX-Publisher installation does <b>not</b> seem to be up to date. Updates are available for your version of MX-Publisher. Please visit <a href="http://www.mx-publisher.com/index.php?page=4&action=file&file_id=2" target="_new">the MX-Publisher Core package download</a> to obtain the latest version.'; $lang['mxBB_Latest_version_info'] = 'The latest available version is <b>MX-Publisher %s</b>. '; $lang['mxBB_Current_version_info'] = 'You are running <b>MX-Publisher %s</b>.'; $lang['mxBB_Mailing_list_subscribe_reminder'] = 'For the latest information on news and updates to MX-Publisher, why not <a href="http://lists.sourceforge.net/lists/listinfo/mxbb-news" target="_new">subscribe to our mailing list</a>?'; // // That's all Folks! // ------------------------------------------------- ?> |
|
From: OryNider <ory...@us...> - 2008-03-10 06:02:40
|
Update of /cvsroot/mxbb/mx_mod_core/root/mx_mod/styles/prosilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24277/root/mx_mod/styles/prosilver Added Files: install_body.html install_footer.html install_header.html message_body.html prosilver.css Log Message: 1st time added --- NEW FILE: message_body.html --- <p></p> <div class="panel"> <div class="inner"><span class="corners-top"><span></span></span> <h2>{MESSAGE_TITLE}</h2> <p>{MESSAGE_TEXT}</p> <span class="corners-bottom"><span></span></span></div> </div> <p></p> --- NEW FILE: install_footer.html --- </div> <!-- We request you retain the full copyright notice below including the link to www.phpbb.com. This not only gives respect to the large amount of time given freely by the developers but also helps build interest, traffic and use of phpBB. If you (honestly) cannot retain the full copyright we ask you at least leave in place the "Powered by phpBB" line, with "phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our forums may be affected. The phpBB Group : 2006 // --> <div id="page-footer"> <!-- IF S_COPYRIGHT_HTML --> Powered by phpBB © 2000, 2002, 2005, 2007 <a href="http://www.phpbb.com/">phpBB Group</a> <!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF --> <!-- ENDIF --> <!-- IF DEBUG_OUTPUT --> <!-- IF S_COPYRIGHT_HTML --><br /><!-- ENDIF --> {DEBUG_OUTPUT} <!-- ENDIF --> </div> </div> </body> </html> --- NEW FILE: install_header.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> <head> <meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Language" content="{S_USER_LANG}" /> <meta http-equiv="imagetoolbar" content="no" /> <!-- IF META -->{META}<!-- ENDIF --> <title>{PAGE_TITLE}</title> <link href="./adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" /> </head> <body class="{S_CONTENT_DIRECTION}"> <div id="wrap"> <div id="page-header"> <h1>{L_MX_MOD_INSTALL_TITLE}</h1> </div> <div id="page-body"> --- NEW FILE: prosilver.css --- /* phpBB 3.0 Admin Style Sheet ------------------------------------------------------------------------ Original author: subBlue ( http://www.subblue.com/ ) Copyright 2007 phpBB Group ( http://www.phpbb.com/ ) ------------------------------------------------------------------------ */ /* General markup styles ---------------------------------------- */ * { /* Reset browsers default margin, padding and font sizes */ margin: 0; padding: 0; font-size: 100%; } body, div, p, th, td, li, dd { font-size: x-small; voice-family: "\"}\""; [...1598 lines suppressed...] } .permissions-panel td label { display: block; margin: 0; padding: 0; } /* Classes for additional tasks ---------------------------------------- */ .phpinfo { overflow: auto; width: 99%; direction: ltr; } .phpinfo td, .phpinfo th, .phpinfo h2, .phpinfo h1 { text-align: left; } --- NEW FILE: install_body.html --- <div id="message">{INSTALL_MESSAGE}</div> |
|
From: OryNider <ory...@us...> - 2008-03-10 06:02:40
|
Update of /cvsroot/mxbb/mx_mod_core/root In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24277/root Added Files: mx_mod_install.php mx_mod_uninstall.php Log Message: 1st time added --- NEW FILE: mx_mod_install.php --- <?php /** * * @package phpBB Mod - mx_mod * @version $Id: mx_mod_install.php,v 1.1 2008/03/10 06:02:35 orynider Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ $phpEx = substr(strrchr(__FILE__, '.'), 1); if ( !defined('PORTAL_BACKEND') && @file_exists( './viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { define( 'MXBB_MODULE', false ); define( 'IN_PHPBB', true ); $phpbb_root_path = $module_root_path = './'; $mx_mod_path = $phpbb_root_path . 'mx_mod/'; include($phpbb_root_path . 'common.' . $phpEx); include($mx_mod_path . "includes/functions_required.$phpEx"); //Check if forum_hack is installed if (!isset($mx_root_path)) { $mx_root_path = './'; @define('IN_PORTAL', true); include_once($mx_mod_path . "includes/mx_constants.$phpEx"); include_once($mx_mod_path . "includes/shared/phpbb2/includes/functions.$phpEx"); } else { @define('IN_PORTAL', true); include_once($mx_root_path . "includes/mx_constants.$phpEx"); include_once($mx_root_path . "includes/shared/phpbb2/includes/functions.$phpEx"); } require($mx_mod_path . "includes/functions_core.$phpEx"); require($mx_mod_path . "includes/functions_styles.$phpEx"); //Check for cash mod if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); } //@ini_set( 'display_errors', '1' ); error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables //error_reporting(E_ALL & ~E_NOTICE); define( 'PAGE_KB', -502 ); // If this id generates a conflict with other mods, change it ;) // // Instatiate the mx_cache class // $mx_cache = new mx_cache(); // // Get mxBB config settings // //$portal_config = $mx_cache->obtain_mxbb_config(); // // instatiate the mx_request_vars class // $mx_request_vars = new mx_request_vars(); // // Page selector // $page_id = $mx_request_vars->request('page', MX_TYPE_INT, 1); $is_block = false; // // instatiate the mx_user class // $mx_user = new mx_user(); if (file_exists("./modcp.$phpEx")) // phpBB2 { define('PORTAL_BACKEND', 'phpbb2'); $tplEx = 'tpl'; // // Start user session // - populate $userdata and $lang // $mx_user->init($user_ip, $page_id, false); init_userprefs($userdata); $mx_user->set_module_default_style('prosilver'); // For compatibility with core 2.8.x if (!$userdata['user_level'] == ADMIN) { die('Only admins may run this script!!!'); } } else if (@file_exists("./mcp.$phpEx")) // phpBB3 { define('PORTAL_BACKEND', 'phpbb3'); $tplEx = 'html'; // // Start user session // - populate $userdata and $lang // $mx_user->init($user_ip, $page_id, false); $user->setup(); // // End session management // $mx_user->set_module_default_style('prosilver'); // For compatibility with core 2.8.x if ($userdata['user_type'] != USER_FOUNDER) { die('Only admins may run this script!!!'); } } else { die('Copy this file in phpbb_root_path were is your viewtopic.php file!!!'); } } else // --------------------------------------------------------------------------------- mxBB Module MODE { define( 'MXBB_MODULE', true ); if ( !function_exists( 'read_block_config' ) ) { define( 'IN_PORTAL', true ); $mx_root_path = './../../'; $module_root_path = './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once( $mx_root_path . 'common.' . $phpEx ); // Start session management $mx_user->init($user_ip, PAGE_INDEX); // End session management define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.' . $phpEx ) ); } else { if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); } // // Read Block Settings (default mode) // $title = !empty( $mx_block->block_info['block_title'] ) ? $mx_block->block_info['block_title'] : $lang['KB_title']; $desc = $mx_block->block_info['block_desc']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); //Check for cash mod if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); } $is_block = true; global $images; } define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.'.$phpEx ) ); } // // Check if mx_common Mod is prezent // if (!file_exists($mx_mod_path . "includes/functions_admincp.$phpEx")) { die('mx mod is not uploaded!!!'); } else { require($mx_mod_path . "includes/functions_admincp.$phpEx"); } $portal_config['portal_id'] = '1'; $portal_config['portal_name'] = $board_config['sitename']; $script_name = preg_replace('/^\/?(.*?)\/?$/', '\1', trim($board_config['script_path'])); $server_name = trim($board_config['server_name']); $server_protocol = ( $board_config['cookie_secure'] ) ? 'https://' : 'http://'; $server_port = ( $board_config['server_port'] <> 80 ) ? ':' . trim($board_config['server_port']) . '/' : '/'; $portal_config['portal_phpbb_url'] = $server_protocol . $server_name . $server_port . $script_name; $portal_config['portal_url'] = $portal_config['portal_phpbb_url']; $portal_config['portal_version'] = '2.8.2'; $portal_config['default_admin_style'] = $board_config['default_style']; $portal_config['default_style'] = $board_config['default_style']; $portal_config['overall_header'] = 'overall_header.tpl'; $portal_config['overall_footer'] = 'overall_footer.tpl'; $portal_config['main_layout'] = 'mx_main_layout.tpl'; $portal_config['navigation_block'] = '0'; $portal_config['top_phpbb_links'] = '0'; $portal_config['mx_use_cache'] = '1'; $portal_config['portal_recached'] = '0'; $portal_config['mod_rewrite'] = '0'; $portal_config['portal_backend'] = PORTAL_BACKEND; while( list($key, $value) = @each($portal_config) ) { if (is_array($value)) { foreach( $value as $key2 => $val2 ) { $portal_config[$key][$key2] = $val2; } } } $page_title = 'Mx Mod'; switch (PORTAL_BACKEND) { case 'internal': case 'phpbb2': include($phpbb_root_path . 'includes/page_header.'.$phpEx); $modtemplate = new mx_Template($mx_mod_path . 'styles'); $modtemplate->set_filenames( array( // # 'body' => 'install_body.html' )); $modtemplate->assign_vars( array( //# 'CSS_COLOR_H1' => 'color: #767676;', 'CSS_CONTENT_H1' => 'color: #115098;' )); break; case 'phpbb3': $template->set_custom_template($mx_mod_path . 'styles/prosilver', 'mx_mod'); $template->set_filenames( array( 'header' => 'install_header.html', 'body' => 'install_body.html', 'footer' => 'install_footer.html' )); $template->assign_var('CSS_STYLESHEET', $phpbb_root_path . 'adm/style/admin.css'); break; } $template->assign_vars( array( 'L_MX_MOD_INSTALL_TITLE' => $page_title, 'L_MX_MOD_TITLE' => 'Installing/Upgrading', 'MX_MOD_PATH' => $mx_mod_path, )); !defined('MX_CONFIG_TABLE') ? define('MX_CONFIG_TABLE', $table_prefix . 'mx_config') : false; $sql = array(); // If fresh install if ( !$result = @$db->sql_query( "SELECT config_name from " . MX_CONFIG_TABLE ) ) { $message = "<b>This is a fresh install!</b><br/><br/>"; $sql[] = "DROP TABLE IF EXISTS " . MX_CONFIG_TABLE; $sql[] = "CREATE TABLE ".MX_CONFIG_TABLE." ( config_name varchar(255) NOT NULL, config_value varchar(255) NOT NULL, PRIMARY KEY (config_name) )"; // // Insert Configs // $sql[] = "INSERT INTO " . MX_CONFIG_TABLE . " VALUES ('portal_id', '" . $portal_config['portal_id'] . "')"; $sql[] = "INSERT INTO " . MX_CONFIG_TABLE . " VALUES ('portal_name', '" . $portal_config['portal_name'] . "')"; $sql[] = "INSERT INTO " . MX_CONFIG_TABLE . " VALUES ('portal_phpbb_url', '" . $portal_config['portal_phpbb_url'] . "')"; $sql[] = "INSERT INTO " . MX_CONFIG_TABLE . " VALUES ('portal_url', '" . $portal_config['portal_url'] . "')"; $sql[] = "INSERT INTO " . MX_CONFIG_TABLE . " VALUES ('portal_version', '" . $portal_config['portal_version'] . "')"; $sql[] = "INSERT INTO " . MX_CONFIG_TABLE . " VALUES ('default_admin_style', '" . $portal_config['default_admin_style'] . "')"; $sql[] = "INSERT INTO " . MX_CONFIG_TABLE . " VALUES ('default_style', '" . $portal_config['default_style'] . "')"; $sql[] = "INSERT INTO " . MX_CONFIG_TABLE . " VALUES ('overall_header', '" . $portal_config['overall_header'] . "')"; $sql[] = "INSERT INTO " . MX_CONFIG_TABLE . " VALUES ('overall_footer', '" . $portal_config['overall_footer'] . "')"; $sql[] = "INSERT INTO " . MX_CONFIG_TABLE . " VALUES ('main_layout', '" . $portal_config['main_layout'] . "')"; $sql[] = "INSERT INTO " . MX_CONFIG_TABLE . " VALUES ('navigation_block', '" . $portal_config['navigation_block'] . "')"; $sql[] = "INSERT INTO " . MX_CONFIG_TABLE . " VALUES ('top_phpbb_links', '" . $portal_config['top_phpbb_links'] . "')"; $sql[] = "INSERT INTO " . MX_CONFIG_TABLE . " VALUES ('mx_use_cache', '" . $portal_config['mx_use_cache'] . "')"; $sql[] = "INSERT INTO " . MX_CONFIG_TABLE . " VALUES ('portal_recached', '" . $portal_config['portal_recached'] . "')"; $sql[] = "INSERT INTO " . MX_CONFIG_TABLE . " VALUES ('mod_rewrite', '" . $portal_config['mod_rewrite'] . "')"; $sql[] = "INSERT INTO " . MX_CONFIG_TABLE . " VALUES ('portal_backend', '" . $portal_config['portal_backend'] . "')"; $message .= mx_do_install_upgrade($sql); $message .= "<br/><br/>"; } else { $message .= "<b>Allready installed...</b><br/><br/>"; } if( file_exists($mx_mod_path . "includes/functions_core." . $phpEx) ) { $mx_cache->trash(); $mx_cache->update(); $mx_cache->unload(); $message .= '<b>Your cache files have been generated...</b><br/><br/>'; } switch (PORTAL_BACKEND) { case 'internal': case 'phpbb2': $modtemplate->assign_var('INSTALL_MESSAGE', $message); $modtemplate->pparse('body'); include($phpbb_root_path . 'includes/page_tail.'.$phpEx); break; case 'phpbb3': $template->assign_var('INSTALL_MESSAGE', $message); $template->display('header'); $template->display('body'); $template->display('footer'); //page_footer(); break; } ?> --- NEW FILE: mx_mod_uninstall.php --- <?php /** * * @package phpBB2 Mod - mx mod * @version $Id: mx_mod_uninstall.php,v 1.1 2008/03/10 06:02:35 orynider Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ $phpEx = substr(strrchr(__FILE__, '.'), 1); if ( !defined('PORTAL_BACKEND') && @file_exists( './viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { define( 'MXBB_MODULE', false ); define( 'IN_PHPBB', true ); $phpbb_root_path = $module_root_path = './'; $mx_mod_path = $phpbb_root_path . 'mx_mod/'; include($phpbb_root_path . 'common.' . $phpEx); include($mx_mod_path . "includes/functions_required.$phpEx"); //Check if forum_hack is installed if (!isset($mx_root_path)) { $mx_root_path = './'; @define('IN_PORTAL', true); include_once($mx_mod_path . "includes/mx_constants.$phpEx"); include_once($mx_mod_path . "includes/shared/phpbb2/includes/functions.$phpEx"); } else { @define('IN_PORTAL', true); include_once($mx_root_path . "includes/mx_constants.$phpEx"); include_once($mx_root_path . "includes/shared/phpbb2/includes/functions.$phpEx"); } require($mx_mod_path . "includes/functions_core.$phpEx"); require($mx_mod_path . "includes/functions_styles.$phpEx"); //Check for cash mod if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); } //@ini_set( 'display_errors', '1' ); error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables //error_reporting(E_ALL & ~E_NOTICE); define( 'PAGE_KB', -502 ); // If this id generates a conflict with other mods, change it ;) // // Instatiate the mx_cache class // $mx_cache = new mx_cache(); // // Get mxBB config settings // //$portal_config = $mx_cache->obtain_mxbb_config(); // // instatiate the mx_request_vars class // $mx_request_vars = new mx_request_vars(); // // Page selector // $page_id = $mx_request_vars->request('page', MX_TYPE_INT, 1); $is_block = false; // // instatiate the mx_user class // $mx_user = new mx_user(); if (file_exists("./modcp.$phpEx")) // phpBB2 { define('PORTAL_BACKEND', 'phpbb2'); $tplEx = 'tpl'; // // Start user session // - populate $userdata and $lang // $mx_user->init($user_ip, $page_id, false); init_userprefs($userdata); $mx_user->set_module_default_style('prosilver'); // For compatibility with core 2.8.x if (!$userdata['user_level'] == ADMIN) { die('Only admins may run this script!!!'); } } else if (@file_exists("./mcp.$phpEx")) // phpBB3 { define('PORTAL_BACKEND', 'phpbb3'); $tplEx = 'html'; // // Start user session // - populate $userdata and $lang // $mx_user->init($user_ip, $page_id, false); $user->setup(); // // End session management // $mx_user->set_module_default_style('prosilver'); // For compatibility with core 2.8.x if ($userdata['user_type'] != USER_FOUNDER) { die('Only admins may run this script!!!'); } } else { die('Copy this file in phpbb_root_path were is your viewtopic.php file!!!'); } } else // --------------------------------------------------------------------------------- mxBB Module MODE { define( 'MXBB_MODULE', true ); if ( !function_exists( 'read_block_config' ) ) { define( 'IN_PORTAL', true ); $mx_root_path = './../../'; $module_root_path = './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once( $mx_root_path . 'common.' . $phpEx ); // Start session management $mx_user->init($user_ip, PAGE_INDEX); // End session management define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.' . $phpEx ) ); } else { if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); } // // Read Block Settings (default mode) // $title = !empty( $mx_block->block_info['block_title'] ) ? $mx_block->block_info['block_title'] : $lang['KB_title']; $desc = $mx_block->block_info['block_desc']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); //Check for cash mod if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); } $is_block = true; global $images; } define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.'.$phpEx ) ); } // // Check if mx_common Mod is prezent // if (!file_exists($mx_mod_path . "includes/functions_admincp.$phpEx")) { die('mx mod is not uploaded!!!'); } else { require($mx_mod_path . "includes/functions_admincp.$phpEx"); } $page_title = 'Mx Mod'; switch (PORTAL_BACKEND) { case 'internal': case 'phpbb2': include($phpbb_root_path . 'includes/page_header.'.$phpEx); $modtemplate = new mx_Template($mx_mod_path . 'styles'); $modtemplate->set_filenames( array( // # 'body' => 'install_body.html', )); $modtemplate->assign_vars( array( //# 'CSS_COLOR_H1' => 'color: #767676;', 'CSS_CONTENT_H1' => 'color: #115098;', )); break; case 'phpbb3': $template->set_custom_template($mx_mod_path . 'styles/prosilver', 'mx_mod'); $template->set_filenames( array( 'header' => 'install_header.html', 'body' => 'install_body.html', 'footer' => 'install_footer.html' )); $template->assign_var('CSS_STYLESHEET', $phpbb_root_path . 'adm/style/admin.css'); break; } $template->assign_vars( array( 'L_MX_MOD_INSTALL_TITLE' => $page_title, 'L_MX_MOD_TITLE' => 'Installing/Upgrading', 'MX_MOD_PATH' => $mx_mod_path, )); $message = "<b>This will uninstall the mod!</b><br/><br/>"; $sql = array( "DROP TABLE " . $table_prefix . "mx_config " ); $message .= mx_do_install_upgrade($sql); /* echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Mod Installation/Upgrading/Uninstalling Information - mod 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 />"; */ switch (PORTAL_BACKEND) { case 'internal': case 'phpbb2': $modtemplate->assign_var('INSTALL_MESSAGE', $message); $modtemplate->pparse('body'); include($phpbb_root_path . 'includes/page_tail.'.$phpEx); break; case 'phpbb3': $template->assign_var('INSTALL_MESSAGE', $message); $template->display('header'); $template->display('body'); $template->display('footer'); //page_footer(); break; } ?> |
|
From: OryNider <ory...@us...> - 2008-03-10 06:02:36
|
Update of /cvsroot/mxbb/mx_mod_core/root/mx_mod/includes/shared/phpbb2/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24277/root/mx_mod/includes/shared/phpbb2/language/lang_english Added Files: lang_admin.php lang_main.php Log Message: 1st time added --- NEW FILE: lang_main.php --- <?php /*************************************************************************** * lang_main.php [English] * ------------------- * begin : Sat Dec 16 2000 * copyright : (C) 2001 The phpBB Group * email : su...@ph... * * $Id: lang_main.php,v 1.1 2008/03/10 06:02:32 orynider 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. * ***************************************************************************/ // // CONTRIBUTORS: // Add your details here if wanted, e.g. Name, username, email address, website // 2002-08-27 Philip M. White - fixed many grammar problems // // // The format of this file is ---> $lang['message'] = 'text'; // // You should also try to set a locale and a character encoding (plus direction). The encoding and direction // will be sent to the template. The locale may or may not work, it's dependent on OS support and the syntax // varies ... give it your best guess! // $lang['ENCODING'] = 'iso-8859-1'; $lang['DIRECTION'] = 'ltr'; $lang['LEFT'] = 'left'; $lang['RIGHT'] = 'right'; $lang['DATE_FORMAT'] = 'd M Y'; // This should be changed to the default date format for your language, php date() format // This is optional, if you would like a _SHORT_ message output // along with our copyright message indicating you are the translator // please add it here. // $lang['TRANSLATION'] = ''; // // Common, these terms are used // extensively on several pages // $lang['Forum'] = 'Forum'; $lang['Category'] = 'Category'; $lang['Topic'] = 'Topic'; $lang['Topics'] = 'Topics'; $lang['Replies'] = 'Replies'; $lang['Views'] = 'Views'; $lang['Post'] = 'Post'; $lang['Posts'] = 'Posts'; $lang['Posted'] = 'Posted'; $lang['Username'] = 'Username'; $lang['Password'] = 'Password'; $lang['Email'] = 'Email'; $lang['Poster'] = 'Poster'; $lang['Author'] = 'Author'; $lang['Time'] = 'Time'; $lang['Hours'] = 'Hours'; $lang['Message'] = 'Message'; $lang['1_Day'] = '1 Day'; $lang['7_Days'] = '7 Days'; $lang['2_Weeks'] = '2 Weeks'; $lang['1_Month'] = '1 Month'; $lang['3_Months'] = '3 Months'; $lang['6_Months'] = '6 Months'; $lang['1_Year'] = '1 Year'; $lang['Go'] = 'Go'; $lang['Jump_to'] = 'Jump to'; $lang['Submit'] = 'Submit'; $lang['Reset'] = 'Reset'; $lang['Cancel'] = 'Cancel'; $lang['Preview'] = 'Preview'; $lang['Confirm'] = 'Confirm'; $lang['Spellcheck'] = 'Spellcheck'; $lang['Yes'] = 'Yes'; $lang['No'] = 'No'; $lang['Enabled'] = 'Enabled'; $lang['Disabled'] = 'Disabled'; $lang['Error'] = 'Error'; $lang['Next'] = 'Next'; $lang['Previous'] = 'Previous'; $lang['Goto_page'] = 'Goto page'; $lang['Joined'] = 'Joined'; $lang['IP_Address'] = 'IP Address'; $lang['Select_forum'] = 'Select a forum'; $lang['View_latest_post'] = 'View latest post'; $lang['View_newest_post'] = 'View newest post'; $lang['Page_of'] = 'Page <b>%d</b> of <b>%d</b>'; // Replaces with: Page 1 of 2 for example $lang['ICQ'] = 'ICQ Number'; $lang['AIM'] = 'AIM Address'; $lang['MSNM'] = 'MSN Messenger'; $lang['YIM'] = 'Yahoo Messenger'; $lang['Forum_Index'] = '%s Forum Index'; // eg. sitename Forum Index, %s can be removed if you prefer $lang['Post_new_topic'] = 'Post new topic'; $lang['Reply_to_topic'] = 'Reply to topic'; $lang['Reply_with_quote'] = 'Reply with quote'; $lang['Click_return_topic'] = 'Click %sHere%s to return to the topic'; // %s's here are for uris, do not remove! $lang['Click_return_login'] = 'Click %sHere%s to try again'; $lang['Click_return_forum'] = 'Click %sHere%s to return to the forum'; $lang['Click_view_message'] = 'Click %sHere%s to view your message'; $lang['Click_return_modcp'] = 'Click %sHere%s to return to the Moderator Control Panel'; $lang['Click_return_group'] = 'Click %sHere%s to return to group information'; $lang['Admin_panel'] = 'Go to Administration Panel'; $lang['Board_disable'] = 'Sorry, but this board is currently unavailable. Please try again later.'; // // Global Header strings // $lang['Registered_users'] = 'Registered Users:'; $lang['Browsing_forum'] = 'Users browsing this forum:'; $lang['Online_users_zero_total'] = 'In total there are <b>0</b> users online :: '; $lang['Online_users_total'] = 'In total there are <b>%d</b> users online :: '; $lang['Online_user_total'] = 'In total there is <b>%d</b> user online :: '; $lang['Reg_users_zero_total'] = '0 Registered, '; $lang['Reg_users_total'] = '%d Registered, '; $lang['Reg_user_total'] = '%d Registered, '; $lang['Hidden_users_zero_total'] = '0 Hidden and '; $lang['Hidden_user_total'] = '%d Hidden and '; $lang['Hidden_users_total'] = '%d Hidden and '; $lang['Guest_users_zero_total'] = '0 Guests'; $lang['Guest_users_total'] = '%d Guests'; $lang['Guest_user_total'] = '%d Guest'; $lang['Record_online_users'] = 'Most users ever online was <b>%s</b> on %s'; // first %s = number of users, second %s is the date. $lang['Admin_online_color'] = '%sAdministrator%s'; $lang['Mod_online_color'] = '%sModerator%s'; $lang['You_last_visit'] = 'You last visited on %s'; // %s replaced by date/time $lang['Current_time'] = 'The time now is %s'; // %s replaced by time $lang['Search_new'] = 'View posts since last visit'; $lang['Search_your_posts'] = 'View your posts'; $lang['Search_unanswered'] = 'View unanswered posts'; $lang['Register'] = 'Register'; $lang['Profile'] = 'Profile'; $lang['Edit_profile'] = 'Edit your profile'; $lang['Search'] = 'Search'; $lang['Memberlist'] = 'Memberlist'; $lang['FAQ'] = 'FAQ'; $lang['BBCode_guide'] = 'BBCode Guide'; $lang['Usergroups'] = 'Usergroups'; $lang['Last_Post'] = 'Last Post'; $lang['Moderator'] = 'Moderator'; $lang['Moderators'] = 'Moderators'; // // Stats block text // $lang['Posted_articles_zero_total'] = 'Our users have posted a total of <b>0</b> articles'; // Number of posts $lang['Posted_articles_total'] = 'Our users have posted a total of <b>%d</b> articles'; // Number of posts $lang['Posted_article_total'] = 'Our users have posted a total of <b>%d</b> article'; // Number of posts $lang['Registered_users_zero_total'] = 'We have <b>0</b> registered users'; // # registered users $lang['Registered_users_total'] = 'We have <b>%d</b> registered users'; // # registered users $lang['Registered_user_total'] = 'We have <b>%d</b> registered user'; // # registered users $lang['Newest_user'] = 'The newest registered user is <b>%s%s%s</b>'; // a href, username, /a $lang['No_new_posts_last_visit'] = 'No new posts since your last visit'; $lang['No_new_posts'] = 'No new posts'; $lang['New_posts'] = 'New posts'; $lang['New_post'] = 'New post'; $lang['No_new_posts_hot'] = 'No new posts [ Popular ]'; $lang['New_posts_hot'] = 'New posts [ Popular ]'; $lang['No_new_posts_locked'] = 'No new posts [ Locked ]'; $lang['New_posts_locked'] = 'New posts [ Locked ]'; $lang['Forum_is_locked'] = 'Forum is locked'; // // Login // $lang['Enter_password'] = 'Please enter your username and password to log in.'; $lang['Login'] = 'Log in'; $lang['Logout'] = 'Log out'; $lang['Forgotten_password'] = 'I forgot my password'; $lang['Log_me_in'] = 'Log me on automatically each visit'; $lang['Error_login'] = 'You have specified an incorrect or inactive username, or an invalid password.'; // // Index page // $lang['Index'] = 'Index'; $lang['No_Posts'] = 'No Posts'; $lang['No_forums'] = 'This board has no forums'; $lang['Private_Message'] = 'Private Message'; $lang['Private_Messages'] = 'Private Messages'; $lang['Who_is_Online'] = 'Who is Online'; $lang['Mark_all_forums'] = 'Mark all forums read'; $lang['Forums_marked_read'] = 'All forums have been marked read'; // // Viewforum // $lang['View_forum'] = 'View Forum'; $lang['Forum_not_exist'] = 'The forum you selected does not exist.'; $lang['Reached_on_error'] = 'You have reached this page in error.'; $lang['Display_topics'] = 'Display topics from previous'; $lang['All_Topics'] = 'All Topics'; $lang['Topic_Announcement'] = '<b>Announcement:</b>'; $lang['Topic_Sticky'] = '<b>Sticky:</b>'; $lang['Topic_Moved'] = '<b>Moved:</b>'; $lang['Topic_Poll'] = '<b>[ Poll ]</b>'; $lang['Mark_all_topics'] = 'Mark all topics read'; $lang['Topics_marked_read'] = 'The topics for this forum have now been marked read'; $lang['Rules_post_can'] = 'You <b>can</b> post new topics in this forum'; $lang['Rules_post_cannot'] = 'You <b>cannot</b> post new topics in this forum'; $lang['Rules_reply_can'] = 'You <b>can</b> reply to topics in this forum'; $lang['Rules_reply_cannot'] = 'You <b>cannot</b> reply to topics in this forum'; $lang['Rules_edit_can'] = 'You <b>can</b> edit your posts in this forum'; $lang['Rules_edit_cannot'] = 'You <b>cannot</b> edit your posts in this forum'; $lang['Rules_delete_can'] = 'You <b>can</b> delete your posts in this forum'; $lang['Rules_delete_cannot'] = 'You <b>cannot</b> delete your posts in this forum'; $lang['Rules_vote_can'] = 'You <b>can</b> vote in polls in this forum'; $lang['Rules_vote_cannot'] = 'You <b>cannot</b> vote in polls in this forum'; $lang['Rules_moderate'] = 'You <b>can</b> %smoderate this forum%s'; // %s replaced by a href links, do not remove! $lang['No_topics_post_one'] = 'There are no posts in this forum.<br />Click on the <b>Post New Topic</b> link on this page to post one.'; // // Viewtopic // $lang['View_topic'] = 'View topic'; $lang['Guest'] = 'Guest'; $lang['Post_subject'] = 'Post subject'; $lang['View_next_topic'] = 'View next topic'; $lang['View_previous_topic'] = 'View previous topic'; $lang['Submit_vote'] = 'Submit Vote'; $lang['View_results'] = 'View Results'; $lang['No_newer_topics'] = 'There are no newer topics in this forum'; $lang['No_older_topics'] = 'There are no older topics in this forum'; $lang['Topic_post_not_exist'] = 'The topic or post you requested does not exist'; $lang['No_posts_topic'] = 'No posts exist for this topic'; $lang['Display_posts'] = 'Display posts from previous'; $lang['All_Posts'] = 'All Posts'; $lang['Newest_First'] = 'Newest First'; $lang['Oldest_First'] = 'Oldest First'; $lang['Back_to_top'] = 'Back to top'; $lang['Read_profile'] = 'View user\'s profile'; $lang['Visit_website'] = 'Visit poster\'s website'; $lang['ICQ_status'] = 'ICQ Status'; $lang['Edit_delete_post'] = 'Edit/Delete this post'; $lang['View_IP'] = 'View IP address of poster'; $lang['Delete_post'] = 'Delete this post'; $lang['wrote'] = 'wrote'; // proceeds the username and is followed by the quoted text $lang['Quote'] = 'Quote'; // comes before bbcode quote output. $lang['Code'] = 'Code'; // comes before bbcode code output. $lang['Edited_time_total'] = 'Last edited by %s on %s; edited %d time in total'; // Last edited by me on 12 Oct 2001; edited 1 time in total $lang['Edited_times_total'] = 'Last edited by %s on %s; edited %d times in total'; // Last edited by me on 12 Oct 2001; edited 2 times in total $lang['Lock_topic'] = 'Lock this topic'; $lang['Unlock_topic'] = 'Unlock this topic'; $lang['Move_topic'] = 'Move this topic'; $lang['Delete_topic'] = 'Delete this topic'; $lang['Split_topic'] = 'Split this topic'; $lang['Stop_watching_topic'] = 'Stop watching this topic'; $lang['Start_watching_topic'] = 'Watch this topic for replies'; $lang['No_longer_watching'] = 'You are no longer watching this topic'; $lang['You_are_watching'] = 'You are now watching this topic'; $lang['Total_votes'] = 'Total Votes'; // // Posting/Replying (Not private messaging!) // $lang['Message_body'] = 'Message body'; $lang['Topic_review'] = 'Topic review'; $lang['No_post_mode'] = 'No post mode specified'; // If posting.php is called without a mode (newtopic/reply/delete/etc, shouldn't be shown normaly) $lang['Post_a_new_topic'] = 'Post a new topic'; $lang['Post_a_reply'] = 'Post a reply'; $lang['Post_topic_as'] = 'Post topic as'; $lang['Edit_Post'] = 'Edit post'; $lang['Options'] = 'Options'; $lang['Post_Announcement'] = 'Announcement'; $lang['Post_Sticky'] = 'Sticky'; $lang['Post_Normal'] = 'Normal'; $lang['Confirm_delete'] = 'Are you sure you want to delete this post?'; $lang['Confirm_delete_poll'] = 'Are you sure you want to delete this poll?'; $lang['Flood_Error'] = 'You cannot make another post so soon after your last; please try again in a short while.'; $lang['Empty_subject'] = 'You must specify a subject when posting a new topic.'; $lang['Empty_message'] = 'You must enter a message when posting.'; $lang['Forum_locked'] = 'This forum is locked: you cannot post, reply to, or edit topics.'; $lang['Topic_locked'] = 'This topic is locked: you cannot edit posts or make replies.'; $lang['No_post_id'] = 'You must select a post to edit'; $lang['No_topic_id'] = 'You must select a topic to reply to'; $lang['No_valid_mode'] = 'You can only post, reply, edit, or quote messages. Please return and try again.'; $lang['No_such_post'] = 'There is no such post. Please return and try again.'; $lang['Edit_own_posts'] = 'Sorry, but you can only edit your own posts.'; $lang['Delete_own_posts'] = 'Sorry, but you can only delete your own posts.'; $lang['Cannot_delete_replied'] = 'Sorry, but you may not delete posts that have been replied to.'; $lang['Cannot_delete_poll'] = 'Sorry, but you cannot delete an active poll.'; $lang['Empty_poll_title'] = 'You must enter a title for your poll.'; $lang['To_few_poll_options'] = 'You must enter at least two poll options.'; $lang['To_many_poll_options'] = 'You have tried to enter too many poll options.'; $lang['Post_has_no_poll'] = 'This post has no poll.'; $lang['Already_voted'] = 'You have already voted in this poll.'; $lang['No_vote_option'] = 'You must specify an option when voting.'; $lang['Add_poll'] = 'Add a Poll'; $lang['Add_poll_explain'] = 'If you do not want to add a poll to your topic, leave the fields blank.'; $lang['Poll_question'] = 'Poll question'; $lang['Poll_option'] = 'Poll option'; $lang['Add_option'] = 'Add option'; $lang['Update'] = 'Update'; $lang['Delete'] = 'Delete'; $lang['Poll_for'] = 'Run poll for'; $lang['Days'] = 'Days'; // This is used for the Run poll for ... Days + in admin_forums for pruning $lang['Poll_for_explain'] = '[ Enter 0 or leave blank for a never-ending poll ]'; $lang['Delete_poll'] = 'Delete Poll'; $lang['Disable_HTML_post'] = 'Disable HTML in this post'; $lang['Disable_BBCode_post'] = 'Disable BBCode in this post'; $lang['Disable_Smilies_post'] = 'Disable Smilies in this post'; $lang['HTML_is_ON'] = 'HTML is <u>ON</u>'; $lang['HTML_is_OFF'] = 'HTML is <u>OFF</u>'; $lang['BBCode_is_ON'] = '%sBBCode%s is <u>ON</u>'; // %s are replaced with URI pointing to FAQ $lang['BBCode_is_OFF'] = '%sBBCode%s is <u>OFF</u>'; $lang['Smilies_are_ON'] = 'Smilies are <u>ON</u>'; $lang['Smilies_are_OFF'] = 'Smilies are <u>OFF</u>'; $lang['Attach_signature'] = 'Attach signature (signatures can be changed in profile)'; $lang['Notify'] = 'Notify me when a reply is posted'; $lang['Stored'] = 'Your message has been entered successfully.'; $lang['Deleted'] = 'Your message has been deleted successfully.'; $lang['Poll_delete'] = 'Your poll has been deleted successfully.'; $lang['Vote_cast'] = 'Your vote has been cast.'; $lang['Topic_reply_notification'] = 'Topic Reply Notification'; $lang['bbcode_b_help'] = 'Bold text: [b]text[/b] (alt+b)'; $lang['bbcode_i_help'] = 'Italic text: [i]text[/i] (alt+i)'; $lang['bbcode_u_help'] = 'Underline text: [u]text[/u] (alt+u)'; $lang['bbcode_q_help'] = 'Quote text: [quote]text[/quote] (alt+q)'; $lang['bbcode_c_help'] = 'Code display: [code]code[/code] (alt+c)'; $lang['bbcode_l_help'] = 'List: [list]text[/list] (alt+l)'; $lang['bbcode_o_help'] = 'Ordered list: [list=]text[/list] (alt+o)'; $lang['bbcode_p_help'] = 'Insert image: [img]http://image_url[/img] (alt+p)'; $lang['bbcode_w_help'] = 'Insert URL: [url]http://url[/url] or [url=http://url]URL text[/url] (alt+w)'; $lang['bbcode_a_help'] = 'Close all open bbCode tags'; $lang['bbcode_s_help'] = 'Font color: [color=red]text[/color] Tip: you can also use color=#FF0000'; $lang['bbcode_f_help'] = 'Font size: [size=x-small]small text[/size]'; $lang['Emoticons'] = 'Emoticons'; $lang['More_emoticons'] = 'View more Emoticons'; $lang['Font_color'] = 'Font colour'; $lang['color_default'] = 'Default'; $lang['color_dark_red'] = 'Dark Red'; $lang['color_red'] = 'Red'; $lang['color_orange'] = 'Orange'; $lang['color_brown'] = 'Brown'; $lang['color_yellow'] = 'Yellow'; $lang['color_green'] = 'Green'; $lang['color_olive'] = 'Olive'; $lang['color_cyan'] = 'Cyan'; $lang['color_blue'] = 'Blue'; $lang['color_dark_blue'] = 'Dark Blue'; $lang['color_indigo'] = 'Indigo'; $lang['color_violet'] = 'Violet'; $lang['color_white'] = 'White'; $lang['color_black'] = 'Black'; $lang['Font_size'] = 'Font size'; $lang['font_tiny'] = 'Tiny'; $lang['font_small'] = 'Small'; $lang['font_normal'] = 'Normal'; $lang['font_large'] = 'Large'; $lang['font_huge'] = 'Huge'; $lang['Close_Tags'] = 'Close Tags'; $lang['Styles_tip'] = 'Tip: Styles can be applied quickly to selected text.'; // // Private Messaging // $lang['Private_Messaging'] = 'Private Messaging'; $lang['Login_check_pm'] = 'Log in to check your private messages'; $lang['New_pms'] = 'You have %d new messages'; // You have 2 new messages $lang['New_pm'] = 'You have %d new message'; // You have 1 new message $lang['No_new_pm'] = 'You have no new messages'; $lang['Unread_pms'] = 'You have %d unread messages'; $lang['Unread_pm'] = 'You have %d unread message'; $lang['No_unread_pm'] = 'You have no unread messages'; $lang['You_new_pm'] = 'A new private message is waiting for you in your Inbox'; $lang['You_new_pms'] = 'New private messages are waiting for you in your Inbox'; $lang['You_no_new_pm'] = 'No new private messages are waiting for you'; $lang['Unread_message'] = 'Unread message'; $lang['Read_message'] = 'Read message'; $lang['Read_pm'] = 'Read message'; $lang['Post_new_pm'] = 'Post message'; $lang['Post_reply_pm'] = 'Reply to message'; $lang['Post_quote_pm'] = 'Quote message'; $lang['Edit_pm'] = 'Edit message'; $lang['Inbox'] = 'Inbox'; $lang['Outbox'] = 'Outbox'; $lang['Savebox'] = 'Savebox'; $lang['Sentbox'] = 'Sentbox'; $lang['Flag'] = 'Flag'; $lang['Subject'] = 'Subject'; $lang['From'] = 'From'; $lang['To'] = 'To'; $lang['Date'] = 'Date'; $lang['Mark'] = 'Mark'; $lang['Sent'] = 'Sent'; $lang['Saved'] = 'Saved'; $lang['Delete_marked'] = 'Delete Marked'; $lang['Delete_all'] = 'Delete All'; $lang['Save_marked'] = 'Save Marked'; $lang['Save_message'] = 'Save Message'; $lang['Delete_message'] = 'Delete Message'; $lang['Display_messages'] = 'Display messages from previous'; // Followed by number of days/weeks/months $lang['All_Messages'] = 'All Messages'; $lang['No_messages_folder'] = 'You have no messages in this folder'; $lang['PM_disabled'] = 'Private messaging has been disabled on this board.'; $lang['Cannot_send_privmsg'] = 'Sorry, but the administrator has prevented you from sending private messages.'; $lang['No_to_user'] = 'You must specify a username to whom to send this message.'; $lang['No_such_user'] = 'Sorry, but no such user exists.'; $lang['Disable_HTML_pm'] = 'Disable HTML in this message'; $lang['Disable_BBCode_pm'] = 'Disable BBCode in this message'; $lang['Disable_Smilies_pm'] = 'Disable Smilies in this message'; $lang['Message_sent'] = 'Your message has been sent.'; $lang['Click_return_inbox'] = 'Click %sHere%s to return to your Inbox'; $lang['Click_return_index'] = 'Click %sHere%s to return to the Index'; $lang['Send_a_new_message'] = 'Send a new private message'; $lang['Send_a_reply'] = 'Reply to a private message'; $lang['Edit_message'] = 'Edit private message'; $lang['Notification_subject'] = 'New Private Message has arrived!'; $lang['Find_username'] = 'Find a username'; $lang['Find'] = 'Find'; $lang['No_match'] = 'No matches found.'; $lang['No_post_id'] = 'No post ID was specified'; $lang['No_such_folder'] = 'No such folder exists'; $lang['No_folder'] = 'No folder specified'; $lang['Mark_all'] = 'Mark all'; $lang['Unmark_all'] = 'Unmark all'; $lang['Confirm_delete_pm'] = 'Are you sure you want to delete this message?'; $lang['Confirm_delete_pms'] = 'Are you sure you want to delete these messages?'; $lang['Inbox_size'] = 'Your Inbox is %d%% full'; // eg. Your Inbox is 50% full $lang['Sentbox_size'] = 'Your Sentbox is %d%% full'; $lang['Savebox_size'] = 'Your Savebox is %d%% full'; $lang['Click_view_privmsg'] = 'Click %sHere%s to visit your Inbox'; // // Profiles/Registration // $lang['Viewing_user_profile'] = 'Viewing profile :: %s'; // %s is username $lang['About_user'] = 'All about %s'; // %s is username $lang['Preferences'] = 'Preferences'; $lang['Items_required'] = 'Items marked with a * are required unless stated otherwise.'; $lang['Registration_info'] = 'Registration Information'; $lang['Profile_info'] = 'Profile Information'; $lang['Profile_info_warn'] = 'This information will be publicly viewable'; $lang['Avatar_panel'] = 'Avatar control panel'; $lang['Avatar_gallery'] = 'Avatar gallery'; $lang['Website'] = 'Website'; $lang['Location'] = 'Location'; $lang['Contact'] = 'Contact'; $lang['Email_address'] = 'E-mail address'; $lang['Send_private_message'] = 'Send private message'; $lang['Hidden_email'] = '[ Hidden ]'; $lang['Interests'] = 'Interests'; $lang['Occupation'] = 'Occupation'; $lang['Poster_rank'] = 'Poster rank'; $lang['Total_posts'] = 'Total posts'; $lang['User_post_pct_stats'] = '%.2f%% of total'; // 1.25% of total $lang['User_post_day_stats'] = '%.2f posts per day'; // 1.5 posts per day $lang['Search_user_posts'] = 'Find all posts by %s'; // Find all posts by username $lang['No_user_id_specified'] = 'Sorry, but that user does not exist.'; $lang['Wrong_Profile'] = 'You cannot modify a profile that is not your own.'; $lang['Only_one_avatar'] = 'Only one type of avatar can be specified'; $lang['File_no_data'] = 'The file at the URL you gave contains no data'; $lang['No_connection_URL'] = 'A connection could not be made to the URL you gave'; $lang['Incomplete_URL'] = 'The URL you entered is incomplete'; $lang['Wrong_remote_avatar_format'] = 'The URL of the remote avatar is not valid'; $lang['No_send_account_inactive'] = 'Sorry, but your password cannot be retrieved because your account is currently inactive. Please contact the forum administrator for more information.'; $lang['Always_smile'] = 'Always enable Smilies'; $lang['Always_html'] = 'Always allow HTML'; $lang['Always_bbcode'] = 'Always allow BBCode'; $lang['Always_add_sig'] = 'Always attach my signature'; $lang['Always_notify'] = 'Always notify me of replies'; $lang['Always_notify_explain'] = 'Sends an e-mail when someone replies to a topic you have posted in. This can be changed whenever you post.'; $lang['Board_style'] = 'Board Style'; $lang['Board_lang'] = 'Board Language'; $lang['No_themes'] = 'No Themes In database'; $lang['Timezone'] = 'Timezone'; $lang['Date_format'] = 'Date format'; $lang['Date_format_explain'] = 'The syntax used is identical to the PHP <a href=\'http://www.php.net/date\' target=\'_other\'>date()</a> function.'; $lang['Signature'] = 'Signature'; $lang['Signature_explain'] = 'This is a block of text that can be added to posts you make. There is a %d character limit'; $lang['Public_view_email'] = 'Always show my e-mail address'; $lang['Current_password'] = 'Current password'; $lang['New_password'] = 'New password'; $lang['Confirm_password'] = 'Confirm password'; $lang['Confirm_password_explain'] = 'You must confirm your current password if you wish to change it or alter your e-mail address'; $lang['password_if_changed'] = 'You only need to supply a password if you want to change it'; $lang['password_confirm_if_changed'] = 'You only need to confirm your password if you changed it above'; $lang['Avatar'] = 'Avatar'; $lang['Avatar_explain'] = 'Displays a small graphic image below your details in posts. Only one image can be displayed at a time, its width can be no greater than %d pixels, the height no greater than %d pixels, and the file size no more than %d KB.'; $lang['Upload_Avatar_file'] = 'Upload Avatar from your machine'; $lang['Upload_Avatar_URL'] = 'Upload Avatar from a URL'; $lang['Upload_Avatar_URL_explain'] = 'Enter the URL of the location containing the Avatar image, it will be copied to this site.'; $lang['Pick_local_Avatar'] = 'Select Avatar from the gallery'; $lang['Link_remote_Avatar'] = 'Link to off-site Avatar'; $lang['Link_remote_Avatar_explain'] = 'Enter the URL of the location containing the Avatar image you wish to link to.'; $lang['Avatar_URL'] = 'URL of Avatar Image'; $lang['Select_from_gallery'] = 'Select Avatar from gallery'; $lang['View_avatar_gallery'] = 'Show gallery'; $lang['Select_avatar'] = 'Select avatar'; $lang['Return_profile'] = 'Cancel avatar'; $lang['Select_category'] = 'Select category'; $lang['Delete_Image'] = 'Delete Image'; $lang['Current_Image'] = 'Current Image'; $lang['Notify_on_privmsg'] = 'Notify on new Private Message'; $lang['Popup_on_privmsg'] = 'Pop up window on new Private Message'; $lang['Popup_on_privmsg_explain'] = 'Some templates may open a new window to inform you when new private messages arrive.'; $lang['Hide_user'] = 'Hide your online status'; $lang['Profile_updated'] = 'Your profile has been updated'; $lang['Profile_updated_inactive'] = 'Your profile has been updated. However, you have changed vital details, thus your account is now inactive. Check your e-mail to find out how to reactivate your account, or if admin activation is required, wait for the administrator to reactivate it.'; $lang['Password_mismatch'] = 'The passwords you entered did not match.'; $lang['Current_password_mismatch'] = 'The current password you supplied does not match that stored in the database.'; $lang['Password_long'] = 'Your password must be no more than 32 characters.'; $lang['Username_taken'] = 'Sorry, but this username has already been taken.'; $lang['Username_invalid'] = 'Sorry, but this username contains an invalid character such as \'.'; $lang['Username_disallowed'] = 'Sorry, but this username has been disallowed.'; $lang['Email_taken'] = 'Sorry, but that e-mail address is already registered to a user.'; $lang['Email_banned'] = 'Sorry, but this e-mail address has been banned.'; $lang['Email_invalid'] = 'Sorry, but this e-mail address is invalid.'; $lang['Signature_too_long'] = 'Your signature is too long.'; $lang['Fields_empty'] = 'You must fill in the required fields.'; $lang['Avatar_filetype'] = 'The avatar filetype must be .jpg, .gif or .png'; $lang['Avatar_filesize'] = 'The avatar image file size must be less than %d KB'; // The avatar image file size must be less than 6 KB $lang['Avatar_imagesize'] = 'The avatar must be less than %d pixels wide and %d pixels high'; $lang['Welcome_subject'] = 'Welcome to %s Forums'; // Welcome to my.com forums $lang['New_account_subject'] = 'New user account'; $lang['Account_activated_subject'] = 'Account Activated'; $lang['Account_added'] = 'Thank you for registering. Your account has been created. You may now log in with your username and password'; $lang['Account_inactive'] = 'Your account has been created. However, this forum requires account activation. An activation key has been sent to the e-mail address you provided. Please check your e-mail for further information'; $lang['Account_inactive_admin'] = 'Your account has been created. However, this forum requires account activation by the administrator. An e-mail has been sent to them and you will be informed when your account has been activated'; $lang['Account_active'] = 'Your account has now been activated. Thank you for registering'; $lang['Account_active_admin'] = 'The account has now been activated'; $lang['Reactivate'] = 'Reactivate your account!'; $lang['Already_activated'] = 'You have already activated your account'; $lang['COPPA'] = 'Your account has been created but has to be approved. Please check your e-mail for details.'; $lang['Registration'] = 'Registration Agreement Terms'; $lang['Reg_agreement'] = 'While the administrators and moderators of this forum will attempt to remove or edit any generally objectionable material as quickly as possible, it is impossible to review every message. Therefore you acknowledge that all posts made to these forums express the views and opinions of the author and not the administrators, moderators or webmaster (except for posts by these people) and hence will not be held liable.<br /><br />You agree not to post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-oriented or any other material that may violate any applicable laws. Doing so may lead to you being immediately and permanently banned (and your service provider being informed). The IP address of all posts is recorded to aid in enforcing these conditions. You agree that the webmaster, administrator and moderators of this forum have the right to remove, edit, move or close any topic at any time should they see fit. As a user you agree to any information you have entered above being stored in a database. While this information will not be disclosed to any third party without your consent the webmaster, administrator and moderators cannot be held responsible for any hacking attempt that may lead to the data being compromised.<br /><br />This forum system uses cookies to store information on your local computer. These cookies do not contain any of the information you have entered above; they serve only to improve your viewing pleasure. The e-mail address is used only for confirming your registration details and password (and for sending new passwords should you forget your current one).<br /><br />By clicking Register below you agree to be bound by these conditions.'; $lang['Agree_under_13'] = 'I Agree to these terms and am <b>under</b> 13 years of age'; $lang['Agree_over_13'] = 'I Agree to these terms and am <b>over</b> or <b>exactly</b> 13 years of age'; $lang['Agree_not'] = 'I do not agree to these terms'; $lang['Wrong_activation'] = 'The activation key you supplied does not match any in the database.'; $lang['Send_password'] = 'Send me a new password'; $lang['Password_updated'] = 'A new password has been created; please check your e-mail for details on how to activate it.'; $lang['No_email_match'] = 'The e-mail address you supplied does not match the one listed for that username.'; $lang['New_password_activation'] = 'New password activation'; $lang['Password_activated'] = 'Your account has been re-activated. To log in, please use the password supplied in the e-mail you received.'; $lang['Send_email_msg'] = 'Send an e-mail message'; $lang['No_user_specified'] = 'No user was specified'; $lang['User_prevent_email'] = 'This user does not wish to receive e-mail. Try sending them a private message.'; $lang['User_not_exist'] = 'That user does not exist'; $lang['CC_email'] = 'Send a copy of this e-mail to yourself'; $lang['Email_message_desc'] = 'This message will be sent as plain text, so do not include any HTML or BBCode. The return address for this message will be set to your e-mail address.'; $lang['Flood_email_limit'] = 'You cannot send another e-mail at this time. Try again later.'; $lang['Recipient'] = 'Recipient'; $lang['Email_sent'] = 'The e-mail has been sent.'; $lang['Send_email'] = 'Send e-mail'; $lang['Empty_subject_email'] = 'You must specify a subject for the e-mail.'; $lang['Empty_message_email'] = 'You must enter a message to be e-mailed.'; // // Visual confirmation system strings // $lang['Confirm_code_wrong'] = 'The confirmation code you entered was incorrect'; $lang['Too_many_registers'] = 'You have exceeded the number of registration attempts for this session. Please try again later.'; $lang['Confirm_code_impaired'] = 'If you are visually impaired or cannot otherwise read this code please contact the %sAdministrator%s for help.'; $lang['Confirm_code'] = 'Confirmation code'; $lang['Confirm_code_explain'] = 'Enter the code exactly as you see it. The code is case sensitive and zero has a diagonal line through it.'; // // Memberslist // $lang['Select_sort_method'] = 'Select sort method'; $lang['Sort'] = 'Sort'; $lang['Sort_Top_Ten'] = 'Top Ten Posters'; $lang['Sort_Joined'] = 'Joined Date'; $lang['Sort_Username'] = 'Username'; $lang['Sort_Location'] = 'Location'; $lang['Sort_Posts'] = 'Total posts'; $lang['Sort_Email'] = 'Email'; $lang['Sort_Website'] = 'Website'; $lang['Sort_Ascending'] = 'Ascending'; $lang['Sort_Descending'] = 'Descending'; $lang['Order'] = 'Order'; // // Search // $lang['Search_query'] = 'Search Query'; $lang['Search_options'] = 'Search Options'; $lang['Search_keywords'] = 'Search for Keywords'; $lang['Search_keywords_explain'] = 'You can use <u>AND</u> to define words which must be in the results, <u>OR</u> to define words which may be in the result and <u>NOT</u> to define words which should not be in the result. Use * as a wildcard for partial matches'; $lang['Search_author'] = 'Search for Author'; $lang['Search_author_explain'] = 'Use * as a wildcard for partial matches'; $lang['Search_for_any'] = 'Search for any terms or use query as entered'; $lang['Search_for_all'] = 'Search for all terms'; $lang['Search_title_msg'] = 'Search topic title and message text'; $lang['Search_msg_only'] = 'Search message text only'; $lang['Return_first'] = 'Return first'; // followed by xxx characters in a select box $lang['characters_posts'] = 'characters of posts'; $lang['Search_previous'] = 'Search previous'; // followed by days, weeks, months, year, all in a select box $lang['Sort_by'] = 'Sort by'; $lang['Sort_Time'] = 'Post Time'; $lang['Sort_Post_Subject'] = 'Post Subject'; $lang['Sort_Topic_Title'] = 'Topic Title'; $lang['Sort_Author'] = 'Author'; $lang['Sort_Forum'] = 'Forum'; $lang['Display_results'] = 'Display results as'; $lang['All_available'] = 'All available'; $lang['No_searchable_forums'] = 'You do not have permissions to search any forum on this site.'; $lang['No_search_match'] = 'No topics or posts met your search criteria'; $lang['Found_search_match'] = 'Search found %d match'; // eg. Search found 1 match $lang['Found_search_matches'] = 'Search found %d matches'; // eg. Search found 24 matches $lang['Search_Flood_Error'] = 'You cannot make another search so soon after your last; please try again in a short while.'; $lang['Close_window'] = 'Close Window'; // // Auth related entries // // Note the %s will be replaced with one of the following 'user' arrays $lang['Sorry_auth_announce'] = 'Sorry, but only %s can post announcements in this forum.'; $lang['Sorry_auth_sticky'] = 'Sorry, but only %s can post sticky messages in this forum.'; $lang['Sorry_auth_read'] = 'Sorry, but only %s can read topics in this forum.'; $lang['Sorry_auth_post'] = 'Sorry, but only %s can post topics in this forum.'; $lang['Sorry_auth_reply'] = 'Sorry, but only %s can reply to posts in this forum.'; $lang['Sorry_auth_edit'] = 'Sorry, but only %s can edit posts in this forum.'; $lang['Sorry_auth_delete'] = 'Sorry, but only %s can delete posts in this forum.'; $lang['Sorry_auth_vote'] = 'Sorry, but only %s can vote in polls in this forum.'; // These replace the %s in the above strings $lang['Auth_Anonymous_Users'] = '<b>anonymous users</b>'; $lang['Auth_Registered_Users'] = '<b>registered users</b>'; $lang['Auth_Users_granted_access'] = '<b>users granted special access</b>'; $lang['Auth_Moderators'] = '<b>moderators</b>'; $lang['Auth_Administrators'] = '<b>administrators</b>'; $lang['Not_Moderator'] = 'You are not a moderator of this forum.'; $lang['Not_Authorised'] = 'Not Authorised'; $lang['You_been_banned'] = 'You have been banned from this forum.<br />Please contact the webmaster or board administrator for more information.'; // // Viewonline // $lang['Reg_users_zero_online'] = 'There are 0 Registered users and '; // There are 5 Registered and $lang['Reg_users_online'] = 'There are %d Registered users and '; // There are 5 Registered and $lang['Reg_user_online'] = 'There is %d Registered user and '; // There is 1 Registered and $lang['Hidden_users_zero_online'] = '0 Hidden users online'; // 6 Hidden users online $lang['Hidden_users_online'] = '%d Hidden users online'; // 6 Hidden users online $lang['Hidden_user_online'] = '%d Hidden user online'; // 6 Hidden users online $lang['Guest_users_online'] = 'There are %d Guest users online'; // There are 10 Guest users online $lang['Guest_users_zero_online'] = 'There are 0 Guest users online'; // There are 10 Guest users online $lang['Guest_user_online'] = 'There is %d Guest user online'; // There is 1 Guest user online $lang['No_users_browsing'] = 'There are no users currently browsing this forum'; $lang['Online_explain'] = 'This data is based on users active over the past five minutes'; $lang['Forum_Location'] = 'Forum Location'; $lang['Last_updated'] = 'Last Updated'; $lang['Forum_index'] = 'Forum index'; $lang['Logging_on'] = 'Logging on'; $lang['Posting_message'] = 'Posting a message'; $lang['Searching_forums'] = 'Searching forums'; $lang['Viewing_profile'] = 'Viewing profile'; $lang['Viewing_online'] = 'Viewing who is online'; $lang['Viewing_member_list'] = 'Viewing member list'; $lang['Viewing_priv_msgs'] = 'Viewing Private Messages'; $lang['Viewing_FAQ'] = 'Viewing FAQ'; // // Moderator Control Panel // $lang['Mod_CP'] = 'Moderator Control Panel'; $lang['Mod_CP_explain'] = 'Using the form below you can perform mass moderation operations on this forum. You can lock, unlock, move or delete any number of topics.'; $lang['Select'] = 'Select'; $lang['Delete'] = 'Delete'; $lang['Move'] = 'Move'; $lang['Lock'] = 'Lock'; $lang['Unlock'] = 'Unlock'; $lang['Topics_Removed'] = 'The selected topics have been successfully removed from the database.'; $lang['Topics_Locked'] = 'The selected topics have been locked.'; $lang['Topics_Moved'] = 'The selected topics have been moved.'; $lang['Topics_Unlocked'] = 'The selected topics have been unlocked.'; $lang['No_Topics_Moved'] = 'No topics were moved.'; $lang['Confirm_delete_topic'] = 'Are you sure you want to remove the selected topic/s?'; $lang['Confirm_lock_topic'] = 'Are you sure you want to lock the selected topic/s?'; $lang['Confirm_unlock_topic'] = 'Are you sure you want to unlock the selected topic/s?'; $lang['Confirm_move_topic'] = 'Are you sure you want to move the selected topic/s?'; $lang['Move_to_forum'] = 'Move to forum'; $lang['Leave_shadow_topic'] = 'Leave shadow topic in old forum.'; $lang['Split_Topic'] = 'Split Topic Control Panel'; $lang['Split_Topic_explain'] = 'Using the form below you can split a topic in two, either by selecting the posts individually or by splitting at a selected post'; $lang['Split_title'] = 'New topic title'; $lang['Split_forum'] = 'Forum for new topic'; $lang['Split_posts'] = 'Split selected posts'; $lang['Split_after'] = 'Split from selected post'; $lang['Topic_split'] = 'The selected topic has been split successfully'; $lang['Too_many_error'] = 'You have selected too many posts. You can only select one post to split a topic after!'; $lang['None_selected'] = 'You have not selected any topics to perform this operation on. Please go back and select at least one.'; $lang['New_forum'] = 'New forum'; $lang['This_posts_IP'] = 'IP address for this post'; $lang['Other_IP_this_user'] = 'Other IP addresses this user has posted from'; $lang['Users_this_IP'] = 'Users posting from this IP address'; $lang['IP_info'] = 'IP Information'; $lang['Lookup_IP'] = 'Look up IP address'; // // Timezones ... for display on each page // $lang['All_times'] = 'All times are %s'; // eg. All times are GMT - 12 Hours (times from next block) $lang['-12'] = 'GMT - 12 Hours'; $lang['-11'] = 'GMT - 11 Hours'; $lang['-10'] = 'GMT - 10 Hours'; $lang['-9'] = 'GMT - 9 Hours'; $lang['-8'] = 'GMT - 8 Hours'; $lang['-7'] = 'GMT - 7 Hours'; $lang['-6'] = 'GMT - 6 Hours'; $lang['-5'] = 'GMT - 5 Hours'; $lang['-4'] = 'GMT - 4 Hours'; $lang['-3.5'] = 'GMT - 3.5 Hours'; $lang['-3'] = 'GMT - 3 Hours'; $lang['-2'] = 'GMT - 2 Hours'; $lang['-1'] = 'GMT - 1 Hours'; $lang['0'] = 'GMT'; $lang['1'] = 'GMT + 1 Hour'; $lang['2'] = 'GMT + 2 Hours'; $lang['3'] = 'GMT + 3 Hours'; $lang['3.5'] = 'GMT + 3.5 Hours'; $lang['4'] = 'GMT + 4 Hours'; $lang['4.5'] = 'GMT + 4.5 Hours'; $lang['5'] = 'GMT + 5 Hours'; $lang['5.5'] = 'GMT + 5.5 Hours'; $lang['6'] = 'GMT + 6 Hours'; $lang['6.5'] = 'GMT + 6.5 Hours'; $lang['7'] = 'GMT + 7 Hours'; $lang['8'] = 'GMT + 8 Hours'; $lang['9'] = 'GMT + 9 Hours'; $lang['9.5'] = 'GMT + 9.5 Hours'; $lang['10'] = 'GMT + 10 Hours'; $lang['11'] = 'GMT + 11 Hours'; $lang['12'] = 'GMT + 12 Hours'; $lang['13'] = 'GMT + 13 Hours'; // These are displayed in the timezone select box $lang['tz']['-12'] = 'GMT - 12 Hours'; $lang['tz']['-11'] = 'GMT - 11 Hours'; $lang['tz']['-10'] = 'GMT - 10 Hours'; $lang['tz']['-9'] = 'GMT - 9 Hours'; $lang['tz']['-8'] = 'GMT - 8 Hours'; $lang['tz']['-7'] = 'GMT - 7 Hours'; $lang['tz']['-6'] = 'GMT - 6 Hours'; $lang['tz']['-5'] = 'GMT - 5 Hours'; $lang['tz']['-4'] = 'GMT - 4 Hours'; $lang['tz']['-3.5'] = 'GMT - 3.5 Hours'; $lang['tz']['-3'] = 'GMT - 3 Hours'; $lang['tz']['-2'] = 'GMT - 2 Hours'; $lang['tz']['-1'] = 'GMT - 1 Hours'; $lang['tz']['0'] = 'GMT'; $lang['tz']['1'] = 'GMT + 1 Hour'; $lang['tz']['2'] = 'GMT + 2 Hours'; $lang['tz']['3'] = 'GMT + 3 Hours'; $lang['tz']['3.5'] = 'GMT + 3.5 Hours'; $lang['tz']['4'] = 'GMT + 4 Hours'; $lang['tz']['4.5'] = 'GMT + 4.5 Hours'; $lang['tz']['5'] = 'GMT + 5 Hours'; $lang['tz']['5.5'] = 'GMT + 5.5 Hours'; $lang['tz']['6'] = 'GMT + 6 Hours'; $lang['tz']['6.5'] = 'GMT + 6.5 Hours'; $lang['tz']['7'] = 'GMT + 7 Hours'; $lang['tz']['8'] = 'GMT + 8 Hours'; $lang['tz']['9'] = 'GMT + 9 Hours'; $lang['tz']['9.5'] = 'GMT + 9.5 Hours'; $lang['tz']['10'] = 'GMT + 10 Hours'; $lang['tz']['11'] = 'GMT + 11 Hours'; $lang['tz']['12'] = 'GMT + 12 Hours'; $lang['tz']['13'] = 'GMT + 13 Hours'; $lang['datetime']['Sunday'] = 'Sunday'; $lang['datetime']['Monday'] = 'Monday'; $lang['datetime']['Tuesday'] = 'Tuesday'; $lang['datetime']['Wednesday'] = 'Wednesday'; $lang['datetime']['Thursday'] = 'Thursday'; $lang['datetime']['Friday'] = 'Friday'; $lang['datetime']['Saturday'] = 'Saturday'; $lang['datetime']['Sun'] = 'Sun'; $lang['datetime']['Mon'] = 'Mon'; $lang['datetime']['Tue'] = 'Tue'; $lang['datetime']['Wed'] = 'Wed'; $lang['datetime']['Thu'] = 'Thu'; $lang['datetime']['Fri'] = 'Fri'; $lang['datetime']['Sat'] = 'Sat'; $lang['datetime']['January'] = 'January'; $lang['datetime']['February'] = 'February'; $lang['datetime']['March'] = 'March'; $lang['datetime']['April'] = 'April'; $lang['datetime']['May'] = 'May'; $lang['datetime']['June'] = 'June'; $lang['datetime']['July'] = 'July'; $lang['datetime']['August'] = 'August'; $lang['datetime']['September'] = 'September'; $lang['datetime']['October'] = 'October'; $lang['datetime']['November'] = 'November'; $lang['datetime']['December'] = 'December'; $lang['datetime']['Jan'] = 'Jan'; $lang['datetime']['Feb'] = 'Feb'; $lang['datetime']['Mar'] = 'Mar'; $lang['datetime']['Apr'] = 'Apr'; $lang['datetime']['May'] = 'May'; $lang['datetime']['Jun'] = 'Jun'; $lang['datetime']['Jul'] = 'Jul'; $lang['datetime']['Aug'] = 'Aug'; $lang['datetime']['Sep'] = 'Sep'; $lang['datetime']['Oct'] = 'Oct'; $lang['datetime']['Nov'] = 'Nov'; $lang['datetime']['Dec'] = 'Dec'; // // Errors (not related to a // specific failure on a page) // $lang['Information'] = 'Information'; $lang['Critical_Information'] = 'Critical Information'; $lang['General_Error'] = 'General Error'; $lang['Critical_Error'] = 'Critical Error'; $lang['An_error_occured'] = 'An Error Occurred'; $lang['A_critical_error'] = 'A Critical Error Occurred'; $lang['Admin_reauthenticate'] = 'To administer the board you must re-authenticate yourself.'; $lang['Login_attempts_exceeded'] = 'The maximum number of %s login attempts has been exceeded. You are not allowed to login for the next %s minutes.'; $lang['Please_remove_install_contrib'] = 'Please ensure both the install/ and contrib/ directories are deleted'; // // That's all, Folks! // ------------------------------------------------- // Begin Simple Subforums MOD $lang['Subforums'] = 'Subforums'; // End Simple Subforums MOD ?> --- NEW FILE: lang_admin.php --- <?php /*************************************************************************** * lang_admin.php [English] * ------------------- * begin : Sat Dec 16 2000 * copyright : (C) 2001 The phpBB Group * email : su...@ph... * * $Id: lang_admin.php,v 1.1 2008/03/10 06:02:32 orynider 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. * ***************************************************************************/ /* CONTRIBUTORS 2002-12-15 Philip M. White (pw...@ma...) Fixed many minor grammatical mistakes */ // // Format is same as lang_main // // // Modules, this replaces the keys used // in the modules[][] arrays in each module file // $lang['General'] = 'General Admin'; $lang['Users'] = 'User Admin'; $lang['Groups'] = 'Group Admin'; $lang['Forums'] = 'Forum Admin'; $lang['Styles'] = 'Styles Admin'; $lang['Configuration'] = 'Configuration'; $lang['Permissions'] = 'Permissions'; $lang['Manage'] = 'Management'; $lang['Disallow'] = 'Disallow names'; $lang['Prune'] = 'Pruning'; $lang['Mass_Email'] = 'Mass Email'; $lang['Ranks'] = 'Ranks'; $lang['Smilies'] = 'Smilies'; $lang['Ban_Management'] = 'Ban Control'; $lang['Word_Censor'] = 'Word Censors'; $lang['Export'] = 'Export'; $lang['Create_new'] = 'Create'; $lang['Add_new'] = 'Add'; $lang['Backup_DB'] = 'Backup Database'; $lang['Restore_DB'] = 'Restore Database'; // // Index // $lang['Admin'] = 'Administration'; $lang['Not_admin'] = 'You are not authorised to administer this board'; $lang['Welcome_phpBB'] = 'Welcome to phpBB'; $lang['Admin_intro'] = 'Thank you for choosing phpBB as your forum solution. This screen will give you a quick overview of all the various statistics of your board. You can get back to this page by clicking on the <u>Admin Index</u> link in the left pane. To return to the index of your board, click the phpBB logo also in the left pane. The other links on the left hand side of this screen will allow you to control every aspect of your forum experience. Each screen will have instructions on how to use the tools.'; $lang['Main_index'] = 'Forum Index'; $lang['Forum_stats'] = 'Forum Statistics'; $lang['Admin_Index'] = 'Admin Index'; $lang['Preview_forum'] = 'Preview Forum'; $lang['Click_return_admin_index'] = 'Click %sHere%s to return to the Admin Index'; $lang['Statistic'] = 'Statistic'; $lang['Value'] = 'Value'; $lang['Number_posts'] = 'Number of posts'; $lang['Posts_per_day'] = 'Posts per day'; $lang['Number_topics'] = 'Number of topics'; $lang['Topics_per_day'] = 'Topics per day'; $lang['Number_users'] = 'Number of users'; $lang['Users_per_day'] = 'Users per day'; $lang['Board_started'] = 'Board started'; $lang['Avatar_dir_size'] = 'Avatar directory size'; $lang['Database_size'] = 'Database size'; $lang['Gzip_compression'] ='Gzip compression'; $lang['Not_available'] = 'Not available'; $lang['ON'] = 'ON'; // This is for GZip compression $lang['OFF'] = 'OFF'; // // DB Utils // $lang['Database_Utilities'] = 'Database Utilities'; $lang['Restore'] = 'Restore'; $lang['Backup'] = 'Backup'; $lang['Restore_explain'] = 'This will perform a full restore of all phpBB tables from a saved file. If your server supports it, you may upload a gzip-compressed text file and it will automatically be decompressed. <b>WARNING</b>: This will overwrite any existing data. The restore may take a long time to process, so please do not move from this page until it is complete.'; $lang['Backup_explain'] = 'Here you can back up all your phpBB-related data. If you have any additional custom tables in the same database with phpBB that you would like to back up as well, please enter their names, separated by commas, in the Additional Tables textbox below. If your server supports it you may also gzip-compress the file to reduce its size before download.'; $lang['Backup_options'] = 'Backup options'; $lang['Start_backup'] = 'Start Backup'; $lang['Full_backup'] = 'Full backup'; $lang['Structure_backup'] = 'Structure-Only backup'; $lang['Data_backup'] = 'Data only backup'; $lang['Additional_tables'] = 'Additional tables'; $lang['Gzip_compress'] = 'Gzip compress file'; $lang['Select_file'] = 'Select a file'; $lang['Start_Restore'] = 'Start Restore'; $lang['Restore_success'] = 'The Database has been successfully restored.<br /><br />Your board should be back to the state it was when the backup was made.'; $lang['Backup_download'] = 'Your download will start shortly; please wait until it begins.'; $lang['Backups_not_supported'] = 'Sorry, but database backups are not currently supported for your database system.'; $lang['Restore_Error_uploading'] = 'Error in uploading the backup file'; $lang['Restore_Error_filename'] = 'Filename problem; please try an alternative file'; $lang['Restore_Error_decompress'] = 'Cannot decompress a gzip file; please upload a plain text version'; $lang['Restore_Error_no_file'] = 'No file was uploaded'; // // Auth pages // $lang['Select_a_User'] = 'Select a User'; $lang['Select_a_Group'] = 'Select a Group'; $lang['Select_a_Forum'] = 'Select a Forum'; $lang['Auth_Control_User'] = 'User Permissions Control'; $lang['Auth_Control_Group'] = 'Group Permissions Control'; $lang['Auth_Control_Forum'] = 'Forum Permissions Control'; $lang['Look_up_User'] = 'Look up User'; $lang['Look_up_Group'] = 'Look up Group'; $lang['Look_up_Forum'] = 'Look up Forum'; $lang['Group_auth_explain'] = 'Here you can alter the permissions and moderator status assigned to each user group. Do not forget when changing group permissions that individual user permissions may still allow the user entry to forums, etc. You will be warned if this is the case.'; $lang['User_auth_explain'] = 'Here you can alter the permissions and moderator status assigned to each individual user. Do not forget when changing user permissions that group permissions may still allow the user entry to forums, etc. You will be warned if this is the case.'; $lang['Forum_auth_explain'] = 'Here you can alter the authorisation levels of each forum. You will have both a simple and advanced method for doing this, where advanced offers greater control of each forum operation. Remember that changing the permission level of forums will affect which users can carry out the various operations within them.'; $lang['Simple_mode'] = 'Simple Mode'; $lang['Advanced_mode'] = 'Advanced Mode'; $lang['Moderator_status'] = 'Moderator status'; $lang['Allowed_Access'] = 'Allowed Access'; $lang['Disallowed_Access'] = 'Disallowed Access'; $lang['Is_Moderator'] = 'Is Moderator'; $lang['Not_Moderator'] = 'Not Moderator'; $lang['Conflict_warning'] = 'Authorisation Conflict Warning'; $lang['Conflict_access_userauth'] = 'This user still has access rights to this forum via group membership. You may want to alter the group permissions or remove this user the group to fully prevent them having access rights. The groups granting rights (and the forums involved) are noted below.'; $lang['Conflict_mod_userauth'] = 'This user still has moderator rights to this forum via group membership. You may want to alter the group permissions or remove this user the group to fully prevent them having moderator rights. The groups granting rights (and the forums involved) are noted below.'; $lang['Conflict_access_groupauth'] = 'The following user (or users) still have access rights to this forum via their user permission settings. You may want to alter the user permissions to fully prevent them having access rights. The users granted rights (and the forums involved) are noted below.'; $lang['Conflict_mod_groupauth'] = 'The following user (or users) still have moderator rights to this forum via their user permissions settings. You may want to alter the user permissions to fully prevent them having moderator rights. The users granted rights (and the forums involved) are noted below.'; $lang['Public'] = 'Public'; $lang['Private'] = 'Private'; $lang['Registered'] = 'Registered'; $lang['Administrators'] = 'Administrators'; $lang['Hidden'] = 'Hidden'; // These are displayed in the drop down boxes for advanced // mode forum auth, try and keep them short! $lang['Forum_ALL'] = 'ALL'; $lang['Forum_REG'] = 'REG'; $lang['Forum_PRIVATE'] = 'PRIVATE'; $lang['Forum_MOD'] = 'MOD'; $lang['Forum_ADMIN'] = 'ADMIN'; $lang['View'] = 'View'; $lang['Read'] = 'Read'; $lang['Post'] = 'Post'; $lang['Reply'] = 'Reply'; $lang['Edit'] = 'Edit'; $lang['Delete'] = 'Delete'; $lang['Sticky'] = 'Sticky'; $lang['Announce'] = 'Announce'; $lang['Vote'] = 'Vote'; $lang['Pollcreate'] = 'Poll create'; $lang['Permissions'] = 'Permissions'; $lang['Simple_Permission'] = 'Simple Permissions'; $lang['User_Level'] = 'User Level'; $lang['Auth_User'] = 'User'; $lang['Auth_Admin'] = 'Administrator'; $lang['Group_memberships'] = 'Usergroup memberships'; $lang['Usergroup_members'] = 'This group has the following members'; $lang['Forum_auth_updated'] = 'Forum permissions updated'; $lang['User_auth_updated'] = 'User permissions updated'; $lang['Group_auth_updated'] = 'Group permissions updated'; $lang['Auth_updated'] = 'Permissions have been updated'; $lang['Click_return_userauth'] = 'Click %sHere%s to return to User Permissions'; $lang['Click_return_groupauth'] = 'Click %sHere%s to return to Group Permissions'; $lang['Click_return_forumauth'] = 'Click %sHere%s to return to Forum Permissions'; // // Banning // $lang['Ban_control'] = 'Ban Control'; $lang['Ban_explain'] = 'Here you can control the banning of users. You can achieve this by banning either or both of a specific user or an individual or range of IP addresses or hostnames. These methods prevent a user from even reaching the index page of your board. To prevent a user from registering under a different username you can also specify a banned email address. Please note that banning an email address alone will not prevent that user from being able to log on or post to your board. You should use one of the first two methods to achieve this.'; $lang['Ban_explain_warn'] = 'Please note that entering a range of IP addresses results in all the addresses between the start and end being added to the banlist. Attempts will be made to minimise the number of addresses added to the database by introducing wildcards automatically where appropriate. If you really must enter a range, try to keep it small or better yet state specific addresses.'; $lang['Select_username'] = 'Select a Username'; $lang['Select_ip'] = 'Select an IP address'; $lang['Select_email'] = 'Select an Email address'; $lang['Ban_username'] = 'Ban one or more specific users'; $lang['Ban_username_explain'] = 'You can ban multiple users in one go using the appropriate combination of mouse and keyboard for your computer and browser'; $lang['Ban_IP'] = 'Ban one or more IP addresses or hostnames'; $lang['IP_hostname'] = 'IP addresses or hostnames'; $lang['Ban_IP_explain'] = 'To specify several different IP addresses or hostnames separate them with commas. To specify a range of IP addresses, separate the start and end with a hyphen (-); to specify a wildcard, use an asterisk (*).'; $lang['Ban_email'] = 'Ban one or more email addresses'; $lang['Ban_email_explain'] = 'To specify more than one email address, separate them with commas. To specify a wildcard username, use * like *@hotmail.com'; $lang['Unban_username'] = 'Un-ban one more specific users'; $lang['Unban_username_explain'] = 'You can unban multiple users in one go using the appropriate combination of mouse and keyboard for your computer and browser'; $lang['Unban_IP'] = 'Un-ban one or more IP addresses'; $lang['Unban_IP_explain'] = 'You can unban multiple IP addresses in one go using the appropriate combination of mouse and keyboard for your computer and browser'; $lang['Unban_email'] = 'Un-ban one or more email addresses'; $lang['Unban_email_explain'] = 'You can unban multiple email addresses in one go using the appropriate combination of mouse and keyboard for your computer and browser'; $lang['No_banned_users'] = 'No banned usernames'; $lang['No_banned_ip'] = 'No banned IP addresses'; $lang['No_banned_email'] = 'No banned email addresses'; $lang['Ban_update_sucessful'] = 'The banlist has been updated successfully'; $lang['Click_return_banadmin'] = 'Click %sHere%s to return to Ban Control'; // // Configuration // $lang['General_Config'] = 'General Configuration'; $lang['Config_explain'] = 'The form below will allow you to customize all the general board options. For User and Forum configurations use the related links on the left hand side.'; $lang['Click_return_config'] = 'Click %sHere%s to return to General Configuration'; $lang['General_settings'] = 'General Board Settings'; $lang['Server_name'] = 'Domain Name'; $lang['Server_name_explain'] = 'The domain name from which this board runs'; $lang['Script_path'] = 'Script path'; $lang['Script_path_explain'] = 'The path where phpBB2 is located relative to the domain name'; $lang['Server_port'] = 'Server Port'; $lang['Server_port_explain'] = 'The port your server is running on, usually 80. Only change if different'; $lang['Site_name'] = 'Site name'; $lang['Site_desc'] = 'Site description'; $lang['Board_disable'] = 'Disable board'; $lang['Board_disable_explain'] = 'This will make the board unavailable to users. Administrators are able to access the Administration Panel while the board is disabled.'; $lang['Acct_activation'] = 'Enable account activation'; $lang['Acc_None'] = 'None'; // These three entries are the type of activation $lang['Acc_User'] = 'User'; $lang['Acc_Admin'] = 'Admin'; $lang['Abilities_settings'] = 'User and Forum Basic Settings'; $lang['Max_poll_options'] = 'Max number of poll options'; $lang['Flood_Interval'] = 'Flood Interval'; $lang['Flood_Interval_explain'] = 'Number of seconds a user must wait between posts'; $lang['Board_email_form'] = 'User email via board'; $lang['Board_email_form_explain'] = 'Users send email to each other via this board'; $lang['Topics_per_page'] = 'Topics Per Page'; $lang['Posts_per_page'] = 'Posts Per Page'; $lang['Hot_threshold'] = 'Posts for Popular Threshold'; $lang['Default_style'] = 'Default Style'; $lang['Override_style'] = 'Override user style'; $lang['Override_style_explain'] = 'Replaces users style with the default'; $lang['Default_language'] = 'Default Language'; $lang['Date_format'] = 'Date Format'; $lang['System_timezone'] = 'System Timezone'; $lang['Enable_gzip'] = 'Enable GZip Compression'; $lang['Enable_prune'] = 'Enable Forum Pruning'; $lang['Allow_HTML'] = 'Allow HTML'; $lang['Allow_BBCode'] = 'Allow BBCode'; $lang['Allowed_tags'] = 'Allowed HTML tags'; $lang['Allowed_tags_explain'] = 'Separate tags with commas'; $lang['Allow_smilies'] = 'Allow Smilies'; $lang['Smilies_path'] = 'Smilies Storage Path'; $lang['Smilies_path_explain'] = 'Path under your phpBB root dir, e.g. images/smiles'; $lang['Allow_sig'] = 'Allow Signatures'; $lang['Max_sig_length'] = 'Maximum signature length'; $lang['Max_sig_length_explain'] = 'Maximum number of characters in user signatures'; $lang['Allow_name_change'] = 'Allow Username changes'; $lang['Avatar_settings'] = 'Avatar Settings'; $lang['Allow_local'] = 'Enable gallery avatars'; $lang['Allow_remote'] = 'Enable remote avatars'; $lang['Allow_remote_explain'] = 'Avatars linked to from another website'; $lang['Allow_upload'] = 'Enable avatar uploading'; $lang['Max_filesize'] = 'Maximum Avatar File Size'; $lang['Max_filesize_explain'] = 'For uploaded avatar files'; $lang['Max_avatar_size'] = 'Maximum Avat... [truncated message content] |
|
From: OryNider <ory...@us...> - 2008-03-10 06:02:36
|
Update of /cvsroot/mxbb/mx_mod_core/root/mx_mod/includes/shared/phpbb2/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24277/root/mx_mod/includes/shared/phpbb2/includes Added Files: bbcode.php functions.php functions_post.php Log Message: 1st time added --- NEW FILE: functions.php --- <?php /*************************************************************************** * functions.php * ------------------- * begin : Saturday, Feb 13, 2001 * copyright : (C) 2001 The phpBB Group * email : su...@ph... * * $Id: functions.php,v 1.1 2008/03/10 06:02:29 orynider 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 phpBB2 - function container // class phpBB2 { function get_db_stat($mode) { global $db; switch( $mode ) { case 'usercount': $sql = "SELECT COUNT(user_id) AS total FROM " . USERS_TABLE . " WHERE user_id <> " . ANONYMOUS; break; case 'newestuser': $sql = "SELECT user_id, username FROM " . USERS_TABLE . " WHERE user_id <> " . ANONYMOUS . " ORDER BY user_id DESC LIMIT 1"; break; case 'postcount': case 'topiccount': $sql = "SELECT SUM(forum_topics) AS topic_total, SUM(forum_posts) AS post_total FROM " . FORUMS_TABLE; break; } if ( !($result = $db->sql_query($sql)) ) { return false; } $row = $db->sql_fetchrow($result); switch ( $mode ) { case 'usercount': return $row['total']; break; case 'newestuser': return $row; break; case 'postcount': return $row['post_total']; break; case 'topiccount': return $row['topic_total']; break; } return false; } // added at phpBB 2.0.11 to properly format the username function phpbb_clean_username($username) { $username = substr(htmlspecialchars(str_replace("\'", "'", trim($username))), 0, 25); $username = self::phpbb_rtrim($username, "\\"); $username = str_replace("'", "\'", $username); return $username; } /** * This function is a wrapper for ltrim, as charlist is only supported in php >= 4.1.0 * Added in phpBB 2.0.18 */ function phpbb_ltrim($str, $charlist = false) { if ($charlist === false) { return ltrim($str); } $php_version = explode('.', PHP_VERSION); // php version < 4.1.0 if ((int) $php_version[0] < 4 || ((int) $php_version[0] == 4 && (int) $php_version[1] < 1)) { while ($str{0} == $charlist) { $str = substr($str, 1); } } else { $str = ltrim($str, $charlist); } return $str; } // added at phpBB 2.0.12 to fix a bug in PHP 4.3.10 (only supporting charlist in php >= 4.1.0) function phpbb_rtrim($str, $charlist = false) { if ($charlist === false) { return rtrim($str); } $php_version = explode('.', PHP_VERSION); // php version < 4.1.0 if ((int) $php_version[0] < 4 || ((int) $php_version[0] == 4 && (int) $php_version[1] < 1)) { while ($str{strlen($str)-1} == $charlist) { $str = substr($str, 0, strlen($str)-1); } } else { $str = rtrim($str, $charlist); } return $str; } /** * Our own generator of random values * This uses a constantly changing value as the base for generating the values * The board wide setting is updated once per page if this code is called * With thanks to Anthrax101 for the inspiration on this one * Added in phpBB 2.0.20 */ function dss_rand() { global $db, $board_config, $dss_seeded; $val = $board_config['rand_seed'] . microtime(); $val = md5($val); $board_config['rand_seed'] = md5($board_config['rand_seed'] . $val . 'a'); if($dss_seeded !== true) { $sql = "UPDATE " . CONFIG_TABLE . " SET config_value = '" . $board_config['rand_seed'] . "' WHERE config_name = 'rand_seed'"; if( !$db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, "Unable to reseed PRNG", "", __LINE__, __FILE__, $sql); } $dss_seeded = true; } return substr($val, 4, 16); } // // Get Userdata, $user can be username or user_id. If force_str is true, the username will be forced. // function get_userdata($user, $force_str = false) { global $db; if (!is_numeric($user) || $force_str) { $user = self::phpbb_clean_username($user); } else { $user = intval($user); } $sql = "SELECT * FROM " . USERS_TABLE . " WHERE "; $sql .= ( ( is_integer($user) ) ? "user_id = $user" : "username = '" . str_replace("\'", "''", $user) . "'" ) . " AND user_id <> " . ANONYMOUS; if ( !($result = $db->sql_query($sql)) ) { message_die(GENERAL_ERROR, 'Tried obtaining data for a non-existent user', '', __LINE__, __FILE__, $sql); } return ( $row = $db->sql_fetchrow($result) ) ? $row : false; } function make_jumpbox($action, $match_forum_id = 0) { global $template, $userdata, $lang, $db, $nav_links, $phpEx, $SID; // $is_auth = auth(AUTH_VIEW, AUTH_LIST_ALL, $userdata); $sql = "SELECT c.cat_id, c.cat_title, c.cat_order FROM " . CATEGORIES_TABLE . " c, " . FORUMS_TABLE . " f WHERE f.cat_id = c.cat_id GROUP BY c.cat_id, c.cat_title, c.cat_order ORDER BY c.cat_order"; if ( !($result = $db->sql_query($sql)) ) { message_die(GENERAL_ERROR, "Couldn't obtain category list.", "", __LINE__, __FILE__, $sql); } $category_rows = array(); while ( $row = $db->sql_fetchrow($result) ) { $category_rows[] = $row; } if ( $total_categories = count($category_rows) ) { $sql = "SELECT * FROM " . FORUMS_TABLE . " ORDER BY cat_id, forum_order"; if ( !($result = $db->sql_query($sql)) ) { message_die(GENERAL_ERROR, 'Could not obtain forums information', '', __LINE__, __FILE__, $sql); } $boxstring = '<select name="' . POST_FORUM_URL . '" onchange="if(this.options[this.selectedIndex].value != -1){ forms[\'jumpbox\'].submit() }"><option value="-1">' . $lang['Select_forum'] . '</option>'; $forum_rows = array(); while ( $row = $db->sql_fetchrow($result) ) { $forum_rows[] = $row; } if ( $total_forums = count($forum_rows) ) { for($i = 0; $i < $total_categories; $i++) { $boxstring_forums = ''; for($j = 0; $j < $total_forums; $j++) { if ( $forum_rows[$j]['cat_id'] == $category_rows[$i]['cat_id'] && $forum_rows[$j]['auth_view'] <= AUTH_REG ) { // if ( $forum_rows[$j]['cat_id'] == $category_rows[$i]['cat_id'] && $is_auth[$forum_rows[$j]['forum_id']]['auth_view'] ) // { $selected = ( $forum_rows[$j]['forum_id'] == $match_forum_id ) ? 'selected="selected"' : ''; $boxstring_forums .= '<option value="' . $forum_rows[$j]['forum_id'] . '"' . $selected . '>' . $forum_rows[$j]['forum_name'] . '</option>'; // // Add an array to $nav_links for the Mozilla navigation bar. // 'chapter' and 'forum' can create multiple items, therefore we are using a nested array. // $nav_links['chapter forum'][$forum_rows[$j]['forum_id']] = array ( 'url' => mx_append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$j]['forum_id']), 'title' => $forum_rows[$j]['forum_name'] ); } } if ( $boxstring_forums != '' ) { $boxstring .= '<option value="-1"> </option>'; $boxstring .= '<option value="-1">' . $category_rows[$i]['cat_title'] . '</option>'; $boxstring .= '<option value="-1">----------------</option>'; $boxstring .= $boxstring_forums; } } } $boxstring .= '</select>'; } else { $boxstring .= '<select name="' . POST_FORUM_URL . '" onchange="if(this.options[this.selectedIndex].value != -1){ forms[\'jumpbox\'].submit() }"></select>'; } // Let the jumpbox work again in sites having additional session id checks. // if ( !empty($SID) ) // { $boxstring .= '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; // } $template->set_filenames(array( 'jumpbox' => 'jumpbox.tpl') ); $template->assign_vars(array( 'L_GO' => $lang['Go'], 'L_JUMP_TO' => $lang['Jump_to'], 'L_SELECT_FORUM' => $lang['Select_forum'], 'S_JUMPBOX_SELECT' => $boxstring, 'S_JUMPBOX_ACTION' => mx_append_sid($action)) ); $template->assign_var_from_handle('JUMPBOX', 'jumpbox'); return; } // // Initialise user settings on page load /* function init_userprefs($userdata) { global $board_config, $theme, $images; global $template, $lang, $phpEx, $phpbb_root_path, $db; global $nav_links; if ( $userdata['user_id'] != ANONYMOUS ) { if ( !empty($userdata['user_lang'])) { $default_lang = self::phpbb_ltrim(basename(self::phpbb_rtrim($userdata['user_lang'])), "'"); } if ( !empty($userdata['user_dateformat']) ) { $board_config['default_dateformat'] = $userdata['user_dateformat']; } if ( isset($userdata['user_timezone']) ) { $board_config['board_timezone'] = $userdata['user_timezone']; } } else { $default_lang = self::phpbb_ltrim(basename(self::phpbb_rtrim($board_config['default_lang'])), "'"); } if ( !file_exists(@self::phpbb_realpath($phpbb_root_path . 'language/lang_' . $default_lang . '/lang_main.'.$phpEx)) ) { if ( $userdata['user_id'] != ANONYMOUS ) { // For logged in users, try the board default language next $default_lang = self::phpbb_ltrim(basename(self::phpbb_rtrim($board_config['default_lang'])), "'"); } else { // For guests it means the default language is not present, try english // This is a long shot since it means serious errors in the setup to reach here, // but english is part of a new install so it's worth us trying $default_lang = 'english'; } if ( !file_exists(@self::phpbb_realpath($phpbb_root_path . 'language/lang_' . $default_lang . '/lang_main.'.$phpEx)) ) { mx_message_die(CRITICAL_ERROR, 'Could not locate valid language pack'); } } // If we've had to change the value in any way then let's write it back to the database // before we go any further since it means there is something wrong with it if ( $userdata['user_id'] != ANONYMOUS && $userdata['user_lang'] !== $default_lang ) { $sql = 'UPDATE ' . USERS_TABLE . " SET user_lang = '" . $default_lang . "' WHERE user_lang = '" . $userdata['user_lang'] . "'"; if ( !($result = $db->sql_query($sql)) ) { mx_message_die(CRITICAL_ERROR, 'Could not update user language info'); } $userdata['user_lang'] = $default_lang; } elseif ( $userdata['user_id'] === ANONYMOUS && $board_config['default_lang'] !== $default_lang ) { $sql = 'UPDATE ' . CONFIG_TABLE . " SET config_value = '" . $default_lang . "' WHERE config_name = 'default_lang'"; if ( !($result = $db->sql_query($sql)) ) { mx_message_die(CRITICAL_ERROR, 'Could not update user language info'); } } $board_config['default_lang'] = $default_lang; include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx); if ( defined('IN_ADMIN') ) { if( !file_exists(@self::phpbb_realpath($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.'.$phpEx)) ) { $board_config['default_lang'] = 'english'; } include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx); } // // Set up style // if ( !$board_config['override_user_style'] ) { if ( $userdata['user_id'] != ANONYMOUS && $userdata['user_style'] > 0 ) { if ( $theme = setup_style($userdata['user_style']) ) { return; } } } $theme = setup_style($board_config['default_style']); // // Mozilla navigation bar // Default items that should be valid on all pages. // Defined here to correctly assign the Language Variables // and be able to change the variables within code. // $nav_links['top'] = array ( 'url' => mx_append_sid($phpbb_root_path . 'index.' . $phpEx), 'title' => sprintf($lang['Forum_Index'], $board_config['sitename']) ); $nav_links['search'] = array ( 'url' => mx_append_sid($phpbb_root_path . 'search.' . $phpEx), 'title' => $lang['Search'] ); $nav_links['help'] = array ( 'url' => mx_append_sid($phpbb_root_path . 'faq.' . $phpEx), 'title' => $lang['FAQ'] ); $nav_links['author'] = array ( 'url' => mx_append_sid($phpbb_root_path . 'memberlist.' . $phpEx), 'title' => $lang['Memberlist'] ); return; } */ /* function setup_style($style) { global $db, $board_config, $template, $images, $phpbb_root_path; $sql = 'SELECT * FROM ' . THEMES_TABLE . ' WHERE themes_id = ' . (int) $style; if ( !($result = $db->sql_query($sql)) ) { mx_message_die(CRITICAL_ERROR, 'Could not query database for theme info'); } if ( !($row = $db->sql_fetchrow($result)) ) { // We are trying to setup a style which does not exist in the database // Try to fallback to the board default (if the user had a custom style) // and then any users using this style to the default if it succeeds if ( $style != $board_config['default_style']) { $sql = 'SELECT * FROM ' . THEMES_TABLE . ' WHERE themes_id = ' . (int) $board_config['default_style']; if ( !($result = $db->sql_query($sql)) ) { mx_message_die(CRITICAL_ERROR, 'Could not query database for theme info'); } if ( $row = $db->sql_fetchrow($result) ) { $db->sql_freeresult($result); $sql = 'UPDATE ' . USERS_TABLE . ' SET user_style = ' . (int) $board_config['default_style'] . " WHERE user_style = $style"; if ( !($result = $db->sql_query($sql)) ) { mx_message_die(CRITICAL_ERROR, 'Could not update user theme info'); } } else { mx_message_die(CRITICAL_ERROR, "Could not get theme data for themes_id [$style]"); } } else { mx_message_die(CRITICAL_ERROR, "Could not get theme data for themes_id [$style]"); } } $template_path = 'templates/' ; $template_name = $row['template_name'] ; $template = new Template($phpbb_root_path . $template_path . $template_name); if ( $template ) { $current_template_path = $template_path . $template_name; @include($phpbb_root_path . $template_path . $template_name . '/' . $template_name . '.cfg'); if ( !defined('TEMPLATE_CONFIG') ) { mx_message_die(CRITICAL_ERROR, "Could not open $template_name template config file", '', __LINE__, __FILE__); } $img_lang = ( file_exists(@self::phpbb_realpath($phpbb_root_path . $current_template_path . '/images/lang_' . $board_config['default_lang'])) ) ? $board_config['default_lang'] : 'english'; while( list($key, $value) = @each($images) ) { if ( !is_array($value) ) { $images[$key] = str_replace('{LANG}', 'lang_' . $img_lang, $value); } } } return $row; } */ function encode_ip($dotquad_ip) { $ip_sep = explode('.', $dotquad_ip); return sprintf('%02x%02x%02x%02x', $ip_sep[0], $ip_sep[1], $ip_sep[2], $ip_sep[3]); } function decode_ip($int_ip) { $hexipbang = explode('.', chunk_split($int_ip, 2, '.')); return hexdec($hexipbang[0]). '.' . hexdec($hexipbang[1]) . '.' . hexdec($hexipbang[2]) . '.' . hexdec($hexipbang[3]); } // // Create date/time from format and timezone // function create_date($format, $gmepoch, $tz) { global $board_config, $lang; static $translate; if ( empty($translate) && $board_config['default_lang'] != 'english' ) { @reset($lang['datetime']); while ( list($match, $replace) = @each($lang['datetime']) ) { $translate[$match] = $replace; } } return ( !empty($translate) ) ? strtr(@gmdate($format, $gmepoch + (3600 * $tz)), $translate) : @gmdate($format, $gmepoch + (3600 * $tz)); } // // Pagination routine, generates // page number sequence // function generate_pagination($base_url, $num_items, $per_page, $start_item, $add_prevnext_text = TRUE) { global $lang; $total_pages = ceil($num_items/$per_page); if ( $total_pages == 1 ) { return ''; } $on_page = floor($start_item / $per_page) + 1; $page_string = ''; if ( $total_pages > 10 ) { $init_page_max = ( $total_pages > 3 ) ? 3 : $total_pages; for($i = 1; $i < $init_page_max + 1; $i++) { $page_string .= ( $i == $on_page ) ? '<b>' . $i . '</b>' : '<a href="' . mx_append_sid($base_url . "&start=" . ( ( $i - 1 ) * $per_page ) ) . '">' . $i . '</a>'; if ( $i < $init_page_max ) { $page_string .= ", "; } } if ( $total_pages > 3 ) { if ( $on_page > 1 && $on_page < $total_pages ) { $page_string .= ( $on_page > 5 ) ? ' ... ' : ', '; $init_page_min = ( $on_page > 4 ) ? $on_page : 5; $init_page_max = ( $on_page < $total_pages - 4 ) ? $on_page : $total_pages - 4; for($i = $init_page_min - 1; $i < $init_page_max + 2; $i++) { $page_string .= ($i == $on_page) ? '<b>' . $i . '</b>' : '<a href="' . mx_append_sid($base_url . "&start=" . ( ( $i - 1 ) * $per_page ) ) . '">' . $i . '</a>'; if ( $i < $init_page_max + 1 ) { $page_string .= ', '; } } $page_string .= ( $on_page < $total_pages - 4 ) ? ' ... ' : ', '; } else { $page_string .= ' ... '; } for($i = $total_pages - 2; $i < $total_pages + 1; $i++) { $page_string .= ( $i == $on_page ) ? '<b>' . $i . '</b>' : '<a href="' . mx_append_sid($base_url . "&start=" . ( ( $i - 1 ) * $per_page ) ) . '">' . $i . '</a>'; if( $i < $total_pages ) { $page_string .= ", "; } } } } else { for($i = 1; $i < $total_pages + 1; $i++) { $page_string .= ( $i == $on_page ) ? '<b>' . $i . '</b>' : '<a href="' . mx_append_sid($base_url . "&start=" . ( ( $i - 1 ) * $per_page ) ) . '">' . $i . '</a>'; if ( $i < $total_pages ) { $page_string .= ', '; } } } if ( $add_prevnext_text ) { if ( $on_page > 1 ) { $page_string = ' <a href="' . mx_append_sid($base_url . "&start=" . ( ( $on_page - 2 ) * $per_page ) ) . '">' . $lang['Previous'] . '</a> ' . $page_string; } if ( $on_page < $total_pages ) { $page_string .= ' <a href="' . mx_append_sid($base_url . "&start=" . ( $on_page * $per_page ) ) . '">' . $lang['Next'] . '</a>'; } } $page_string = $lang['Goto_page'] . ' ' . $page_string; return $page_string; } // // This does exactly what preg_quote() does in PHP 4-ish // If you just need the 1-parameter preg_quote call, then don't bother using this. // function phpbb_preg_quote($str, $delimiter) { $text = preg_quote($str); $text = str_replace($delimiter, '\\' . $delimiter, $text); return $text; } // // Obtain list of naughty words and build preg style replacement arrays for use by the // calling script, note that the vars are passed as references this just makes it easier // to return both sets of arrays // function obtain_word_list(&$orig_word, &$replacement_word) { global $db; // // Define censored word matches // $sql = "SELECT word, replacement FROM " . WORDS_TABLE; if( !($result = $db->sql_query($sql)) ) { mx_message_die(GENERAL_ERROR, 'Could not get censored words from database', '', __LINE__, __FILE__, $sql); } if ( $row = $db->sql_fetchrow($result) ) { do { $orig_word[] = '#\b(' . str_replace('\*', '\w*?', preg_quote($row['word'], '#')) . ')\b#i'; $replacement_word[] = $row['replacement']; } while ( $row = $db->sql_fetchrow($result) ); } return true; } // // This is general replacement for die(), allows templated // output in users (or default) language, etc. // // $msg_code can be one of these constants: // // GENERAL_MESSAGE : Use for any simple text message, eg. results // of an operation, authorisation failures, etc. // // GENERAL ERROR : Use for any error which occurs _AFTER_ the // common.php include and session code, ie. most errors in // pages/functions // // CRITICAL_MESSAGE : Used when basic config data is available but // a session may not exist, eg. banned users // // CRITICAL_ERROR : Used when config data cannot be obtained, eg // no database connection. Should _not_ be used in 99.5% of cases // /* function message_die($msg_code, $msg_text = '', $msg_title = '', $err_line = '', $err_file = '', $sql = '') { global $db, $template, $board_config, $theme, $lang, $phpEx, $phpbb_root_path, $nav_links, $gen_simple_header, $images; global $userdata, $user_ip, $session_length; global $starttime; if(defined('HAS_DIED')) { die("mx_message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in page_tail.php?"); } define('HAS_DIED', 1); $sql_store = $sql; // // Get SQL error if we are debugging. Do this as soon as possible to prevent // subsequent queries from overwriting the status of sql_error() // if ( DEBUG && ( $msg_code == GENERAL_ERROR || $msg_code == CRITICAL_ERROR ) ) { $sql_error = $db->sql_error(); $debug_text = ''; if ( $sql_error['message'] != '' ) { $debug_text .= '<br /><br />SQL Error : ' . $sql_error['code'] . ' ' . $sql_error['message']; } if ( $sql_store != '' ) { $debug_text .= "<br /><br />$sql_store"; } if ( $err_line != '' && $err_file != '' ) { $debug_text .= '<br /><br />Line : ' . $err_line . '<br />File : ' . basename($err_file); } } if( empty($userdata) && ( $msg_code == GENERAL_MESSAGE || $msg_code == GENERAL_ERROR ) ) { $userdata = session_pagestart($user_ip, PAGE_INDEX); init_userprefs($userdata); } // // If the header hasn't been output then do it // if ( !defined('HEADER_INC') && $msg_code != CRITICAL_ERROR ) { if ( empty($lang) ) { if ( !empty($board_config['default_lang']) ) { include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.'.$phpEx); } else { include($phpbb_root_path . 'language/lang_english/lang_main.'.$phpEx); } } if ( empty($template) || empty($theme) ) { $theme = setup_style($board_config['default_style']); } // // Load the Page Header // if ( !defined('IN_ADMIN') ) { include($phpbb_root_path . 'includes/page_header.'.$phpEx); } else { include($phpbb_root_path . 'admin/page_header_admin.'.$phpEx); } } switch($msg_code) { case GENERAL_MESSAGE: if ( $msg_title == '' ) { $msg_title = $lang['Information']; } break; case CRITICAL_MESSAGE: if ( $msg_title == '' ) { $msg_title = $lang['Critical_Information']; } break; case GENERAL_ERROR: if ( $msg_text == '' ) { $msg_text = $lang['An_error_occured']; } if ( $msg_title == '' ) { $msg_title = $lang['General_Error']; } break; case CRITICAL_ERROR: // // Critical errors mean we cannot rely on _ANY_ DB information being // available so we're going to dump out a simple echo'd statement // include($phpbb_root_path . 'language/lang_english/lang_main.'.$phpEx); if ( $msg_text == '' ) { $msg_text = $lang['A_critical_error']; } if ( $msg_title == '' ) { $msg_title = 'phpBB : <b>' . $lang['Critical_Error'] . '</b>'; } break; } // // Add on DEBUG info if we've enabled debug mode and this is an error. This // prevents debug info being output for general messages should DEBUG be // set TRUE by accident (preventing confusion for the end user!) // if ( DEBUG && ( $msg_code == GENERAL_ERROR || $msg_code == CRITICAL_ERROR ) ) { if ( $debug_text != '' ) { $msg_text = $msg_text . '<br /><br /><b><u>DEBUG MODE</u></b>' . $debug_text; } } if ( $msg_code != CRITICAL_ERROR ) { if ( !empty($lang[$msg_text]) ) { $msg_text = $lang[$msg_text]; } if ( !defined('IN_ADMIN') ) { $template->set_filenames(array( 'message_body' => 'message_body.tpl') ); } else { $template->set_filenames(array( 'message_body' => 'admin/admin_message_body.tpl') ); } $template->assign_vars(array( 'MESSAGE_TITLE' => $msg_title, 'MESSAGE_TEXT' => $msg_text) ); $template->pparse('message_body'); if ( !defined('IN_ADMIN') ) { include($phpbb_root_path . 'includes/page_tail.'.$phpEx); } else { include($phpbb_root_path . 'admin/page_footer_admin.'.$phpEx); } } else { echo "<html>\n<body>\n" . $msg_title . "\n<br /><br />\n" . $msg_text . "</body>\n</html>"; } exit; } */ // // This function is for compatibility with PHP 4.x's realpath() // function. In later versions of PHP, it needs to be called // to do checks with some functions. Older versions of PHP don't // seem to need this, so we'll just return the original value. // dougk_ff7 <October 5, 2002> function phpbb_realpath($path) { global $phpbb_root_path, $phpEx; return (!@function_exists('realpath') || !@realpath($phpbb_root_path . 'includes/functions.'.$phpEx)) ? $path : @realpath($path); } function redirect($url) { global $db, $board_config; if (!empty($db)) { $db->sql_close(); } if (strstr(urldecode($url), "\n") || strstr(urldecode($url), "\r") || strstr(urldecode($url), ';url')) { message_die(GENERAL_ERROR, 'Tried to redirect to potentially insecure url.'); } $server_protocol = ($board_config['cookie_secure']) ? 'https://' : 'http://'; $server_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['server_name'])); $server_port = ($board_config['server_port'] <> 80) ? ':' . trim($board_config['server_port']) : ''; $script_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['script_path'])); $script_name = ($script_name == '') ? $script_name : '/' . $script_name; $url = preg_replace('#^\/?(.*?)\/?$#', '/\1', trim($url)); // Redirect via an HTML form for PITA webservers if (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE'))) { header('Refresh: 0; URL=' . $server_protocol . $server_name . $server_port . $script_name . $url); echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta http-equiv="refresh" content="0; url=' . $server_protocol . $server_name . $server_port . $script_name . $url . '"><title>Redirect</title></head><body><div align="center">If your browser does not support meta redirection please click <a href="' . $server_protocol . $server_name . $server_port . $script_name . $url . '">HERE</a> to be redirected</div></body></html>'; exit; } // Behave as per HTTP/1.1 spec for others header('Location: ' . $server_protocol . $server_name . $server_port . $script_name . $url); exit; } } ?> --- NEW FILE: functions_post.php --- <?php /*************************************************************************** * functions_post.php * ------------------- * begin : Saturday, Feb 13, 2001 * copyright : (C) 2001 The phpBB Group * email : su...@ph... * * $Id: functions_post.php,v 1.1 2008/03/10 06:02:31 orynider 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_PHPBB')) { die('Hacking attempt'); } $html_entities_match = array('#&(?!(\#[0-9]+;))#', '#<#', '#>#', '#"#'); $html_entities_replace = array('&', '<', '>', '"'); $unhtml_specialchars_match = array('#>#', '#<#', '#"#', '#&#'); $unhtml_specialchars_replace = array('>', '<', '"', '&'); // // This function will prepare a posted message for // entry into the database. // function prepare_message($message, $html_on, $bbcode_on, $smile_on, $bbcode_uid = 0) { global $board_config, $html_entities_match, $html_entities_replace; // // Clean up the message // $message = trim($message); if ($html_on) { // If HTML is on, we try to make it safe // This approach is quite agressive and anything that does not look like a valid tag // is going to get converted to HTML entities $message = stripslashes($message); $html_match = '#<[^\w<]*(\w+)((?:"[^"]*"|\'[^\']*\'|[^<>\'"])+)?>#'; $matches = array(); $message_split = preg_split($html_match, $message); preg_match_all($html_match, $message, $matches); $message = ''; foreach ($message_split as $part) { $tag = array(array_shift($matches[0]), array_shift($matches[1]), array_shift($matches[2])); $message .= preg_replace($html_entities_match, $html_entities_replace, $part) . clean_html($tag); } $message = addslashes($message); $message = str_replace('"', '\"', $message); } else { $message = preg_replace($html_entities_match, $html_entities_replace, $message); } if($bbcode_on && $bbcode_uid != '') { $message = bbencode_first_pass($message, $bbcode_uid); } return $message; } function unprepare_message($message) { global $unhtml_specialchars_match, $unhtml_specialchars_replace; return preg_replace($unhtml_specialchars_match, $unhtml_specialchars_replace, $message); } // // Prepare a message for posting // function prepare_post(&$mode, &$post_data, &$bbcode_on, &$html_on, &$smilies_on, &$error_msg, &$username, &$bbcode_uid, &$subject, &$message, &$poll_title, &$poll_options, &$poll_length) { global $board_config, $userdata, $lang, $phpEx, $phpbb_root_path; // Check username if (!empty($username)) { $username = phpbb_clean_username($username); if (!$userdata['session_logged_in'] || ($userdata['session_logged_in'] && $username != $userdata['username'])) { include($phpbb_root_path . 'includes/functions_validate.'.$phpEx); $result = validate_username($username); if ($result['error']) { $error_msg .= (!empty($error_msg)) ? '<br />' . $result['error_msg'] : $result['error_msg']; } } else { $username = ''; } } // Check subject if (!empty($subject)) { $subject = htmlspecialchars(trim($subject)); } else if ($mode == 'newtopic' || ($mode == 'editpost' && $post_data['first_post'])) { $error_msg .= (!empty($error_msg)) ? '<br />' . $lang['Empty_subject'] : $lang['Empty_subject']; } // Check message if (!empty($message)) { $bbcode_uid = ($bbcode_on) ? make_bbcode_uid() : ''; $message = prepare_message(trim($message), $html_on, $bbcode_on, $smilies_on, $bbcode_uid); } else if ($mode != 'delete' && $mode != 'poll_delete') { $error_msg .= (!empty($error_msg)) ? '<br />' . $lang['Empty_message'] : $lang['Empty_message']; } // // Handle poll stuff // if ($mode == 'newtopic' || ($mode == 'editpost' && $post_data['first_post'])) { $poll_length = (isset($poll_length)) ? max(0, intval($poll_length)) : 0; if (!empty($poll_title)) { $poll_title = htmlspecialchars(trim($poll_title)); } if(!empty($poll_options)) { $temp_option_text = array(); while(list($option_id, $option_text) = @each($poll_options)) { $option_text = trim($option_text); if (!empty($option_text)) { $temp_option_text[intval($option_id)] = htmlspecialchars($option_text); } } $option_text = $temp_option_text; if (count($poll_options) < 2) { $error_msg .= (!empty($error_msg)) ? '<br />' . $lang['To_few_poll_options'] : $lang['To_few_poll_options']; } else if (count($poll_options) > $board_config['max_poll_options']) { $error_msg .= (!empty($error_msg)) ? '<br />' . $lang['To_many_poll_options'] : $lang['To_many_poll_options']; } else if ($poll_title == '') { $error_msg .= (!empty($error_msg)) ? '<br />' . $lang['Empty_poll_title'] : $lang['Empty_poll_title']; } } } return; } // // Post a new topic/reply/poll or edit existing post/poll // function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, $post_username, $post_subject, $post_message, $poll_title, &$poll_options, &$poll_length) { global $board_config, $lang, $db, $phpbb_root_path, $phpEx; global $userdata, $user_ip; include($phpbb_root_path . 'includes/functions_search.'.$phpEx); $current_time = time(); if ($mode == 'newtopic' || $mode == 'reply' || $mode == 'editpost') { // // Flood control // $where_sql = ($userdata['user_id'] == ANONYMOUS) ? "poster_ip = '$user_ip'" : 'poster_id = ' . $userdata['user_id']; $sql = "SELECT MAX(post_time) AS last_post_time FROM " . POSTS_TABLE . " WHERE $where_sql"; if ($result = $db->sql_query($sql)) { if ($row = $db->sql_fetchrow($result)) { if (intval($row['last_post_time']) > 0 && ($current_time - intval($row['last_post_time'])) < intval($board_config['flood_interval'])) { mx_message_die(GENERAL_MESSAGE, $lang['Flood_Error']); } } } } if ($mode == 'editpost') { remove_search_post($post_id); } if ($mode == 'newtopic' || ($mode == 'editpost' && $post_data['first_post'])) { $topic_vote = (!empty($poll_title) && count($poll_options) >= 2) ? 1 : 0; $sql = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('$post_subject', " . $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . " WHERE topic_id = $topic_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql); } if ($mode == 'newtopic') { $topic_id = $db->sql_nextid(); } } $edited_sql = ($mode == 'editpost' && !$post_data['last_post'] && $post_data['poster_post']) ? ", post_edit_time = $current_time, post_edit_count = post_edit_count + 1 " : ""; $sql = ($mode != "editpost") ? "INSERT INTO " . POSTS_TABLE . " (topic_id, forum_id, poster_id, post_username, post_time, poster_ip, enable_bbcode, enable_html, enable_smilies, enable_sig) VALUES ($topic_id, $forum_id, " . $userdata['user_id'] . ", '$post_username', $current_time, '$user_ip', $bbcode_on, $html_on, $smilies_on, $attach_sig)" : "UPDATE " . POSTS_TABLE . " SET post_username = '$post_username', enable_bbcode = $bbcode_on, enable_html = $html_on, enable_smilies = $smilies_on, enable_sig = $attach_sig" . $edited_sql . " WHERE post_id = $post_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql); } if ($mode != 'editpost') { $post_id = $db->sql_nextid(); } $sql = ($mode != 'editpost') ? "INSERT INTO " . POSTS_TEXT_TABLE . " (post_id, post_subject, bbcode_uid, post_text) VALUES ($post_id, '$post_subject', '$bbcode_uid', '$post_message')" : "UPDATE " . POSTS_TEXT_TABLE . " SET post_text = '$post_message', bbcode_uid = '$bbcode_uid', post_subject = '$post_subject' WHERE post_id = $post_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql); } add_search_words('single', $post_id, stripslashes($post_message), stripslashes($post_subject)); // // Add poll // if (($mode == 'newtopic' || ($mode == 'editpost' && $post_data['edit_poll'])) && !empty($poll_title) && count($poll_options) >= 2) { $sql = (!$post_data['has_poll']) ? "INSERT INTO " . VOTE_DESC_TABLE . " (topic_id, vote_text, vote_start, vote_length) VALUES ($topic_id, '$poll_title', $current_time, " . ($poll_length * 86400) . ")" : "UPDATE " . VOTE_DESC_TABLE . " SET vote_text = '$poll_title', vote_length = " . ($poll_length * 86400) . " WHERE topic_id = $topic_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql); } $delete_option_sql = ''; $old_poll_result = array(); if ($mode == 'editpost' && $post_data['has_poll']) { $sql = "SELECT vote_option_id, vote_result FROM " . VOTE_RESULTS_TABLE . " WHERE vote_id = $poll_id ORDER BY vote_option_id ASC"; if (!($result = $db->sql_query($sql))) { mx_message_die(GENERAL_ERROR, 'Could not obtain vote data results for this topic', '', __LINE__, __FILE__, $sql); } while ($row = $db->sql_fetchrow($result)) { $old_poll_result[$row['vote_option_id']] = $row['vote_result']; if (!isset($poll_options[$row['vote_option_id']])) { $delete_option_sql .= ($delete_option_sql != '') ? ', ' . $row['vote_option_id'] : $row['vote_option_id']; } } } else { $poll_id = $db->sql_nextid(); } @reset($poll_options); $poll_option_id = 1; while (list($option_id, $option_text) = each($poll_options)) { if (!empty($option_text)) { $option_text = str_replace("\'", "''", htmlspecialchars($option_text)); $poll_result = ($mode == "editpost" && isset($old_poll_result[$option_id])) ? $old_poll_result[$option_id] : 0; $sql = ($mode != "editpost" || !isset($old_poll_result[$option_id])) ? "INSERT INTO " . VOTE_RESULTS_TABLE . " (vote_id, vote_option_id, vote_option_text, vote_result) VALUES ($poll_id, $poll_option_id, '$option_text', $poll_result)" : "UPDATE " . VOTE_RESULTS_TABLE . " SET vote_option_text = '$option_text', vote_result = $poll_result WHERE vote_option_id = $option_id AND vote_id = $poll_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql); } $poll_option_id++; } } if ($delete_option_sql != '') { $sql = "DELETE FROM " . VOTE_RESULTS_TABLE . " WHERE vote_option_id IN ($delete_option_sql) AND vote_id = $poll_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error deleting pruned poll options', '', __LINE__, __FILE__, $sql); } } } $meta = '<meta http-equiv="refresh" content="3;url=' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">'; $message = $lang['Stored'] . '<br /><br />' . sprintf($lang['Click_view_message'], '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_forum'], '<a href="' . append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id") . '">', '</a>'); return false; } // // Update post stats and details // function update_post_stats(&$mode, &$post_data, &$forum_id, &$topic_id, &$post_id, &$user_id) { global $db; $sign = ($mode == 'delete') ? '- 1' : '+ 1'; $forum_update_sql = "forum_posts = forum_posts $sign"; $topic_update_sql = ''; if ($mode == 'delete') { if ($post_data['last_post']) { if ($post_data['first_post']) { $forum_update_sql .= ', forum_topics = forum_topics - 1'; } else { $topic_update_sql .= 'topic_replies = topic_replies - 1'; $sql = "SELECT MAX(post_id) AS last_post_id FROM " . POSTS_TABLE . " WHERE topic_id = $topic_id"; if (!($result = $db->sql_query($sql))) { mx_message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql); } if ($row = $db->sql_fetchrow($result)) { $topic_update_sql .= ', topic_last_post_id = ' . $row['last_post_id']; } } if ($post_data['last_topic']) { $sql = "SELECT MAX(post_id) AS last_post_id FROM " . POSTS_TABLE . " WHERE forum_id = $forum_id"; if (!($result = $db->sql_query($sql))) { mx_message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql); } if ($row = $db->sql_fetchrow($result)) { $forum_update_sql .= ($row['last_post_id']) ? ', forum_last_post_id = ' . $row['last_post_id'] : ', forum_last_post_id = 0'; } } } else if ($post_data['first_post']) { $sql = "SELECT MIN(post_id) AS first_post_id FROM " . POSTS_TABLE . " WHERE topic_id = $topic_id"; if (!($result = $db->sql_query($sql))) { mx_message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql); } if ($row = $db->sql_fetchrow($result)) { $topic_update_sql .= 'topic_replies = topic_replies - 1, topic_first_post_id = ' . $row['first_post_id']; } } else { $topic_update_sql .= 'topic_replies = topic_replies - 1'; } } else if ($mode != 'poll_delete') { $forum_update_sql .= ", forum_last_post_id = $post_id" . (($mode == 'newtopic') ? ", forum_topics = forum_topics $sign" : ""); $topic_update_sql = "topic_last_post_id = $post_id" . (($mode == 'reply') ? ", topic_replies = topic_replies $sign" : ", topic_first_post_id = $post_id"); } else { $topic_update_sql .= 'topic_vote = 0'; } if ($mode != 'poll_delete') { $sql = "UPDATE " . FORUMS_TABLE . " SET $forum_update_sql WHERE forum_id = $forum_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql); } } if ($topic_update_sql != '') { $sql = "UPDATE " . TOPICS_TABLE . " SET $topic_update_sql WHERE topic_id = $topic_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql); } } if ($mode != 'poll_delete') { $sql = "UPDATE " . USERS_TABLE . " SET user_posts = user_posts $sign WHERE user_id = $user_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql); } } return; } // // Delete a post/poll // function delete_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id) { global $board_config, $lang, $db, $phpbb_root_path, $phpEx; global $userdata, $user_ip; if ($mode != 'poll_delete') { include($phpbb_root_path . 'includes/functions_search.'.$phpEx); $sql = "DELETE FROM " . POSTS_TABLE . " WHERE post_id = $post_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql); } $sql = "DELETE FROM " . POSTS_TEXT_TABLE . " WHERE post_id = $post_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql); } if ($post_data['last_post']) { if ($post_data['first_post']) { $forum_update_sql .= ', forum_topics = forum_topics - 1'; $sql = "DELETE FROM " . TOPICS_TABLE . " WHERE topic_id = $topic_id OR topic_moved_id = $topic_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql); } $sql = "DELETE FROM " . TOPICS_WATCH_TABLE . " WHERE topic_id = $topic_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql); } } } remove_search_post($post_id); } if ($mode == 'poll_delete' || ($mode == 'delete' && $post_data['first_post'] && $post_data['last_post']) && $post_data['has_poll'] && $post_data['edit_poll']) { $sql = "DELETE FROM " . VOTE_DESC_TABLE . " WHERE topic_id = $topic_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in deleting poll', '', __LINE__, __FILE__, $sql); } $sql = "DELETE FROM " . VOTE_RESULTS_TABLE . " WHERE vote_id = $poll_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in deleting poll', '', __LINE__, __FILE__, $sql); } $sql = "DELETE FROM " . VOTE_USERS_TABLE . " WHERE vote_id = $poll_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in deleting poll', '', __LINE__, __FILE__, $sql); } } if ($mode == 'delete' && $post_data['first_post'] && $post_data['last_post']) { $meta = '<meta http-equiv="refresh" content="3;url=' . append_sid("viewforum.$phpEx?" . POST_FORUM_URL . '=' . $forum_id) . '">'; $message = $lang['Deleted']; } else { $meta = '<meta http-equiv="refresh" content="3;url=' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . '=' . $topic_id) . '">'; $message = (($mode == 'poll_delete') ? $lang['Poll_delete'] : $lang['Deleted']) . '<br /><br />' . sprintf($lang['Click_return_topic'], '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id") . '">', '</a>'); } $message .= '<br /><br />' . sprintf($lang['Click_return_forum'], '<a href="' . append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id") . '">', '</a>'); return; } // // Handle user notification on new post // function user_notification($mode, &$post_data, &$topic_title, &$forum_id, &$topic_id, &$post_id, &$notify_user) { global $board_config, $lang, $db, $phpbb_root_path, $phpEx; global $userdata, $user_ip; $current_time = time(); if ($mode != 'delete') { if ($mode == 'reply') { $sql = "SELECT ban_userid FROM " . BANLIST_TABLE; if (!($result = $db->sql_query($sql))) { mx_message_die(GENERAL_ERROR, 'Could not obtain banlist', '', __LINE__, __FILE__, $sql); } $user_id_sql = ''; while ($row = $db->sql_fetchrow($result)) { if (isset($row['ban_userid']) && !empty($row['ban_userid'])) { $user_id_sql .= ', ' . $row['ban_userid']; } } $sql = "SELECT u.user_id, u.user_email, u.user_lang FROM " . TOPICS_WATCH_TABLE . " tw, " . USERS_TABLE . " u WHERE tw.topic_id = $topic_id AND tw.user_id NOT IN (" . $userdata['user_id'] . ", " . ANONYMOUS . $user_id_sql . ") AND tw.notify_status = " . TOPIC_WATCH_UN_NOTIFIED . " AND u.user_id = tw.user_id"; if (!($result = $db->sql_query($sql))) { mx_message_die(GENERAL_ERROR, 'Could not obtain list of topic watchers', '', __LINE__, __FILE__, $sql); } $update_watched_sql = ''; $bcc_list_ary = array(); if ($row = $db->sql_fetchrow($result)) { // Sixty second limit @set_time_limit(60); do { if ($row['user_email'] != '') { $bcc_list_ary[$row['user_lang']][] = $row['user_email']; } $update_watched_sql .= ($update_watched_sql != '') ? ', ' . $row['user_id'] : $row['user_id']; } while ($row = $db->sql_fetchrow($result)); // // Let's do some checking to make sure that mass mail functions // are working in win32 versions of php. // if (preg_match('/[c-z]:\\\.*/i', getenv('PATH')) && !$board_config['smtp_delivery']) { $ini_val = (@phpversion() >= '4.0.0') ? 'ini_get' : 'get_cfg_var'; // We are running on windows, force delivery to use our smtp functions // since php's are broken by default $board_config['smtp_delivery'] = 1; $board_config['smtp_host'] = @$ini_val('SMTP'); } if (sizeof($bcc_list_ary)) { include($phpbb_root_path . 'includes/emailer.'.$phpEx); $emailer = new emailer($board_config['smtp_delivery']); $script_name = preg_replace('/^\/?(.*?)\/?$/', '\1', trim($board_config['script_path'])); $script_name = ($script_name != '') ? $script_name . '/viewtopic.'.$phpEx : 'viewtopic.'.$phpEx; $server_name = trim($board_config['server_name']); $server_protocol = ($board_config['cookie_secure']) ? 'https://' : 'http://'; $server_port = ($board_config['server_port'] <> 80) ? ':' . trim($board_config['server_port']) . '/' : '/'; $orig_word = array(); $replacement_word = array(); phpBB2::obtain_word_list($orig_word, $replacement_word); $emailer->from($board_config['board_email']); $emailer->replyto($board_config['board_email']); $topic_title = (count($orig_word)) ? preg_replace($orig_word, $replacement_word, unprepare_message($topic_title)) : unprepare_message($topic_title); @reset($bcc_list_ary); while (list($user_lang, $bcc_list) = each($bcc_list_ary)) { $emailer->use_template('topic_notify', $user_lang); for ($i = 0; $i < count($bcc_list); $i++) { $emailer->bcc($bcc_list[$i]); } // The Topic_reply_notification lang string below will be used // if for some reason the mail template subject cannot be read // ... note it will not necessarily be in the posters own language! $emailer->set_subject($lang['Topic_reply_notification']); // This is a nasty kludge to remove the username var ... till (if?) // translators update their templates $emailer->msg = preg_replace('#[ ]?{USERNAME}#', '', $emailer->msg); $emailer->assign_vars(array( 'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br />', "\n", "-- \n" . $board_config['board_email_sig']) : '', 'SITENAME' => $board_config['sitename'], 'TOPIC_TITLE' => $topic_title, 'U_TOPIC' => $server_protocol . $server_name . $server_port . $script_name . '?' . POST_POST_URL . "=$post_id#$post_id", 'U_STOP_WATCHING_TOPIC' => $server_protocol . $server_name . $server_port . $script_name . '?' . POST_TOPIC_URL . "=$topic_id&unwatch=topic") ); $emailer->send(); $emailer->reset(); } } } $db->sql_freeresult($result); if ($update_watched_sql != '') { $sql = "UPDATE " . TOPICS_WATCH_TABLE . " SET notify_status = " . TOPIC_WATCH_NOTIFIED . " WHERE topic_id = $topic_id AND user_id IN ($update_watched_sql)"; $db->sql_query($sql); } } $sql = "SELECT topic_id FROM " . TOPICS_WATCH_TABLE . " WHERE topic_id = $topic_id AND user_id = " . $userdata['user_id']; if (!($result = $db->sql_query($sql))) { mx_message_die(GENERAL_ERROR, 'Could not obtain topic watch information', '', __LINE__, __FILE__, $sql); } $row = $db->sql_fetchrow($result); if (!$notify_user && !empty($row['topic_id'])) { $sql = "DELETE FROM " . TOPICS_WATCH_TABLE . " WHERE topic_id = $topic_id AND user_id = " . $userdata['user_id']; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Could not delete topic watch information', '', __LINE__, __FILE__, $sql); } } else if ($notify_user && empty($row['topic_id'])) { $sql = "INSERT INTO " . TOPICS_WATCH_TABLE . " (user_id, topic_id, notify_status) VALUES (" . $userdata['user_id'] . ", $topic_id, 0)"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Could not insert topic watch information', '', __LINE__, __FILE__, $sql); } } } } // // Fill smiley templates (or just the variables) with smileys // Either in a window or inline // function generate_smilies($mode, $page_id) { global $db, $board_config, $template, $lang, $images, $theme, $phpEx, $phpbb_root_path; global $user_ip, $session_length, $starttime; global $userdata; $inline_columns = 4; $inline_rows = 5; $window_columns = 8; if ($mode == 'window') { $userdata = session_pagestart($user_ip, $page_id); init_userprefs($userdata); $gen_simple_header = TRUE; $page_title = $lang['Emoticons']; include($phpbb_root_path . 'includes/page_header.'.$phpEx); $template->set_filenames(array( 'smiliesbody' => 'posting_smilies.tpl') ); } $sql = "SELECT emoticon, code, smile_url FROM " . SMILIES_TABLE . " ORDER BY smilies_id"; if ($result = $db->sql_query($sql)) { $num_smilies = 0; $rowset = array(); while ($row = $db->sql_fetchrow($result)) { if (empty($rowset[$row['smile_url']])) { $rowset[$row['smile_url']]['code'] = str_replace("'", "\\'", str_replace('\\', '\\\\', $row['code'])); $rowset[$row['smile_url']]['emoticon'] = $row['emoticon']; $num_smilies++; } } if ($num_smilies) { $smilies_count = ($mode == 'inline') ? min(19, $num_smilies) : $num_smilies; $smilies_split_row = ($mode == 'inline') ? $inline_columns - 1 : $window_columns - 1; $s_colspan = 0; $row = 0; $col = 0; while (list($smile_url, $data) = @each($rowset)) { if (!$col) { $template->assign_block_vars('smilies_row', array()); } $template->assign_block_vars('smilies_row.smilies_col', array( 'SMILEY_CODE' => $data['code'], 'SMILEY_IMG' => $board_config['smilies_path'] . '/' . $smile_url, 'SMILEY_DESC' => $data['emoticon']) ); $s_colspan = max($s_colspan, $col + 1); if ($col == $smilies_split_row) { if ($mode == 'inline' && $row == $inline_rows - 1) { break; } $col = 0; $row++; } else { $col++; } } if ($mode == 'inline' && $num_smilies > $inline_rows * $inline_columns) { $template->assign_block_vars('switch_smilies_extra', array()); $template->assign_vars(array( 'L_MORE_SMILIES' => $lang['More_emoticons'], 'U_MORE_SMILIES' => append_sid("posting.$phpEx?mode=smilies")) ); } $template->assign_vars(array( 'L_EMOTICONS' => $lang['Emoticons'], 'L_CLOSE_WINDOW' => $lang['Close_window'], 'S_SMILIES_COLSPAN' => $s_colspan) ); } } if ($mode == 'window') { $template->pparse('smiliesbody'); include($phpbb_root_path . 'includes/page_tail.'.$phpEx); } } /** * Called from within prepare_message to clean included HTML tags if HTML is * turned on for that post * @param array $tag Matching text from the message to parse */ function clean_html($tag) { global $board_config; if (empty($tag[0])) { return ''; } $allowed_html_tags = preg_split('/, */', strtolower($board_config['allow_html_tags'])); $disallowed_attributes = '/^(?:style|on)/i'; // Check if this is an end tag preg_match('/<[^\w\/]*\/[\W]*(\w+)/', $tag[0], $matches); if (sizeof($matches)) { if (in_array(strtolower($matches[1]), $allowed_html_tags)) { return '</' . $matches[1] . '>'; } else { return htmlspecialchars('</' . $matches[1] . '>'); } } // Check if this is an allowed tag if (in_array(strtolower($tag[1]), $allowed_html_tags)) { $attributes = ''; if (!empty($tag[2])) { preg_match_all('/[\W]*?(\w+)[\W]*?=[\W]*?(["\'])((?:(?!\2).)*)\2/', $tag[2], $test); for ($i = 0; $i < sizeof($test[0]); $i++) { if (preg_match($disallowed_attributes, $test[1][$i])) { continue; } $attributes .= ' ' . $test[1][$i] . '=' . $test[2][$i] . str_replace(array('[', ']'), array('[', ']'), htmlspecialchars($test[3][$i])) . $test[2][$i]; } } if (in_array(strtolower($tag[1]), $allowed_html_tags)) { return '<' . $tag[1] . $attributes . '>'; } else { return htmlspecialchars('<' . $tag[1] . $attributes . '>'); } } // Finally, this is not an allowed tag so strip all the attibutes and escape it else { return htmlspecialchars('<' . $tag[1] . '>'); } } ?> --- NEW FILE: bbcode.php --- <?php /*************************************************************************** * bbcode.php * ------------------- * begin : Saturday, Feb 13, 2001 * copyright : (C) 2001 The phpBB Group * email : su...@ph... * * $Id: bbcode.php,v 1.1 2008/03/10 06:02:27 orynider 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. * ***************************************************************************/ /* * MXBB MODIFICATIONS: * mx_dss_rand() * */ if ( !defined('IN_PHPBB') ) { die("Hacking attempt"); } define("BBCODE_UID_LEN", 10); // global that holds loaded-and-prepared bbcode templates, so we only have to do // that stuff once. $bbcode_tpl = null; /** * Loads bbcode templates from the bbcode.tpl file of the current template set. * Creates an array, keys are bbcode names like "b_open" or "url", values * are the associated template. * Probably pukes all over the place if there's something really screwed * with the bbcode.tpl file. * * Nathan Codding, Sept 26 2001. */ function load_bbcode_template() { global $template; $tpl_filename = $template->make_filename('bbcode.tpl'); $tpl = fread(fopen($tpl_filename, 'r'), filesize($tpl_filename)); // replace \ with \\ and then ' with \'. $tpl = str_replace('\\', '\\\\', $tpl); $tpl = str_replace('\'', '\\\'', $tpl); // strip newlines. $tpl = str_replace("\n", '', $tpl); // Turn template blocks into PHP assignment statements for the values of $bbcode_tpls.. $tpl = preg_replace('#<!-- BEGIN (.*?) -->(.*?)<!-- END (.*?) -->#', "\n" . '$bbcode_tpls[\'\\1\'] = \'\\2\';', $tpl); $bbcode_tpls = array(); eval($tpl); return $bbcode_tpls; } /** * Prepares the loaded bbcode templates for insertion into preg_replace() * or str_replace() calls in the bbencode_second_pass functions. This * means replacing template placeholders with the appropriate preg backrefs * or with language vars. NOTE: If you change how the regexps work in * bbencode_second_pass(), you MUST change this function. * * Nathan Codding, Sept 26 2001 * */ function prepare_bbcode_template($bbcode_tpl) { global $lang; $bbcode_tpl['olist_open'] = str_replace('{LIST_TYPE}', '\\1', $bbcode_tpl['olist_open']); $bbcode_tpl['color_open'] = str_replace('{COLOR}', '\\1', $bbcode_tpl['color_open']); $bbcode_tpl['size_open'] = str_replace('{SIZE}', '\\1', $bbcode_tpl['size_open']); $bbcode_tpl['quote_open'] = str_replace('{L_QUOTE}', $lang['Quote'], $bbcode_tpl['quote_open']); $bbcode_tpl['quote_username_open'] = str_replace('{L_QUOTE}', $lang['Quote'], $bbcode_tpl['quote_username_open']); $bbcode_tpl['quote_username_open'] = str_replace('{L_WROTE}', $lang['wrote'], $bbcode_tpl['quote_username_open']); $bbcode_tpl['quote_username_open'] = str_replace('{USERNAME}', '\\1', $bbcode_tpl['quote_username_open']); $bbcode_tpl['code_open'] = str_replace('{L_CODE}', $lang['Code'], $bbcode_tpl['code_open']); $bbcode_tpl['img'] = str_replace('{URL}', '\\1', $bbcode_tpl['img']); // We do URLs in several different ways.. $bbcode_tpl['url1'] = str_replace('{URL}', '\\1', $bbcode_tpl['url']); $bbcode_tpl['url1'] = str_replace('{DESCRIPTION}', '\\1', $bbcode_tpl['url1']); $bbcode_tpl['url2'] = str_replace('{URL}', 'http://\\1', $bbcode_tpl['url']); $bbcode_tpl['url2'] = str_replace('{DESCRIPTION}', '\\1', $bbcode_tpl['url2']); $bbcode_tpl['url3'] = str_replace('{URL}', '\\1', $bbcode_tpl['url']); $bbcode_tpl['url3'] = str_replace('{DESCRIPTION}', '\\2', $bbcode_tpl['url3']); $bbcode_tpl['url4'] = str_replace('{URL}', 'http://\\1', $bbcode_tpl['url']); $bbcode_tpl['url4'] = str_replace('{DESCRIPTION}', '\\3', $bbcode_tpl['url4']); $bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']); define("BBCODE_TPL_READY", true); return $bbcode_tpl; } /** * Does second-pass bbencoding. This should be used before displaying the message in * a thread. Assumes the message is already first-pass encoded, and we are given the * correct UID as used in first-pass encoding. */ function bbencode_second_pass($text, $uid) { global $lang, $bbcode_tpl; $text = preg_replace('#(script|about|applet|activex|chrome):#is', "\\1:", $text); // pad it with a space so we can distinguish between FALSE and matching the 1st char (index 0). // This is important; bbencode_quote(), bbencode_list(), and bbencode_code() all depend on it. $text = " " . $text; // First: If there isn't a "[" and a "]" in the message, don't bother. if (! (strpos($text, "[") && strpos($text, "]")) ) { // Remove padding, return. $text = substr($text, 1); return $text; } // Only load the templates ONCE.. if (!defined("BBCODE_TPL_READY")) { // load templates from file into array. $bbcode_tpl = load_bbcode_template(); // prepare array for use in regexps. $bbcode_tpl = prepare_bbcode_template($bbcode_tpl); } // [CODE] and [/CODE] for posting code (HTML, PHP, C etc etc) in your posts. $text = bbencode_second_pass_code($text, $uid, $bbcode_tpl); // [QUOTE] and [/QUOTE] for posting replies with quote, or just for quoting stuff. $text = str_replace("[quote:$uid]", $bbcode_tpl['quote_open'], $text); $text = str_replace("[/quote:$uid]", $bbcode_tpl['quote_close'], $text); // New one liner to deal with opening quotes with usernames... // replaces the two line version that I had here before.. $text = preg_replace("/\[quote:$uid=\"(.*?)\"\]/si", $bbcode_tpl['quote_username_open'], $text); // [list] and [list=x] for (un)ordered lists. // unordered li... [truncated message content] |
Update of /cvsroot/mxbb/mx_mod_core/root/mx_mod/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24277/root/mx_mod/includes Added Files: functions_admincp.php functions_core.php functions_required.php functions_styles.php functions_tools.php mx_constants.php Log Message: 1st time added --- NEW FILE: functions_admincp.php --- <?php /** * * @package mx_mod * @version $Id: functions_admincp.php,v 1.1 2008/03/10 06:02:25 orynider Exp $ * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mxbb.net * */ if ( !defined('IN_PHPBB') ) { die("Hacking attempt"); } function mx_do_install_upgrade( $sql = '', $main_install = false ) { global $table_prefix, $mx_table_prefix, $userdata, $phpEx, $template, $lang, $db, $board_config, $HTTP_POST_VARS; $inst_error = false; $n = 0; $message = "<b>This is the result list of the SQL queries needed for the install/upgrade</b><br /><br />"; while ( $sql[$n] ) { if ( !$result = @$db->sql_query( $sql[$n] ) ) { $message .= '<b><font color=#FF0000>[Error or Already added]</font></b> line: ' . ( $n + 1 ) . ' , ' . $sql[$n] . '<br />'; $inst_error = true; } else { $message .= '<b><font color=#0000fF>[Added/Updated]</font></b> line: ' . ( $n + 1 ) . ' , ' . $sql[$n] . '<br />'; } $n++; } $message .= '<br /> If you get some Errors, Already Added or Updated messages, relax, this is normal when updating mods'; return $message; } // THE END ?> --- NEW FILE: functions_styles.php --- <?php /** * * @package mx_mod * @version $Id: functions_styles.php,v 1.1 2008/03/10 06:02:26 orynider Exp $ * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mxbb.net * */ if ( !defined('IN_PHPBB') ) { die("Hacking attempt"); } /** * Class: mx_Template from mx_functions_style.php * [...1580 lines suppressed...] function set_module_cfg_name($module_cfg_name = '') { //global $mx_block; global $module_root_path; //$this->loaded_default_styles[$mx_block->module_root_path] = $default_module_style; $this->module_cfg_name[$module_root_path] = $module_cfg_name; } function set_module_lang_path($module_lang_path = '') { //global $mx_block; global $module_root_path; //$this->loaded_default_styles[$mx_block->module_root_path] = $default_module_style; $this->module_lang_path[$module_root_path] = $module_lang_path; } } // class mx_user // THE END ?> --- NEW FILE: functions_required.php --- <?php /** * * @package mx_mod * @version $Id: functions_required.php,v 1.1 2008/03/10 06:02:26 orynider Exp $ * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mxbb.net * */ if ( !defined('IN_PHPBB') ) { die("Hacking attempt"); } if(!function_exists('mx_message_die')) { [...1545 lines suppressed...] { $mxurl = ( $file == '' ? "./" : $file . '/' ) . ( $args == '' ? '' : '?' . $args ); } else { $mxurl = $mx_root_path . 'index.' . $phpEx; if( is_numeric($page_id) ) { $mxurl .= '?page=' . $page_id . ( $args == '' ? '' : '&' . $args ); } else { $mxurl = "./" . ( $args == '' ? '' : '?' . $args ); } } return $mxurl; } } // THE END ?> --- NEW FILE: mx_constants.php --- <?php /** * * @package Constants * @version $Id: mx_constants.php,v 1.1 2008/03/10 06:02:27 orynider Exp $ * @copyright (c) 2002-2008 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com * */ if ( !defined('IN_PORTAL') ) { die("Hacking attempt"); } // User Levels <- this values are for compatiblility with mxBB 2.8.x and phpBB2 // Revove them when mxBB is fixed !defined('DELETED') ? define('DELETED', -1) : false; !defined('USER') ? define('USER', 0) : false; !defined('ADMIN') ? define('ADMIN', 1) : false; !defined('MOD') ? define('MOD', 2) : false; // User Levels <- this values are for compatiblility with mxBB 2.8.x and phpBB2 // URL PARAMETERS !defined('POST_TOPIC_URL') ? define('POST_TOPIC_URL', 't') : false; !defined('POST_CAT_URL') ? define('POST_CAT_URL', 'c') : false; !defined('POST_FORUM_URL') ? define('POST_FORUM_URL', 'f') : false; !defined('POST_USERS_URL') ? define('POST_USERS_URL', 'u') : false; !defined('POST_POST_URL') ? define('POST_POST_URL', 'p') : false; !defined('POST_GROUPS_URL') ? define('POST_GROUPS_URL', 'g') : false; // Page numbers for session handling !defined('PAGE_INDEX') ? define('PAGE_INDEX', 0) : false; !defined('PAGE_LOGIN') ? define('PAGE_LOGIN', -1) : false; !defined('PAGE_SEARCH') ? define('PAGE_SEARCH', -2) : false; !defined('PAGE_REGISTER') ? define('PAGE_REGISTER', -3) : false; !defined('PAGE_PROFILE') ? define('PAGE_PROFILE', -4) : false; !defined('PAGE_VIEWONLINE') ? define('PAGE_VIEWONLINE', -6) : false; !defined('PAGE_VIEWMEMBERS') ? define('PAGE_VIEWMEMBERS', -7) : false; !defined('PAGE_FAQ') ? define('PAGE_FAQ', -8) : false; !defined('PAGE_POSTING') ? define('PAGE_POSTING', -9) : false; !defined('PAGE_PRIVMSGS') ? define('PAGE_PRIVMSGS', -10) : false; !defined('PAGE_GROUPCP') ? define('PAGE_GROUPCP', -11) : false; !defined('PAGE_TOPIC_OFFSET') ? define('PAGE_TOPIC_OFFSET', 5000) : false; // Auth settings (blockCP) !defined('AUTH_LIST_ALL') ? define('AUTH_LIST_ALL', 0) : false; !defined('AUTH_ALL') ? define('AUTH_ALL', 0) : false; !defined('AUTH_REG') ? define('AUTH_REG', 1) : false; !defined('AUTH_ACL') ? define('AUTH_ACL', 2) : false; !defined('AUTH_MOD') ? define('AUTH_MOD', 3) : false; !defined('AUTH_ADMIN') ? define('AUTH_ADMIN', 5) : false; !defined('AUTH_ANONYMOUS') ? define('AUTH_ANONYMOUS', 9) : false; !defined('AUTH_VIEW') ? define('AUTH_VIEW', 1) : false; !defined('AUTH_READ') ? define('AUTH_READ', 2) : false; !defined('AUTH_POST') ? define('AUTH_POST', 3) : false; !defined('AUTH_REPLY') ? define('AUTH_REPLY', 4) : false; !defined('AUTH_EDIT') ? define('AUTH_EDIT', 5) : false; !defined('AUTH_DELETE') ? define('AUTH_DELETE', 6) : false; !defined('AUTH_ANNOUNCE') ? define('AUTH_ANNOUNCE', 7) : false; !defined('AUTH_STICKY') ? define('AUTH_STICKY', 8) : false; !defined('AUTH_POLLCREATE') ? define('AUTH_POLLCREATE', 9) : false; !defined('AUTH_VOTE') ? define('AUTH_VOTE', 10) : false; !defined('AUTH_ATTACH') ? define('AUTH_ATTACH', 11) : false; /** * ViewOnline extension for MX-Publisher Pages * @access private */ define('MX_PORTAL_PAGES_OFFSET', 1000); $mx_table_prefix = $table_prefix; @define('MX_CONFIG_TABLE', $table_prefix . 'mx_config'); /**#@+ * MX-Publisher Core table names * @access public */ @define('PORTAL_TABLE', $table_prefix . 'mx_config'); //Modifyed for mx_mod /* define('MENU_NAV_TABLE', $mx_table_prefix . 'menu_nav'); define('MENU_CAT_TABLE', $mx_table_prefix . 'menu_categories'); define('MODULE_TABLE', $mx_table_prefix . 'module'); define('FUNCTION_TABLE', $mx_table_prefix . 'function'); define('PARAMETER_TABLE', $mx_table_prefix . 'parameter'); define('PARAMETER_OPTION_TABLE', $mx_table_prefix . 'parameter_option'); define('PAGE_TABLE' , $mx_table_prefix . 'page'); define('COLUMN_TABLE' , $mx_table_prefix . 'column'); define('COLUMN_BLOCK_TABLE', $mx_table_prefix . 'column_block'); define('BLOCK_TABLE', $mx_table_prefix . 'block'); define('BLOCK_SYSTEM_PARAMETER_TABLE', $mx_table_prefix . 'block_system_parameter'); define('BLOCK_USER_PARAMETER_TABLE', $mx_table_prefix . 'block_user_parameter'); define('COLUMN_TEMPLATES' , $mx_table_prefix . 'column_templates'); define('PAGE_TEMPLATES' , $mx_table_prefix . 'page_templates'); define('MX_THEMES_TABLE', $mx_table_prefix.'themes'); define('MX_MATCH_TABLE' , $mx_table_prefix . 'wordmatch'); define('MX_WORD_TABLE' , $mx_table_prefix . 'wordlist'); define('MX_SEARCH_TABLE' , $mx_table_prefix . 'search_results'); */ /**#@-*/ /** * Sick and tired of these variables getting lost... */ $html_entities_match = array('#&(?!(\#[0-9]+;))#', '#<#', '#>#', '#"#'); $html_entities_replace = array('&', '<', '>', '"'); $unhtml_specialchars_match = array('#>#', '#<#', '#"#', '#&#'); $unhtml_specialchars_replace = array('>', '<', '"', '&'); ?> --- NEW FILE: functions_tools.php --- <?php /** * * @package mx_mod * @version $Id: functions_tools.php,v 1.15.2.6 2008/02/18 20:20:08 jonohlsson Exp * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mxbb.net * */ if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt" ); } // // This 'include' is needed for the mx_text class // [...4355 lines suppressed...] echo '<b>Value</b>: '; if (is_string($var)) { echo htmlspecialchars($var); } else { $print_r = print_r($var, true); // str_contains < or > if ((strstr($print_r, '<') !== false) || (strstr($print_r, '>') !== false)) { $print_r = htmlspecialchars($print_r); } echo $print_r; } echo '</pre>'; exit; } } ?> --- NEW FILE: functions_core.php --- <?php /** * * @package mx_mod * @version $Id: functions_core.php,v 1.1 2008/03/10 06:02:26 orynider Exp $ * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mxbb.net * */ if ( !defined('IN_PORTAL') ) { die("Hacking attempt"); } //@define('MX_CONFIG_TABLE', $table_prefix . 'mx_config'); /**#@+ [...3291 lines suppressed...] { return empty($_GET[$var]) ? 1 : 0 ; } /** * Is REQUEST empty (GET and POST) var? * * Boolean method to check if REQUEST (both) variable is empty. * * @access public * @param string $var * @return boolean */ function is_empty_request($var) { return ($this->is_empty_get($var) && $this->is_empty_post($var)) ? 1 : 0; } } // class mx_request_vars ?> |
|
From: OryNider <ory...@us...> - 2008-03-10 06:02:33
|
Update of /cvsroot/mxbb/mx_mod_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24277 Added Files: mx_mod_readme.txt Log Message: 1st time added --- NEW FILE: mx_mod_readme.txt --- ################################################################# ## MOD Title: Mx-Publisher MOD ## MOD Author: orynider < ory...@rd... > (Florin Bodin Ciprian) http://www.mx-publisher.com/ ## ## MOD Description: ## - This adds some Mx-Publisher minimal required funtionality by MXP Addons; ## - The MXP Addons are phpBB mods that share most files with Mx-Publisher; ## MOD Version: 0.9.2 ## MXP Version: 2.8.2 ## ## Installation Level: (Easy) ## Installation Time: 3 Minutes ## Files To Edit: (0) ## ## Included Files: (21) ## root/mx_mod_install.php, ## root/admin/admin_mx_config.php, ## root/mx_mod/includes/*.*, ## root/mx_mod/includes/shared/phpbb2/includes/*.*, ## root/mx_mod/includes/shared/phpbb2/language/lang_english/*.*, ## root/mx_mod/language/language/lang_english/*.*, ## root/mx_mod/styles/prosilver/*.*, ## root/templates/subSilver/admin/admin_mx_config.tpl ## ## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2 ############################################################## ## For security purposes, please check: http://www.phpbb.com/mods/ ## for the latest version of this MOD. Although MODs are checked ## before being allowed in the MODs Database there is no guarantee ## that there are no security problems within the MOD. No support ## will be given for MODs not found within the MODs Database which ## can be found at http://www.phpbb.com/mods/ ############################################################## ## Author Notes: ## There is no demo I can provide for this MOD. ## Should be easy enough to try out. ## Curentry supported mods that require this are: ## - pafiledb (Download Manager), ## - linkdb (Links Manager), ## - kb (Knowledge Base), ## - mom (Music Center), ## and others that are not yet public. ################################################################# ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ################################################################# # #-----[ COPY ]----------------------------------- # copy root/mx_mod_install.php to mx_mod_install.php copy root/admin/admin_mx_config.php to admin/admin_mx_config.php copy root/mx_mod/includes/*.* to mx_mod/includes/*.* copy root/mx_mod/includes/shared/phpbb2/includes/*.* to mx_mod/includes/shared/phpbb2/includes/*.* copy root/mx_mod/includes/shared/phpbb2/language/lang_english/*.* to mx_mod/includes/shared/phpbb2/language/lang_english/*.* copy root/mx_mod/language/language/lang_english/*.* to mx_mod/language/language/lang_english/*.* copy root/mx_mod/styles/prosilver/*.* to mx_mod/styles/prosilver/*.* copy root/templates/subSilver/admin/admin_mx_config.tpl to templates/subSilver/admin/admin_mx_config.tpl # #-----[ SQL ]------------------------------------------------- # # You can only manually execute "mx_mod_install.php" # Copy "mx_mod_install.php" to your phpBB root and execute it from your browser when you're logged in with admin rights # # #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ # # EoM |
|
From: OryNider <ory...@us...> - 2008-03-10 06:02:33
|
Update of /cvsroot/mxbb/mx_mod_core/root/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24277/root/admin Added Files: admin_mx_config.php Log Message: 1st time added --- NEW FILE: admin_mx_config.php --- <?php /** * * @package MX Mod * @version $Id: admin_mx_config.php,v 1.1 2008/03/10 06:02:25 orynider Exp $ * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com * */ $phpEx = substr(strrchr(__FILE__, '.'), 1); if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { define('MXBB_MODULE', false); define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; $mx_mod_path = $phpbb_root_path . 'mx_mod/'; require_once($mx_mod_path . "includes/functions_required.$phpEx"); @define('IN_PORTAL', true); $mx_root_path = './../'; //include_once($mx_mod_path . "includes/shared/phpbb2/includes/functions.$phpEx"); require_once($mx_mod_path . "includes/functions_core.$phpEx"); //Check for cash mod if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); } //@ini_set( 'display_errors', '1' ); error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables //error_reporting(E_ALL & ~E_NOTICE); define( 'PAGE_KB', -502 ); // If this id generates a conflict with other mods, change it ;) // // Instatiate the mx_cache class // $mx_cache = new mx_cache(); // // instatiate the mx_request_vars class // $mx_request_vars = new mx_request_vars(); // // instatiate the mx_user class // //$mx_user = new mx_user(); // // Left Pane Paths // $setmodules_admin_path = ''; $setmodules_module_path = "./../"; if (file_exists($phpbb_root_path."modcp.$phpEx")) // phpBB2 { define('PORTAL_BACKEND', 'phpbb2'); $tplEx = 'tpl'; } else if (@file_exists($phpbb_root_path."mcp.$phpEx")) // phpBB3 { define('PORTAL_BACKEND', 'phpbb3'); $tplEx = 'html'; } } else { define( 'IN_PORTAL', 1 ); define( 'MXBB_MODULE', true ); // // Main paths // $mx_root_path = './../../../'; $module_root_path = './../../../modules/mx_linkdb/'; // // Left Pane Paths // $setmodules_root_path = './../'; $setmodules_module_path = 'modules/mx_linkdb/'; $setmodules_admin_path = $setmodules_module_path . 'admin/'; define( 'MXBB_27x', file_exists( $setmodules_root_path . 'mx_login.php' ) ); } if( !empty($setmodules) ) { $file = basename(__FILE__); $module['Mx_Mod']['Configuration'] = $file; return; } // // Let's set the root dir for phpBB // require($phpbb_root_path."admin/pagestart.$phpEx"); require($mx_mod_path . "includes/mx_constants.$phpEx"); @define('PORTAL_TABLE', $table_prefix . 'mx_config'); //Modifyed for mx_mod require_once($mx_mod_path . "includes/functions_styles.$phpEx"); $mx_user = new mx_user(); // instatiate the mx_user class // // Define basic constants // $mx_user->page_id = 51; $mx_user->user_ip = $user_ip; $mx_user->_init_userprefs(); //$mx_user->extend(); // // Get mxBB config settings // $portal_config = $mx_cache->obtain_mxbb_config(); // ********************************************************************** // Read language definition // ********************************************************************** if ( !MXBB_MODULE ) { if (!file_exists($mx_mod_path . "language/lang_" . $board_config['default_lang'] . "/lang_admin.$phpEx")) { include($mx_mod_path . "language/lang_english/lang_admin.$phpEx"); } else { include($mx_mod_path . "language/lang_" . $board_config['default_lang'] . "/lang_admin.$phpEx"); } } // // Begin program proper // $mode = ''; if( isset($HTTP_POST_VARS['submit']) ) { $mode = 'submit'; } // // Pull all config data // $sql = "SELECT * FROM " . PORTAL_TABLE; if(!$result = $db->sql_query($sql)) { message_die(CRITICAL_ERROR, "Could not query music config information", "", __LINE__, __FILE__, $sql); } else { while( $row = $db->sql_fetchrow($result) ) { $config_name = $row['config_name']; $config_value = $row['config_value']; $default_config[$config_name] = $config_value; //$new[$config_name] = ( isset($HTTP_POST_VARS[$config_name]) ) ? $HTTP_POST_VARS[$config_name] : $default_config[$config_name]; if( !empty($mode) ) { $new['portal_name'] = $mx_request_vars->post('portal_name', MX_TYPE_NO_TAGS, 'mxBB Portal and CMS'); $new['portal_url'] = $mx_request_vars->post('portal_url', MX_TYPE_NO_TAGS, ''); $new['portal_phpbb_url'] = $mx_request_vars->post('portal_phpbb_url', MX_TYPE_NO_TAGS, ''); $new['default_admin_style'] = $mx_request_vars->post('mx_default_admin_style', MX_TYPE_NO_TAGS, '-1'); $new['default_style'] = $mx_request_vars->post('mx_default_style', MX_TYPE_NO_TAGS, '-1'); $new['override_user_style'] = $mx_request_vars->post('mx_override_user_style', MX_TYPE_NO_TAGS, '1'); $new['overall_header'] = $mx_request_vars->post('overall_header', MX_TYPE_NO_TAGS, 'overall_header.tpl'); $new['overall_footer'] = $mx_request_vars->post('overall_footer', MX_TYPE_NO_TAGS, 'overall_footer.tpl'); $new['main_layout'] = $mx_request_vars->post('main_layout', MX_TYPE_NO_TAGS, 'mx_main_layout.tpl'); $new['navigation_block'] = $mx_request_vars->post('navigation_block', MX_TYPE_INT, '0'); $new['top_phpbb_links'] = $mx_request_vars->post('top_phpbb_links', MX_TYPE_INT, '0'); $new['mx_use_cache'] = $mx_request_vars->post('mx_use_cache', MX_TYPE_INT, '1'); $new['mod_rewrite'] = $mx_request_vars->post('mod_rewrite', MX_TYPE_INT, '0'); $new['portal_status'] = $mx_request_vars->post('portal_status', MX_TYPE_INT, '0'); $new['disabled_message'] = $mx_request_vars->post('disabled_message', MX_TYPE_NO_TAGS, 'Site disabled.'); if( isset($HTTP_POST_VARS['submit']) ) { $sql = "UPDATE " . PORTAL_TABLE . " SET config_value = '" . str_replace("\'", "''", $new[$config_name]) . "' WHERE config_name = '$config_name'"; if( !$db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, "Failed to update music configuration for $config_name", "", __LINE__, __FILE__, $sql); } } /* $sql = "UPDATE " . PORTAL_TABLE . " SET portal_name = '" . str_replace("\'", "''", $new['portal_name']) . "', portal_url = '" . str_replace("\'", "''", $new['portal_url']) . "', portal_phpbb_url = '" . str_replace("\'", "''", $new['portal_phpbb_url']) . "', default_admin_style = '" . str_replace("\'", "''", $new['default_admin_style']) . "', default_style = '" . str_replace("\'", "''", $new['default_style']) . "', override_user_style = '" . str_replace("\'", "''", $new['override_user_style']) . "', overall_header = '" . str_replace("\'", "''", $new['overall_header']) . "', overall_footer = '" . str_replace("\'", "''", $new['overall_footer']) . "', main_layout = '" . str_replace("\'", "''", $new['main_layout']) . "', navigation_block = '" . str_replace("\'", "''", $new['navigation_block']) . "', top_phpbb_links = '" . str_replace("\'", "''", $new['top_phpbb_links']) . "', mx_use_cache = '" . str_replace("\'", "''", $new['mx_use_cache']) . "', mod_rewrite = '" . str_replace("\'", "''", $new['mod_rewrite']) . "', portal_status = '" . str_replace("\'", "''", $new['portal_status']) . "', disabled_message = '" . str_replace("\'", "''", $new['disabled_message']) . "'"; if( !($db->sql_query($sql)) ) { mx_message_die(GENERAL_ERROR, "Failed to update portal configuration ", "", __LINE__, __FILE__, $sql); } */ //$mx_cache->put( 'mxbb_config', $new ); $message = $lang['Portal_Config_updated'] . "<br /><br />" . sprintf($lang['Click_return_portal_config'], "<a href=\"" . append_sid("admin_mx_config.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); } } } $template->set_filenames(array( 'admin_portal' => 'admin/admin_mx_config.tpl') ); $top_phpbb_links_yes = ( $portal_config['top_phpbb_links'] == 1 ) ? 'checked="checked"' : ''; $top_phpbb_links_no = ( $portal_config['top_phpbb_links'] == 0 ) ? 'checked="checked"' : ''; $mx_use_cache_yes = ( $portal_config['mx_use_cache'] == 1 ) ? 'checked="checked"' : ''; $mx_use_cache_no = ( $portal_config['mx_use_cache'] == 0 ) ? 'checked="checked"' : ''; $mx_mod_rewrite_yes = ( $portal_config['mod_rewrite'] == 1 ) ? 'checked="checked"' : ''; $mx_mod_rewrite_no = ( $portal_config['mod_rewrite'] == 0 ) ? 'checked="checked"' : ''; $mx_portal_status_yes = ( $portal_config['portal_status'] == 1 ) ? 'checked="checked"' : ''; $mx_portal_status_no = ( $portal_config['portal_status'] == 0 ) ? 'checked="checked"' : ''; $disabled_message = $portal_config['disabled_message']; $phpbb_rel_path = substr( "$phpbb_root_path", 3 ); $navigation_block_list = ''; //get_list_formatted('block_list', $portal_config['navigation_block'], 'navigation_block', 'mx_menu_nav.php', false, 'mx_site_nav.php'); $portal_version = $portal_config['portal_version']; $phpbb_version = '2' . $board_config['version']; $phpbb_script_path = $board_config['script_path']; $phpbb_server_name = $board_config['server_name']; // Default to phpBB default $portal_config['default_admin_style'] = $portal_config['default_admin_style'] == -1 ? $board_config['default_style'] : $portal_config['default_admin_style']; $portal_config['default_style'] = $portal_config['default_style'] == -1 ? $board_config['default_style'] : $portal_config['default_style']; $portal_config['override_user_style'] = $portal_config['override_user_style'] == -1 ? $board_config['override_user_style'] : $portal_config['override_user_style']; $style_select = $portal_config['default_style']; //mx_style_select($portal_config['default_style'], 'mx_default_style'); $style_admin_select = $portal_config['default_admin_style']; //mx_style_select($portal_config['default_admin_style'], 'mx_default_admin_style'); $override_user_style_yes = ( $portal_config['override_user_style'] ) ? "checked=\"checked\"" : ""; $override_user_style_no = ( !$portal_config['override_user_style'] ) ? "checked=\"checked\"" : ""; $template->assign_vars(array( "S_CONFIG_ACTION" => append_sid("admin_mx_config.$phpEx"), "L_YES" => $lang['Yes'], "L_NO" => $lang['No'], "L_CONFIGURATION_TITLE" => $lang['Portal_General_Config'], "L_CONFIGURATION_EXPLAIN" => $lang['Portal_General_Config_explain'], "L_GENERAL_SETTINGS" => $lang['Portal_General_settings'], "L_GENERAL_CONFIG_INFO" => $lang['Portal_General_config_info'] . "<br />" . $lang['Portal_General_config_info_explain'], "L_STYLE_SETTINGS" => $lang['Portal_Style_settings'], "L_PORTAL_NAME" => $lang['Portal_Name'], "L_PORTAL_URL" => $lang['Portal_Url'] . "<br />" . $lang['Portal_url_explain'], "L_PORTAL_PHPBB_URL" => $lang['Portal_PHPBB_Url'] . "<br />" . $lang['Phpbb_url_explain'], "L_OVERALL_HEADER" => $lang['Portal_Overall_header'] . "<br />" . $lang['Portal_Overall_header_explain'], "L_OVERALL_FOOTER" => $lang['Portal_Overall_footer'] . "<br />" . $lang['Portal_Overall_footer_explain'], "L_MAIN_LAYOUT" => $lang['Portal_Main_layout'] . "<br />" . $lang['Portal_Main_layout_explain'], "L_NAVIGATION_BLOCK" => $lang['Portal_Navigation_block'] . "<br />" . $lang['Portal_Navigation_block_explain'], "L_SUBMIT" => $lang['Submit'], "L_RESET" => $lang['Reset'], "PORTAL_NAME" => $portal_config['portal_name'], "PORTAL_URL" => $portal_config['portal_url'], "PORTAL_PHPBB_URL" => $portal_config['portal_phpbb_url'], "OVERALL_HEADER" => $portal_config['overall_header'], "OVERALL_FOOTER" => $portal_config['overall_footer'], "MAIN_LAYOUT" => $portal_config['main_layout'], "NAVIGATION_BLOCK" => $navigation_block_list, "L_PHPBB_RELATIVE_PATH" => $lang['Phpbb_path'], "L_PHPBB_RELATIVE_PATH_EXPLAIN" => $lang['Phpbb_path_explain'], "PHPBB_RELATIVE_PATH" => $phpbb_rel_path, "L_PORTAL_VERSION" => $lang['Portal_version'], "PORTAL_VERSION" => $portal_version, "L_PHPBB_INFO" => $lang['PHPBB_info'], "L_PHPBB_SERVER_NAME" => $lang['PHPBB_server_name'], "PHPBB_SERVER_NAME" => $phpbb_server_name, "L_PHPBB_SCRIPT_PATH" => $lang['PHPBB_script_path'], "PHPBB_SCRIPT_PATH" => $phpbb_script_path, "L_PHPBB_VERSION" => $lang['PHPBB_version'], "PHPBB_VERSION" => $phpbb_version, "L_TOP_PHPBB_LINKS" => $lang['Top_phpbb_links'] . "<br />" . $lang['Top_phpbb_links_explain'], "S_TOP_PHPBB_LINKS_YES" => $top_phpbb_links_yes, "S_TOP_PHPBB_LINKS_NO" => $top_phpbb_links_no, "TOP_PHPBB_LINKS" => $portal_config['top_phpbb_links'], "L_MX_USE_CACHE" => $lang['Mx_use_cache'], "L_MX_USE_CACHE_EXPLAIN" => $lang['Mx_use_cache_explain'], "S_MX_USE_CACHE_YES" => $mx_use_cache_yes, "S_MX_USE_CACHE_NO" => $mx_use_cache_no, "MX_USE_CACHE" => $portal_config['mx_use_cache'], "L_DEFAULT_STYLE" => $lang['Default_style'], "L_DEFAULT_ADMIN_STYLE" => $lang['Default_admin_style'], "L_OVERRIDE_STYLE" => $lang['Override_style'], "L_OVERRIDE_STYLE_EXPLAIN" => $lang['Override_style_explain'], "STYLE_SELECT" => $style_select, "ADMIN_STYLE_SELECT" => $style_admin_select, "OVERRIDE_STYLE_YES" => $override_user_style_yes, "OVERRIDE_STYLE_NO" => $override_user_style_no, "L_MX_MOD_REWRITE" => $lang['Mx_mod_rewrite'], "L_MX_MOD_REWRITE_EXPLAIN" => $lang['Mx_mod_rewrite_explain'], "S_MX_MOD_REWRITE_YES" => $mx_mod_rewrite_yes, "S_MX_MOD_REWRITE_NO" => $mx_mod_rewrite_no, "MX_MOD_REWRITE" => $portal_config['mod_rewrite'], "L_PORTAL_STATUS" => $lang['Portal_status'], "L_PORTAL_STATUS_EXPLAIN" => $lang['Portal_status_explain'], "S_PORTAL_STATUS_YES" => $mx_portal_status_yes, "S_PORTAL_STATUS_NO" => $mx_portal_status_no, "L_DISABLED_MESSAGE" => $lang['Disabled_message'], "DISABLED_MESSAGE" => $disabled_message, )); $template->pparse('admin_portal'); include_once('page_footer_admin.' . $phpEx); ?> |
|
From: OryNider <ory...@us...> - 2008-03-10 05:56:47
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21431/mx_pafiledb/pafiledb/includes Modified Files: Tag: core28x pafiledb_constants.php Log Message: this is a fix. Index: pafiledb_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/pafiledb_constants.php,v retrieving revision 1.20.2.2 retrieving revision 1.20.2.3 diff -C2 -d -r1.20.2.2 -r1.20.2.3 *** pafiledb_constants.php 8 Mar 2008 15:27:21 -0000 1.20.2.2 --- pafiledb_constants.php 10 Mar 2008 05:56:39 -0000 1.20.2.3 *************** *** 79,94 **** define( 'CHECKBOX', 5 ); ! if ( !MXBB_MODULE || MXBB_27x ) { - $pa_module_version = "pafileDB Download Manager v. 0.9.0"; - $pa_module_author = "Haplo/Jon"; - $pa_module_orig_author = "Mohd"; - if (!defined( 'IN_ADMIN' )) { ! $mx_user->set_module_cfg_name('pafiledb'); ! $mx_user->set_module_lang_path($module_root_path . 'pafiledb/'); $mx_user->extend(); ! } } else --- 79,97 ---- define( 'CHECKBOX', 5 ); ! if (!MXBB_MODULE) { if (!defined( 'IN_ADMIN' )) { ! $mx_user->set_module_cfg_name('linkdb'); ! $mx_user->set_module_lang_path($module_root_path . 'linkdb/'); $mx_user->extend(); ! } ! } ! ! if ( !MXBB_MODULE || MXBB_27x ) ! { ! $pa_module_version = "pafileDB Download Manager v. 0.9.0"; ! $pa_module_author = "Haplo/Jon"; ! $pa_module_orig_author = "Mohd"; } else |
|
From: OryNider <ory...@us...> - 2008-03-10 05:56:47
|
Update of /cvsroot/mxbb/mx_kb/kb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21431/mx_kb/kb/includes Modified Files: Tag: core28x kb_constants.php Log Message: this is a fix. Index: kb_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/includes/kb_constants.php,v retrieving revision 1.7.2.2 retrieving revision 1.7.2.3 diff -C2 -d -r1.7.2.2 -r1.7.2.3 *** kb_constants.php 8 Mar 2008 15:19:19 -0000 1.7.2.2 --- kb_constants.php 10 Mar 2008 05:56:38 -0000 1.7.2.3 *************** *** 56,59 **** --- 56,69 ---- define( 'CHECKBOX', 5 ); + if (!MXBB_MODULE) + { + if (!defined( 'IN_ADMIN' )) + { + $mx_user->set_module_cfg_name('linkdb'); + $mx_user->set_module_lang_path($module_root_path . 'linkdb/'); + $mx_user->extend(); + } + } + // ------------------------------------------------------------------------- // Footer Copyrights *************** *** 63,74 **** $kb_module_version = "Knowledge Base MOD v. 0.9.0"; $kb_module_author = "Jon Ohlsson"; ! $kb_module_orig_author = "wGEric"; ! ! if (!defined( 'IN_ADMIN' )) ! { ! $mx_user->set_module_cfg_name('kb'); ! $mx_user->set_module_lang_path($module_root_path . 'kb/'); ! $mx_user->extend(); ! } } else --- 73,77 ---- $kb_module_version = "Knowledge Base MOD v. 0.9.0"; $kb_module_author = "Jon Ohlsson"; ! $kb_module_orig_author = "wGEric"; } else |
|
From: OryNider <ory...@us...> - 2008-03-10 05:56:47
|
Update of /cvsroot/mxbb/mx_music/music_box/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21431/mx_music/music_box/includes Modified Files: Tag: core28x music_constants.php Log Message: this is a fix. Index: music_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/includes/music_constants.php,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -C2 -d -r1.1.2.3 -r1.1.2.4 *** music_constants.php 8 Mar 2008 15:42:47 -0000 1.1.2.3 --- music_constants.php 10 Mar 2008 05:56:39 -0000 1.1.2.4 *************** *** 64,74 **** // Footer Copyrights // ------------------------------------------------------------------------- ! if ( !MXBB_MODULE || MXBB_27x ) { if (!defined( 'IN_ADMIN' )) { ! $mx_user->set_module_cfg_name('music'); ! $mx_user->set_module_lang_path($module_root_path . 'music_box/'); ! $mx_user->extend(MX_LANG_ALL, MX_IMAGES); } } --- 64,74 ---- // Footer Copyrights // ------------------------------------------------------------------------- ! if (!MXBB_MODULE) { if (!defined( 'IN_ADMIN' )) { ! $mx_user->set_module_cfg_name('linkdb'); ! $mx_user->set_module_lang_path($module_root_path . 'linkdb/'); ! $mx_user->extend(); } } |
|
From: OryNider <ory...@us...> - 2008-03-10 05:56:42
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21431/mx_linkdb/linkdb/includes Modified Files: Tag: core28x linkdb_constants.php Log Message: this is a fix. Index: linkdb_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/includes/linkdb_constants.php,v retrieving revision 1.10.2.1 retrieving revision 1.10.2.2 diff -C2 -d -r1.10.2.1 -r1.10.2.2 *** linkdb_constants.php 8 Mar 2008 15:32:38 -0000 1.10.2.1 --- linkdb_constants.php 10 Mar 2008 05:56:38 -0000 1.10.2.2 *************** *** 53,62 **** define( 'CHECKBOX', 5 ); ! if ( !MXBB_MODULE || MXBB_27x ) { - $linkdb_module_version = "linkDB Manager v. 2.8.1"; - $linkdb_module_author = "Jon"; - $linkdb_module_orig_author = "CRLin"; - if (!defined( 'IN_ADMIN' )) { --- 53,58 ---- define( 'CHECKBOX', 5 ); ! if (!MXBB_MODULE) { if (!defined( 'IN_ADMIN' )) { *************** *** 66,69 **** --- 62,72 ---- } } + + if ( !MXBB_MODULE || MXBB_27x ) + { + $linkdb_module_version = "linkDB Manager v. 2.8.1"; + $linkdb_module_author = "Jon"; + $linkdb_module_orig_author = "CRLin"; + } else { |
|
From: OryNider <ory...@us...> - 2008-03-10 05:51:06
|
Update of /cvsroot/mxbb/mx_mod_core/root/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18552/admin Log Message: Directory /cvsroot/mxbb/mx_mod_core/root/templates/subSilver/admin added to the repository |
|
From: OryNider <ory...@us...> - 2008-03-10 05:50:55
|
Update of /cvsroot/mxbb/mx_mod_core/root/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18512/subSilver Log Message: Directory /cvsroot/mxbb/mx_mod_core/root/templates/subSilver added to the repository |
|
From: OryNider <ory...@us...> - 2008-03-10 05:50:32
|
Update of /cvsroot/mxbb/mx_mod_core/root/mx_mod/styles/prosilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18445/prosilver Log Message: Directory /cvsroot/mxbb/mx_mod_core/root/mx_mod/styles/prosilver added to the repository |
|
From: OryNider <ory...@us...> - 2008-03-10 05:50:13
|
Update of /cvsroot/mxbb/mx_mod_core/root/mx_mod/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18190/lang_english Log Message: Directory /cvsroot/mxbb/mx_mod_core/root/mx_mod/language/lang_english added to the repository |
|
From: OryNider <ory...@us...> - 2008-03-10 05:49:49
|
Update of /cvsroot/mxbb/mx_mod_core/root/mx_mod/includes/shared/phpbb2/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17963/lang_english Log Message: Directory /cvsroot/mxbb/mx_mod_core/root/mx_mod/includes/shared/phpbb2/language/lang_english added to the repository |
|
From: OryNider <ory...@us...> - 2008-03-10 05:49:42
|
Update of /cvsroot/mxbb/mx_mod_core/root/mx_mod/includes/shared/phpbb2/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17926/includes Log Message: Directory /cvsroot/mxbb/mx_mod_core/root/mx_mod/includes/shared/phpbb2/includes added to the repository |
|
From: OryNider <ory...@us...> - 2008-03-10 05:49:42
|
Update of /cvsroot/mxbb/mx_mod_core/root/mx_mod/includes/shared/phpbb2/language In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17926/language Log Message: Directory /cvsroot/mxbb/mx_mod_core/root/mx_mod/includes/shared/phpbb2/language added to the repository |