mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
r199
git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@199 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
75b3a8f234
commit
89b8f698ec
10 changed files with 52 additions and 65 deletions
|
@ -191,7 +191,7 @@ if ($tor_reged && $tor_info)
|
||||||
{
|
{
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'SHOW_RATIO_WARN' => true,
|
'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']),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
* Ads
|
* Ads
|
||||||
* Misc
|
* Misc
|
||||||
* Captcha
|
* Captcha
|
||||||
*/
|
**/
|
||||||
|
|
||||||
if (!defined('BB_ROOT')) die(basename(__FILE__));
|
if (!defined('BB_ROOT')) die(basename(__FILE__));
|
||||||
|
|
||||||
|
@ -56,9 +56,9 @@ $bb_cfg['js_ver'] = 1;
|
||||||
$bb_cfg['css_ver'] = 1;
|
$bb_cfg['css_ver'] = 1;
|
||||||
|
|
||||||
// Increase number of revision after update
|
// Increase number of revision after update
|
||||||
$bb_cfg['tp_version'] = '2.0';
|
$bb_cfg['tp_version'] = '2.0 RC';
|
||||||
$bb_cfg['tp_release_state'] = 'R198';
|
$bb_cfg['tp_release_state'] = 'R199';
|
||||||
$bb_cfg['tp_release_date'] = '7-08-2011';
|
$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['board_disabled_msg'] = 'форум временно отключен'; // 'forums temporarily disabled'; // show this msg if board has been disabled via ON/OFF trigger
|
||||||
$bb_cfg['srv_overloaded_msg'] = "Извините, в данный момент сервер перегружен\nПопробуйте повторить запрос через несколько минут";
|
$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_allow_dl_tor'] = 0; // 0 - disable
|
||||||
$bb_cfg['bt_min_ratio_warning'] = 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
|
$bb_cfg['bt_min_ratio_dl_button'] = 0; // 0 - disable
|
||||||
|
|
||||||
$tr_cfg = array(
|
$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_sidebar1_on_every_page'] = false;
|
||||||
$bb_cfg['show_sidebar2_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['sidebar1_static_content_path'] = BB_PATH .'/misc/html/sidebar1.html';
|
||||||
$bb_cfg['sidebar2_static_content_path'] = '';
|
$bb_cfg['sidebar2_static_content_path'] = BB_PATH .'/misc/html/sidebar2.html';
|
||||||
|
|
||||||
$page_cfg['show_sidebar1'] = array(
|
$page_cfg['show_sidebar1'] = array(
|
||||||
# BB_SCRIPT => true
|
# BB_SCRIPT => true
|
||||||
|
|
15
upload/donate.php
Normal file
15
upload/donate.php
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
define('IN_PHPBB', true);
|
||||||
|
define('BB_SCRIPT', 'donate');
|
||||||
|
define('BB_ROOT', './');
|
||||||
|
require(BB_ROOT ."common.php");
|
||||||
|
|
||||||
|
// Start session management
|
||||||
|
$user->session_start();
|
||||||
|
|
||||||
|
$template->assign_vars(array(
|
||||||
|
'PAGE_TITLE' => 'Помошь трекеру',
|
||||||
|
));
|
||||||
|
|
||||||
|
print_page('donate.tpl');
|
|
@ -193,7 +193,7 @@ class report_privmsg extends report_module
|
||||||
//
|
//
|
||||||
function subject_details_obtain($report_subject)
|
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
|
FROM ' . BB_PRIVMSGS . ' p
|
||||||
INNER JOIN ' . BB_PRIVMSGS_TEXT . ' pt
|
INNER JOIN ' . BB_PRIVMSGS_TEXT . ' pt
|
||||||
ON pt.privmsgs_text_id = privmsgs_id
|
ON pt.privmsgs_text_id = privmsgs_id
|
||||||
|
@ -214,12 +214,12 @@ class report_privmsg extends report_module
|
||||||
}
|
}
|
||||||
|
|
||||||
$subject_details = array(
|
$subject_details = array(
|
||||||
'Message_id' => '#' . $report_subject,
|
'MESSAGE_ID' => '#' . $report_subject,
|
||||||
'Message_from' => '<a href="' . append_sid("profile.php?mode=viewprofile&" . POST_USERS_URL . '=' . $row['privmsgs_from_userid']) . '">' . $row['username'] . '</a>',
|
'MESSAGE_FROM' => '<a href="' . append_sid("profile.php?mode=viewprofile&" . POST_USERS_URL . '=' . $row['privmsgs_from_userid']) . '">' . $row['username'] . '</a>',
|
||||||
'Message_title' => $row['privmsgs_subject'],
|
'MESSAGE_TITLE' => $row['privmsgs_subject'],
|
||||||
'Message_text' => $row['privmsgs_text']);
|
'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(
|
return array(
|
||||||
'details' => $subject_details);
|
'details' => $subject_details);
|
||||||
|
|
|
@ -1,2 +1,10 @@
|
||||||
|
<html>
|
||||||
|
<body>
|
||||||
|
|
||||||
sidebar2 static content
|
<ul>
|
||||||
|
<li>misc/html/sidebar2.html</li><br />
|
||||||
|
<li>/templates/default/page_footer.tpl</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -131,7 +131,9 @@ img { border: 0px; }
|
||||||
.dlDown, .leech, .leechmed, .leechsmall { color: #800000; }
|
.dlDown, .leech, .leechmed, .leechsmall { color: #800000; }
|
||||||
.dlComplete, .seed, .seedmed, .seedsmall { color: #006600; }
|
.dlComplete, .seed, .seedmed, .seedsmall { color: #006600; }
|
||||||
.dlCancel { color: #666666; }
|
.dlCancel { color: #666666; }
|
||||||
.itsme { color: #0000FF !important; font-size: 12px; font-weight: bold; text-decoration: none;}
|
|
||||||
|
/* DL list color me */
|
||||||
|
.itsme { color: #0000FF !important; font-size: 12px; font-weight: bold; text-decoration: none;}
|
||||||
|
|
||||||
a.dlWill, a.dlWill:visited { color: #0066CC; text-decoration: none; }
|
a.dlWill, a.dlWill:visited { color: #0066CC; text-decoration: none; }
|
||||||
a.dlDown, a.dlDown:visited { color: #800000; text-decoration: none; }
|
a.dlDown, a.dlDown:visited { color: #800000; text-decoration: none; }
|
||||||
|
@ -590,7 +592,9 @@ table.smilies td { padding: 3px; text-align: center; }
|
||||||
/* ---------------------------------- *
|
/* ---------------------------------- *
|
||||||
Forums on home page
|
Forums on home page
|
||||||
* ---------------------------------- */
|
* ---------------------------------- */
|
||||||
/*.forums thead { display: none;}*/ /* Ôîðóì, Òåì, Ñîîáù., Ïîñë. ñîîáùåíèå OFF on index page */
|
/*.forums thead { display: none;}*/ /* Hide Forum, Topics, Posts, Last Post in index */
|
||||||
|
/*.f_topics, .f_posts { display: none; }*/ /* Hide posts/topics count <td> in index */
|
||||||
|
|
||||||
#forums_list_wrap { margin-top: 4px; padding-right: 2px; }
|
#forums_list_wrap { margin-top: 4px; padding-right: 2px; }
|
||||||
#forums_top_links { clear: both; }
|
#forums_top_links { clear: both; }
|
||||||
#forums_wrap { clear: both; padding-top: 1px; }
|
#forums_wrap { clear: both; padding-top: 1px; }
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<table class="forumline" style="table-layout: fixed;">
|
<table class="forumline" style="table-layout: fixed;">
|
||||||
<tr>
|
<tr>
|
||||||
<th>{L_DONATE_TITLE}</th>
|
<th>{PAGE_TITLE}</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1 pad_8" align="center">
|
<td class="row1 pad_8" align="center">
|
||||||
|
@ -13,7 +13,6 @@
|
||||||
<br/>
|
<br/>
|
||||||
Если Вы желаете материально помочь в развитии проекту - ниже указаны возможные способы перевода денежных средств.
|
Если Вы желаете материально помочь в развитии проекту - ниже указаны возможные способы перевода денежных средств.
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
<img src="images/wm.gif"/>
|
|
||||||
<br/>
|
<br/>
|
||||||
WMID: *************
|
WMID: *************
|
||||||
<br/> <br/>
|
<br/> <br/>
|
||||||
|
@ -25,19 +24,19 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Евро</td>
|
<td>Евро</td>
|
||||||
<td><img border="0" src="images/wme.png"/> E*************</td>
|
<td> E*************</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Доллар</td>
|
<td>Доллар</td>
|
||||||
<td><img border="0" src="images/wmz.png"/> Z*************</td>
|
<td> Z*************</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Гривны</td>
|
<td>Гривны</td>
|
||||||
<td><img border="0" src="images/wmu.png"/> U*************</td>
|
<td> U*************</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Рубли</td>
|
<td>Рубли</td>
|
||||||
<td><img border="0" src="images/wmr.png"/> R*************</td>
|
<td> R*************</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -106,7 +106,7 @@
|
||||||
|
|
||||||
<p class="last_post_time">
|
<p class="last_post_time">
|
||||||
<span class="last_time">{c.f.last.LAST_POST_TIME}</span>
|
<span class="last_time">{c.f.last.LAST_POST_TIME}</span>
|
||||||
<span class="last_author">by
|
<span class="last_author">·
|
||||||
<!-- IF c.f.last.LAST_POST_USER_ID -->
|
<!-- IF c.f.last.LAST_POST_USER_ID -->
|
||||||
<a href="{PROFILE_URL}{c.f.last.LAST_POST_USER_ID}">{c.f.last.LAST_POST_USER_NAME}</a>
|
<a href="{PROFILE_URL}{c.f.last.LAST_POST_USER_ID}">{c.f.last.LAST_POST_USER_NAME}</a>
|
||||||
<!-- ELSE -->
|
<!-- ELSE -->
|
||||||
|
|
|
@ -7,8 +7,11 @@
|
||||||
<!--sidebar2-->
|
<!--sidebar2-->
|
||||||
<td id="sidebar2">
|
<td id="sidebar2">
|
||||||
<div id="sidebar2_wrap">
|
<div id="sidebar2_wrap">
|
||||||
|
|
||||||
|
|
||||||
<?php if (!empty($bb_cfg['sidebar2_static_content_path'])) include($bb_cfg['sidebar2_static_content_path']); ?>
|
<?php if (!empty($bb_cfg['sidebar2_static_content_path'])) include($bb_cfg['sidebar2_static_content_path']); ?>
|
||||||
<img width="210" class="spacer" src="{SPACER}" alt="" />
|
<img width="210" class="spacer" src="{SPACER}" alt="" />
|
||||||
|
|
||||||
</div><!--/sidebar2_wrap-->
|
</div><!--/sidebar2_wrap-->
|
||||||
</td><!--/sidebar2-->
|
</td><!--/sidebar2-->
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
|
@ -1,41 +0,0 @@
|
||||||
<?xml version="1.0" encoding="{L_ENCODING}"?>
|
|
||||||
<!-- BEGIN switch_enable_xslt -->
|
|
||||||
<?xml-stylesheet type="text/xsl" href="templates/rss.xsl"?>
|
|
||||||
<!-- END switch_enable_xslt -->
|
|
||||||
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
||||||
xmlns:annotate="http://purl.org/rss/1.0/modules/annotate/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
|
||||||
<channel>
|
|
||||||
<title>{BOARD_TITLE}</title>
|
|
||||||
<link>{BOARD_URL}</link>
|
|
||||||
<description>{BOARD_DESCRIPTION}</description>
|
|
||||||
<managingEditor>{BOARD_MANAGING_EDITOR}</managingEditor>
|
|
||||||
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
|
|
||||||
<generator>{PROGRAM}</generator>{LANGUAGE}
|
|
||||||
<lastBuildDate>{BUILD_DATE}</lastBuildDate>
|
|
||||||
<image>
|
|
||||||
<url>{BOARD_URL}images/logo/logo.gif</url>
|
|
||||||
<title>{BOARD_TITLE}</title>
|
|
||||||
<link>{BOARD_URL}</link>
|
|
||||||
<width>122</width>
|
|
||||||
<height>56</height>
|
|
||||||
</image>
|
|
||||||
<!-- BEGIN post_item -->
|
|
||||||
<item>
|
|
||||||
<title>{post_item.FORUM_NAME} :: {post_item.TOPIC_TITLE}</title>
|
|
||||||
<link>{post_item.POST_URL}</link>
|
|
||||||
<pubDate>{post_item.UTF_TIME}</pubDate>
|
|
||||||
<guid isPermaLink="true">{post_item.POST_URL}</guid>
|
|
||||||
<description>{L_AUTHOR}: {post_item.AUTHOR}<br />
|
|
||||||
{post_item.POST_SUBJECT}
|
|
||||||
{L_POSTED}: {post_item.POST_TIME}<br />
|
|
||||||
<br /><span class="postbody">
|
|
||||||
{post_item.POST_TEXT}{post_item.USER_SIG}</span><br />
|
|
||||||
</description>
|
|
||||||
<dc:creator>{post_item.AUTHOR0}</dc:creator>
|
|
||||||
<dc:subject>{post_item.FORUM_NAME}</dc:subject>
|
|
||||||
<annotate:reference rdf:resource="{post_item.FIRST_POST_URL}" />
|
|
||||||
<comments>{post_item.REPLY_URL}</comments>
|
|
||||||
</item>
|
|
||||||
<!-- END post_item -->
|
|
||||||
</channel>
|
|
||||||
</rss>
|
|
Loading…
Add table
Add a link
Reference in a new issue