From 8531483fdf8b7181321c6e6b214c842087cc1de7 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Thu, 23 Nov 2023 08:11:00 +0700 Subject: [PATCH] Some improvements in default template (#1159) * Some improvements in default template * Update CHANGELOG.md --- CHANGELOG.md | 1 + styles/templates/default/index.tpl | 4 ++-- styles/templates/default/index_map.tpl | 2 +- styles/templates/default/page_header.tpl | 6 +++--- styles/templates/default/viewtopic.tpl | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 70db065d0..587590885 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ **Merged pull requests:** +- Some improvements in default template [\#1159](https://github.com/torrentpier/torrentpier/pull/1159) ([belomaxorka](https://github.com/belomaxorka)) - Use sent port instead of source [\#1158](https://github.com/torrentpier/torrentpier/pull/1158) ([kovalensky](https://github.com/kovalensky)) - Remove unnecessary meta tags from file listing [\#1157](https://github.com/torrentpier/torrentpier/pull/1157) ([kovalensky](https://github.com/kovalensky)) - Use different file listing url parameters for effective indexing by search engines [\#1156](https://github.com/torrentpier/torrentpier/pull/1156) ([kovalensky](https://github.com/kovalensky)) diff --git a/styles/templates/default/index.tpl b/styles/templates/default/index.tpl index 58f4f0872..1141eca29 100644 --- a/styles/templates/default/index.tpl +++ b/styles/templates/default/index.tpl @@ -78,7 +78,7 @@ - {c.f.FORUM_FOLDER_ALT} + {c.f.FORUM_FOLDER_ALT} @@ -92,7 +92,7 @@

{L_SUBFORUMS}: - {c.f.sf.SF_NAME} + {c.f.sf.SF_NAME}

diff --git a/styles/templates/default/index_map.tpl b/styles/templates/default/index_map.tpl index 7621c84f6..2fa89cea7 100644 --- a/styles/templates/default/index_map.tpl +++ b/styles/templates/default/index_map.tpl @@ -42,7 +42,7 @@ $(function(){ $.each($('#f-map a'), function(i,a) { var f_id = $(a).attr('href'); $(a) - .attr('href', 'viewforum.php?f='+ f_id) + .attr('href', '{U_FORUM}?f='+ f_id) .before('feed') ; }); diff --git a/styles/templates/default/page_header.tpl b/styles/templates/default/page_header.tpl index be487c50b..4d574c94f 100644 --- a/styles/templates/default/page_header.tpl +++ b/styles/templates/default/page_header.tpl @@ -306,9 +306,9 @@ function go_to_page () diff --git a/styles/templates/default/viewtopic.tpl b/styles/templates/default/viewtopic.tpl index b2713d9da..10e6305c4 100644 --- a/styles/templates/default/viewtopic.tpl +++ b/styles/templates/default/viewtopic.tpl @@ -261,7 +261,7 @@ function build_poll_add_form (src_el) -
+