mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Minor improvements (#966)
* Minor improvements * Update viewtopic.tpl * Update page_footer.php * Update page_footer.php
This commit is contained in:
parent
708dd4f131
commit
f2b93b68aa
3 changed files with 4 additions and 3 deletions
|
@ -34,7 +34,7 @@ if (!$bb_cfg['gzip_compress']) {
|
|||
if ($show_dbg_info) {
|
||||
$gen_time = utime() - TIMESTART;
|
||||
$gen_time_txt = sprintf('%.3f', $gen_time);
|
||||
$gzip_text = UA_GZIP_SUPPORTED ? 'GZIP ' : '<s>GZIP</s> ';
|
||||
$gzip_text = UA_GZIP_SUPPORTED ? "{$lang['GZIP_COMPRESSION']}: " : "<s>{$lang['GZIP_COMPRESSION']}:</s> ";
|
||||
$gzip_text .= $bb_cfg['gzip_compress'] ? $lang['ON'] : $lang['OFF'];
|
||||
|
||||
$stat = '[ ' . $lang['EXECUTION_TIME'] . " $gen_time_txt " . $lang['SEC'];
|
||||
|
|
|
@ -610,7 +610,7 @@ $template->assign_vars([
|
|||
'POSTING_TYPE_TITLE' => $page_title,
|
||||
'POSTING_TOPIC_ID' => ($mode != 'newtopic') ? $topic_id : '',
|
||||
'POSTING_TOPIC_TITLE' => ($mode != 'newtopic') ? wbr($post_info['topic_title']) : '',
|
||||
'U_VIEW_FORUM' => "viewforum.php?" . POST_FORUM_URL . "=$forum_id",
|
||||
'U_VIEW_FORUM' => FORUM_URL . $forum_id,
|
||||
|
||||
'USERNAME' => @$username,
|
||||
'CAPTCHA_HTML' => (IS_GUEST && !$bb_cfg['captcha']['disabled']) ? bb_captcha('get') : '',
|
||||
|
|
|
@ -412,7 +412,8 @@ 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 and postrow.RG_SIG_ATTACH --><hr /><div id="rg_sig">{postrow.RG_SIG}</div><!-- ENDIF -->
|
||||
<!-- IF postrow.RG_DESC --><div class="post-wrap">{L_DESCRIPTION}: {postrow.RG_DESC}</div><!-- ENDIF -->
|
||||
<!-- IF postrow.RG_SIG and postrow.RG_SIG_ATTACH --><hr /><div id="rg_sig">{L_SIGNATURE}: {postrow.RG_SIG}</div><!-- ENDIF -->
|
||||
<hr /><a href="{postrow.RG_FIND_URL}">{L_MORE_RELEASES}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue