diff --git a/upload/attach_mod/displaying_torrent.php b/upload/attach_mod/displaying_torrent.php index 2fbee8aed..c88669bfc 100644 --- a/upload/attach_mod/displaying_torrent.php +++ b/upload/attach_mod/displaying_torrent.php @@ -191,7 +191,7 @@ if ($tor_reged && $tor_info) { $template->assign_vars(array( 'SHOW_RATIO_WARN' => true, - 'RATIO_WARN_MSG' => sprintf($lang['BT_RATIO_WARNING_MSG'], $min_ratio_warn, $bb_cfg['bt_ratio_warning_url_help']), + 'RATIO_WARN_MSG' => sprintf($lang['BT_RATIO_WARNING_MSG'], $min_ratio_warn, $bb_cfg['ratio_url_help']), )); } } diff --git a/upload/config.php b/upload/config.php index bbf1ad3bb..ebe9ecf8c 100644 --- a/upload/config.php +++ b/upload/config.php @@ -45,7 +45,7 @@ * Ads * Misc * Captcha -*/ + **/ if (!defined('BB_ROOT')) die(basename(__FILE__)); @@ -56,9 +56,9 @@ $bb_cfg['js_ver'] = 1; $bb_cfg['css_ver'] = 1; // Increase number of revision after update -$bb_cfg['tp_version'] = '2.0'; -$bb_cfg['tp_release_state'] = 'R198'; -$bb_cfg['tp_release_date'] = '7-08-2011'; +$bb_cfg['tp_version'] = '2.0 RC'; +$bb_cfg['tp_release_state'] = 'R199'; +$bb_cfg['tp_release_date'] = '8-08-2011'; $bb_cfg['board_disabled_msg'] = 'форум временно отключен'; // 'forums temporarily disabled'; // show this msg if board has been disabled via ON/OFF trigger $bb_cfg['srv_overloaded_msg'] = "Извините, в данный момент сервер перегружен\nПопробуйте повторить запрос через несколько минут"; @@ -138,7 +138,6 @@ $bb_cfg['ratio_url_help'] = 'viewtopic.php?t=3'; // URL help link for $bb_cfg['bt_min_ratio_allow_dl_tor'] = 0; // 0 - disable $bb_cfg['bt_min_ratio_warning'] = 0; // 0 - disable -$bb_cfg['bt_ratio_warning_url_help'] = $bb_cfg['ratio_url_help']; // URL help link, for limit end. $bb_cfg['bt_min_ratio_dl_button'] = 0; // 0 - disable $tr_cfg = array( @@ -241,8 +240,8 @@ $bb_cfg['theme_css'] = 'theme_default.css'; $bb_cfg['show_sidebar1_on_every_page'] = false; $bb_cfg['show_sidebar2_on_every_page'] = false; -$bb_cfg['sidebar1_static_content_path'] = BB_PATH .'/misc/html/sidebar1.html'; # -$bb_cfg['sidebar2_static_content_path'] = ''; +$bb_cfg['sidebar1_static_content_path'] = BB_PATH .'/misc/html/sidebar1.html'; +$bb_cfg['sidebar2_static_content_path'] = BB_PATH .'/misc/html/sidebar2.html'; $page_cfg['show_sidebar1'] = array( # BB_SCRIPT => true diff --git a/upload/donate.php b/upload/donate.php new file mode 100644 index 000000000..0e836d83d --- /dev/null +++ b/upload/donate.php @@ -0,0 +1,15 @@ +session_start(); + +$template->assign_vars(array( + 'PAGE_TITLE' => 'Помошь трекеру', +)); + +print_page('donate.tpl'); \ No newline at end of file diff --git a/upload/includes/report_hack/report_privmsg.php b/upload/includes/report_hack/report_privmsg.php index 9d0fd319f..b675a858a 100644 --- a/upload/includes/report_hack/report_privmsg.php +++ b/upload/includes/report_hack/report_privmsg.php @@ -193,7 +193,7 @@ class report_privmsg extends report_module // function subject_details_obtain($report_subject) { - $sql = 'SELECT p.privmsgs_subject, p.privmsgs_from_userid, p.privmsgs_enable_bbcode, p.privmsgs_enable_smilies, pt.privmsgs_text, u.username + $sql = 'SELECT p.privmsgs_subject, p.privmsgs_from_userid, pt.privmsgs_text, u.username FROM ' . BB_PRIVMSGS . ' p INNER JOIN ' . BB_PRIVMSGS_TEXT . ' pt ON pt.privmsgs_text_id = privmsgs_id @@ -214,12 +214,12 @@ class report_privmsg extends report_module } $subject_details = array( - 'Message_id' => '#' . $report_subject, - 'Message_from' => '' . $row['username'] . '', - 'Message_title' => $row['privmsgs_subject'], - 'Message_text' => $row['privmsgs_text']); + 'MESSAGE_ID' => '#' . $report_subject, + 'MESSAGE_FROM' => '' . $row['username'] . '', + 'MESSAGE_TITLE' => $row['privmsgs_subject'], + 'MESSAGE_TEXT' => $row['privmsgs_text']); - $this->_subject_details_prepare($subject_details['Message_text'], $subject_details['Message_title'], $row); + $this->_subject_details_prepare($subject_details['MESSAGE_TEXT'], $subject_details['MESSAGE_TITLE'], $row); return array( 'details' => $subject_details); diff --git a/upload/misc/html/sidebar2.html b/upload/misc/html/sidebar2.html index 31546c5e8..5be491e4b 100644 --- a/upload/misc/html/sidebar2.html +++ b/upload/misc/html/sidebar2.html @@ -1,2 +1,10 @@ + +
-sidebar2 static content \ No newline at end of file +{L_DONATE_TITLE} | +{PAGE_TITLE} | |
---|---|---|
@@ -13,7 +13,6 @@
Если Вы желаете материально помочь в развитии проекту - ниже указаны возможные способы перевода денежных средств. - ![]() WMID: ************* @@ -25,19 +24,19 @@ | ||
Евро | -![]() |
+ E************* |
Доллар | -![]() |
+ Z************* |
Гривны | -![]() |
+ U************* |
Рубли | -![]() |
+ R************* |
{c.f.last.LAST_POST_TIME} -