git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@87 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
nanosimbiot 2011-07-05 14:49:37 +00:00
commit b76ed69a42
4 changed files with 4 additions and 6 deletions

View file

@ -57,7 +57,7 @@ $bb_cfg['css_ver'] = 1;
// Increase number of revision after update
$bb_cfg['tp_version'] = '2.0.2';
$bb_cfg['tp_release_state'] = 'TP II r85';
$bb_cfg['tp_release_state'] = 'TP II r86';
$bb_cfg['tp_release_date'] = '05-07-2011';
$bb_cfg['board_disabled_msg'] = 'форум временно отключен'; // 'forums temporarily disabled'; // show this msg if board has been disabled via ON/OFF trigger

View file

@ -41,7 +41,7 @@ switch ($mode)
if (!IS_ADMIN)
{
// Ограничение по ипу
if($bb_cfg['user_unique_ip'])
if($bb_cfg['unique_ip'])
{
if($users = DB()->fetch_row("SELECT user_id, username FROM ". BB_USERS ." WHERE user_reg_ip = '". USER_IP ."' LIMIT 1"))
{

View file

@ -243,7 +243,7 @@ switch ($mode)
if(isset($news_forums[$forum_id]) && $bb_cfg['show_latest_news'] && $result)
{
$datastore->enqueue('latest_news');
$atastore->update('latest_news');
$datastore->update('latest_news');
}
$msg = ($result) ? $lang['TOPICS_REMOVED'] : 'No topics were removed';
@ -272,7 +272,7 @@ switch ($mode)
if((isset($news_forums[$forum_id]) || isset($news_forums[$new_forum_id])) && $bb_cfg['show_latest_news'] && $result)
{
$datastore->enqueue('latest_news');
$atastore->update('latest_news');
$datastore->update('latest_news');
}
$msg = ($result) ? $lang['TOPICS_MOVED'] : $lang['NO_TOPICS_MOVED'];

View file

@ -638,8 +638,6 @@ else
define('WORD_LIST_OBTAINED', TRUE);
}
$msg_date = bb_date($postrow['post_time']);
// Use trim to get rid of spaces placed there by MS-SQL 2000
$quote_username = ( trim($post_info['post_username']) != '' ) ? $post_info['post_username'] : $post_info['username'];
$message = '[quote="' . $quote_username . '"]' . $message . '[/quote]';