From f2b93b68aa4ac68347096988d5cf2ac0a5422a37 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Thu, 12 Oct 2023 15:16:35 +0700 Subject: [PATCH] Minor improvements (#966) * Minor improvements * Update viewtopic.tpl * Update page_footer.php * Update page_footer.php --- library/includes/page_footer.php | 2 +- posting.php | 2 +- styles/templates/default/viewtopic.tpl | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/library/includes/page_footer.php b/library/includes/page_footer.php index 689129a6b..03d094bd3 100644 --- a/library/includes/page_footer.php +++ b/library/includes/page_footer.php @@ -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 ' : 'GZIP '; + $gzip_text = UA_GZIP_SUPPORTED ? "{$lang['GZIP_COMPRESSION']}: " : "{$lang['GZIP_COMPRESSION']}: "; $gzip_text .= $bb_cfg['gzip_compress'] ? $lang['ON'] : $lang['OFF']; $stat = '[  ' . $lang['EXECUTION_TIME'] . " $gen_time_txt " . $lang['SEC']; diff --git a/posting.php b/posting.php index c9f03bd83..8720d9df9 100644 --- a/posting.php +++ b/posting.php @@ -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') : '', diff --git a/styles/templates/default/viewtopic.tpl b/styles/templates/default/viewtopic.tpl index 06d1d1d9e..086f8151f 100644 --- a/styles/templates/default/viewtopic.tpl +++ b/styles/templates/default/viewtopic.tpl @@ -412,7 +412,8 @@ function build_poll_add_form (src_el)

{L_RELEASE_FROM_RG} {postrow.RG_NAME}


{postrow.RG_AVATAR} -
{postrow.RG_SIG}
+
{L_DESCRIPTION}: {postrow.RG_DESC}
+
{L_SIGNATURE}: {postrow.RG_SIG}

{L_MORE_RELEASES}