Немного фиксов, но не все git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@508 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
gemini_13@torba.su 2013-06-28 16:28:42 +00:00
commit 1b2aeb42e4
9 changed files with 10 additions and 10 deletions

View file

@ -613,7 +613,7 @@ INSERT INTO `bb_config` VALUES ('bt_show_peers', '1');
INSERT INTO `bb_config` VALUES ('bt_show_peers_mode', '1');
INSERT INTO `bb_config` VALUES ('bt_show_port_only_moder', '1');
INSERT INTO `bb_config` VALUES ('bt_tor_browse_only_reg', '0');
INSERT INTO `bb_config` VALUES ('bt_unset_dltype_on_tor_unreg', '0');
INSERT INTO `bb_config` VALUES ('bt_unset_dltype_on_tor_unreg', '1');
INSERT INTO `bb_config` VALUES ('config_id', '1');
INSERT INTO `bb_config` VALUES ('cron_last_check', '1211477514');
INSERT INTO `bb_config` VALUES ('default_dateformat', 'Y-m-d H:i');

View file

@ -51,7 +51,7 @@ $default_cfg_bool = array(
'bt_allow_spmode_change' => 1,
'bt_del_addit_ann_urls' => 1,
'bt_set_dltype_on_tor_reg' => 1,
'bt_unset_dltype_on_tor_unreg' => 0,
'bt_unset_dltype_on_tor_unreg' => 1,
);
$default_cfg_num = array(

View file

@ -114,7 +114,7 @@ if( isset($_GET['import_pack']) || isset($_POST['import_pack']) )
$smile_data[$j] = str_replace('>', '>', $smile_data[$j]);
$k = $smile_data[$j];
if( $smiles[$k] == 1 )
if( isset($smiles[$k]) )
{
if( !empty($replace_existing) )
{

View file

@ -134,7 +134,7 @@ class torrent
$cur_files_ary[] = $this->build_file_item($name, $length);
}
}
natsort($cur_files_ary);
@natsort($cur_files_ary);
}
else
{

View file

@ -110,7 +110,7 @@ function call_seed($topic_id, $t_info, $to_user_id)
}
}
$sql = "SELECT user_id FROM ". BB_BT_DLSTATUS ." WHERE topic_id = $topic_id";
$sql = "SELECT user_id FROM ". BB_BT_DLSTATUS ." WHERE topic_id = $topic_id AND user_id != {$userdata['user_id']}";
/*$row = DB()->fetch_rowset($sql);*/
foreach(DB()->fetch_rowset($sql) as $row)
{

View file

@ -57,7 +57,7 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do
// Increase number of revision after update
$bb_cfg['tp_version'] = '2.5 pre-stable';
$bb_cfg['tp_release_date'] = '28-06-2013';
$bb_cfg['tp_release_state'] = 'R507';
$bb_cfg['tp_release_state'] = 'R508';
// Database
$charset = 'utf8';

View file

@ -11,6 +11,6 @@ $lang['CALLSEED_MSG_MSG'] = 'Ошибка отправки сообщения';
$lang['CALLSEED_MSG_MSG_TEXT'] = 'Ошибка сохранения текста сообщения';
$lang['CALLSEED_MSG_POPUP'] = 'Ошибка работы всплывающего окна';
$lang['CALLSEED_MSG_TIME'] = 'Не удалось установить время последнего запроса';
$lang['CALLSEED_HAVE_SEED'] = 'Раздача не нуждаются в помощи (<b>Сидеров:</b> %d, <b>Личеров:</b> %d)';
$lang['CALLSEED_HAVE_SEED'] = 'Раздача не нуждается в помощи (<b>Сидеров:</b> %d, <b>Личеров:</b> %d)';
$lang['CALLSEED_RETURN'] = '<br><br> <a href="viewtopic.php?t=%s"><b>Вернуться в тему</b></a>';

View file

@ -318,7 +318,7 @@ if ($mode == 'newtopic' && $topic_tpl && $post_info['topic_tpl_id'])
}
// Notify and draft
$post_data['is_draft'] = $post_info['is_draft'];
if (!IS_GUEST && $mode != 'newtopic') $post_data['is_draft'] = $post_info['is_draft'];
if ($submit || $refresh)
{
$notify_user = (int) !empty($_POST['notify']);

View file

@ -1401,7 +1401,7 @@ div#autocomplete_popup div.close {
font-weight: bold;
width: 12px;
height: 12px;
background: url("./../images/bad.gif") transparent no-repeat;
background: url("../../../images/bad.gif") transparent no-repeat;
}
div#autocomplete_popup input {
@ -1414,7 +1414,7 @@ div#autocomplete_popup span.regenerate {
width: 16px;
height: 16px;
margin: 24px 0 0 8px;
background: url("./../images/pic_loading.gif") transparent no-repeat;
background: url("../../../images/pic_loading.gif") transparent no-repeat;
cursor: pointer;
display: inline-block;
}