From 59470b3be80a3630013322a13a9b93334108c356 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Tue, 20 Feb 2024 23:05:05 +0700 Subject: [PATCH] Updated --- styles/templates/default/viewforum.tpl | 2 +- viewforum.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/styles/templates/default/viewforum.tpl b/styles/templates/default/viewforum.tpl index a7b543da..e3fd9ba3 100644 --- a/styles/templates/default/viewforum.tpl +++ b/styles/templates/default/viewforum.tpl @@ -489,7 +489,7 @@ td.topic_id { cursor: pointer; }

{t.REPLIES} - | + | {t.VIEWS}

diff --git a/viewforum.php b/viewforum.php index 663da502..76ba5bc9 100644 --- a/viewforum.php +++ b/viewforum.php @@ -494,8 +494,8 @@ foreach ($topic_rowset as $topic) 'IS_UNREAD' => $is_unread, 'TOPIC_ICON' => get_topic_icon($topic, $is_unread), 'PAGINATION' => ($moved) ? '' : build_topic_pagination(TOPIC_URL . $topic_id, $replies, $bb_cfg['posts_per_page']), - 'REPLIES' => $replies, - 'VIEWS' => $topic['topic_views'], + 'REPLIES' => ($moved) ? '' : $replies, + 'VIEWS' => ($moved) ? '' : $topic['topic_views'], 'TOR_STALED' => ($forum_data['allow_reg_tracker'] && !($t_type == POST_ANNOUNCE || $t_type == POST_STICKY || $topic['tor_size'])), 'TOR_FROZEN' => isset($topic['tor_status']) ? ((!IS_AM) ? isset($bb_cfg['tor_frozen'][$topic['tor_status']]) : '') : '', 'TOR_TYPE' => isset($topic['tor_type']) ? is_gold($topic['tor_type']) : '',