From bf0c681ca406273a024f4fe92321c040c7e594af Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Tue, 7 Nov 2023 08:15:44 +0700 Subject: [PATCH] Minor improvements for template (#1050) * Minor improvements for template * Update tracker.tpl --- styles/templates/default/tracker.tpl | 14 ++++++++++++-- styles/templates/default/viewforum.tpl | 26 +++++++++++++------------- tracker.php | 2 +- 3 files changed, 26 insertions(+), 16 deletions(-) diff --git a/styles/templates/default/tracker.tpl b/styles/templates/default/tracker.tpl index a6f3eb336..d5acd5d80 100644 --- a/styles/templates/default/tracker.tpl +++ b/styles/templates/default/tracker.tpl @@ -391,9 +391,9 @@ $(function(){ {L_SIZE} S L - C + {L_REPLIES_SHORT} - SP + SP {L_ADDED} @@ -423,6 +423,16 @@ $(function(){ {tor.SEEDS} {tor.LEECHS} {tor.COMPLETED} + +

+ {tor.REPLIES} + | + {tor.VIEWS} +

+

+ {tor.COMPLETED} +

+

{tor.UL_SPEED}

diff --git a/styles/templates/default/viewforum.tpl b/styles/templates/default/viewforum.tpl index c68761eb2..7135f7b96 100644 --- a/styles/templates/default/viewforum.tpl +++ b/styles/templates/default/viewforum.tpl @@ -473,24 +473,24 @@ td.topic_id { cursor: pointer; }
-
{t.tor.SEEDERS} | {t.tor.LEECHERS}
+
{t.tor.SEEDERS} | {t.tor.LEECHERS}
{t.tor.TOR_SIZE}{t.tor.TOR_SIZE} {t.tor.MAGNET}
- -

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

- -

- {t.tor.COMPL_CNT} -

- - + +

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

+ +

+ {t.tor.COMPL_CNT} +

+ +

{t.LAST_POST_TIME}

diff --git a/tracker.php b/tracker.php index b19a07f06..316cbebf1 100644 --- a/tracker.php +++ b/tracker.php @@ -29,7 +29,7 @@ $max_forum_name_len = 60; // inside forum select box $max_forums_selected = 50; $title_match_max_len = 60; $poster_name_max_len = 25; -$tor_colspan = 13; // torrents table colspan with all columns +$tor_colspan = 12; // torrents table colspan with all columns $per_page = $bb_cfg['topics_per_page']; $tracker_url = basename(__FILE__);