mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
Some fixes
Исправления обнаруженных ошибок.
This commit is contained in:
parent
fc063b8fc3
commit
069745da60
6 changed files with 11 additions and 10 deletions
|
@ -785,7 +785,7 @@ $lang['MEMBERS_IN_GROUP'] = 'Members in group';
|
|||
|
||||
// Release Groups
|
||||
$lang['POST_RELEASE_FROM_GROUP'] = 'Post release from group';
|
||||
$lang['CHOOSE_RELEASE_GROUP'] = 'Select release group';
|
||||
$lang['CHOOSE_RELEASE_GROUP'] = 'not selected';
|
||||
$lang['ATTACH_RG_SIG'] = 'attach release group signature';
|
||||
$lang['RELEASE_FROM_RG'] = 'Release was prepared by';
|
||||
$lang['GROUPS_RELEASES'] = 'Group\'s releases';
|
||||
|
|
|
@ -785,7 +785,7 @@ $lang['MEMBERS_IN_GROUP'] = 'Кол-во участников';
|
|||
|
||||
// Release Groups
|
||||
$lang['POST_RELEASE_FROM_GROUP'] = 'Создать релиз от группы';
|
||||
$lang['CHOOSE_RELEASE_GROUP'] = 'Выбрать релиз группу';
|
||||
$lang['CHOOSE_RELEASE_GROUP'] = 'не выбрано';
|
||||
$lang['ATTACH_RG_SIG'] = 'добавить подпись релиз группы';
|
||||
$lang['RELEASE_FROM_RG'] = 'Релиз подготовлен';
|
||||
$lang['GROUPS_RELEASES'] = 'Релизы группы';
|
||||
|
|
|
@ -785,7 +785,7 @@ $lang['MEMBERS_IN_GROUP'] = 'Кількість учасників';
|
|||
|
||||
// Release Groups
|
||||
$lang['POST_RELEASE_FROM_GROUP'] = 'Створити реліз від групи';
|
||||
$lang['CHOOSE_RELEASE_GROUP'] = 'Вибрати реліз групи';
|
||||
$lang['CHOOSE_RELEASE_GROUP'] = 'не вибрано';
|
||||
$lang['ATTACH_RG_SIG'] = 'додати підпис реліз групи';
|
||||
$lang['RELEASE_FROM_RG'] = 'Реліз підготовлений';
|
||||
$lang['GROUPS_RELEASES'] = 'Релізи групи';
|
||||
|
|
|
@ -410,7 +410,7 @@ function build_poll_add_form (src_el)
|
|||
<h4 class="alert-heading">{L_RELEASE_FROM_RG} <a href="{postrow.RG_URL}">{postrow.RG_NAME}</a></h4>
|
||||
<div id="pg_info_{postrow.POST_ID}">
|
||||
<!-- IF postrow.RG_AVATAR --><hr /><a href="{postrow.RG_URL}">{postrow.RG_AVATAR}</a><!-- ENDIF -->
|
||||
<!-- IF postrow.RG_SIG --><hr /><div id="rg_sig">{postrow.RG_SIG}</div><!-- ENDIF -->
|
||||
<!-- IF postrow.RG_SIG and postrow.RG_SIG_ATTACH --><hr /><div id="rg_sig">{postrow.RG_SIG}</div><!-- ENDIF -->
|
||||
<hr /><a href="{postrow.RG_FIND_URL}">{L_MORE_RELEASES}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -225,7 +225,7 @@ if ($release_groups = get_group_data('all'))
|
|||
{
|
||||
$s_rg_opt = array(
|
||||
$search_all => array(
|
||||
'lang' => $lang['GROUPS_RELEASES'],
|
||||
'lang' => $lang['CHOOSE_RELEASE_GROUP'],
|
||||
'sql' => 0,
|
||||
));
|
||||
foreach ($release_groups as $rg)
|
||||
|
|
|
@ -885,6 +885,7 @@ for($i = 0; $i < $total_posts; $i++)
|
|||
'RG_URL' => GROUP_URL . $rg_id,
|
||||
'RG_FIND_URL' => 'tracker.php?srg='. $rg_id,
|
||||
'RG_SIG' => $rg_signature,
|
||||
'RG_SIG_ATTACH' => $postrow[$i]['attach_rg_sig'],
|
||||
));
|
||||
|
||||
if ($postrow[$i]['post_attachment'] && $is_auth['auth_download'] && function_exists('display_post_attachments'))
|
||||
|
@ -922,10 +923,10 @@ if ($bb_cfg['show_quick_reply'])
|
|||
if ($is_auth['auth_reply'] && !($t_data['forum_status'] == FORUM_LOCKED || $t_data['topic_status'] == TOPIC_LOCKED))
|
||||
{
|
||||
$template->assign_vars(array(
|
||||
'QUICK_REPLY' => true,
|
||||
'QR_POST_ACTION' => POSTING_URL,
|
||||
'QR_TOPIC_ID' => $topic_id,
|
||||
'CAPTCHA_HTML' => (IS_GUEST) ? CAPTCHA()->get_html() : '',
|
||||
'QUICK_REPLY' => true,
|
||||
'QR_POST_ACTION' => POSTING_URL,
|
||||
'QR_TOPIC_ID' => $topic_id,
|
||||
'CAPTCHA_HTML' => (IS_GUEST) ? CAPTCHA()->get_html() : '',
|
||||
));
|
||||
|
||||
if (!IS_GUEST)
|
||||
|
@ -933,7 +934,7 @@ if ($bb_cfg['show_quick_reply'])
|
|||
$notify_user = bf($userdata['user_opt'], 'user_opt', 'user_notify');
|
||||
|
||||
$template->assign_vars(array(
|
||||
'QR_NOTIFY_CHECKED' => ($notify_user) ? $notify_user && $is_watching_topic : $is_watching_topic,
|
||||
'QR_NOTIFY_CHECKED' => ($notify_user) ? $notify_user && $is_watching_topic : $is_watching_topic,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue