From e49b81de0e75d1bb36bc9745939ece183c9fa37e Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sun, 5 May 2024 10:27:23 +0700 Subject: [PATCH] Minor improvements (#1469) * Minor improvements * Update CHANGELOG.md --- CHANGELOG.md | 2 +- styles/templates/admin/admin_log.tpl | 2 +- styles/templates/admin/admin_ug_auth.tpl | 2 +- styles/templates/default/index.tpl | 4 ++-- styles/templates/default/index_map.tpl | 4 ++-- styles/templates/default/search_results.tpl | 2 +- styles/templates/default/usercp_register.tpl | 4 ++-- styles/templates/default/usercp_viewprofile.tpl | 2 +- styles/templates/default/viewforum.tpl | 12 ++++++------ styles/templates/default/viewtopic.tpl | 14 +++++++------- viewtopic.php | 4 +--- 11 files changed, 25 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25b963075..df9b6a5af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ - Demo mode: Allow registering torrents by default [\#1440](https://github.com/torrentpier/torrentpier/pull/1440) ([belomaxorka](https://github.com/belomaxorka)) - Temp: Removed showing forum description in `viewforum.php` [\#1465](https://github.com/torrentpier/torrentpier/pull/1465) ([belomaxorka](https://github.com/belomaxorka)) - Code refactoring [\#1441](https://github.com/torrentpier/torrentpier/pull/1441) ([belomaxorka](https://github.com/belomaxorka)) -- Minor improvements [\#1435](https://github.com/torrentpier/torrentpier/pull/1435), [\#1443](https://github.com/torrentpier/torrentpier/pull/1443), [\#1446](https://github.com/torrentpier/torrentpier/pull/1446), [\#1450](https://github.com/torrentpier/torrentpier/pull/1450), [\#1452](https://github.com/torrentpier/torrentpier/pull/1452), [\#1458](https://github.com/torrentpier/torrentpier/pull/1458), [\#1461](https://github.com/torrentpier/torrentpier/pull/1461), [\#1462](https://github.com/torrentpier/torrentpier/pull/1462), [\#1467](https://github.com/torrentpier/torrentpier/pull/1467) ([belomaxorka](https://github.com/belomaxorka)) +- Minor improvements [\#1435](https://github.com/torrentpier/torrentpier/pull/1435), [\#1443](https://github.com/torrentpier/torrentpier/pull/1443), [\#1446](https://github.com/torrentpier/torrentpier/pull/1446), [\#1450](https://github.com/torrentpier/torrentpier/pull/1450), [\#1452](https://github.com/torrentpier/torrentpier/pull/1452), [\#1458](https://github.com/torrentpier/torrentpier/pull/1458), [\#1461](https://github.com/torrentpier/torrentpier/pull/1461), [\#1462](https://github.com/torrentpier/torrentpier/pull/1462), [\#1467](https://github.com/torrentpier/torrentpier/pull/1467), [\#1469](https://github.com/torrentpier/torrentpier/pull/1469) ([belomaxorka](https://github.com/belomaxorka)) - Updated deps [\#1454](https://github.com/torrentpier/torrentpier/pull/1454), [\#1455](https://github.com/torrentpier/torrentpier/pull/1455), [\#1459](https://github.com/torrentpier/torrentpier/pull/1459), [\#1460](https://github.com/torrentpier/torrentpier/pull/1460) ([belomaxorka](https://github.com/belomaxorka)) - New Crowdin updates [\#1444](https://github.com/torrentpier/torrentpier/pull/1444), [\#1447](https://github.com/torrentpier/torrentpier/pull/1447), [\#1453](https://github.com/torrentpier/torrentpier/pull/1453) ([Exileum](https://github.com/Exileum)) diff --git a/styles/templates/admin/admin_log.tpl b/styles/templates/admin/admin_log.tpl index c22dd4bdd..115b09de3 100644 --- a/styles/templates/admin/admin_log.tpl +++ b/styles/templates/admin/admin_log.tpl @@ -19,7 +19,7 @@

{L_ACTIONS_LOG}

- + diff --git a/styles/templates/admin/admin_ug_auth.tpl b/styles/templates/admin/admin_ug_auth.tpl index 2ff996588..410db31db 100644 --- a/styles/templates/admin/admin_ug_auth.tpl +++ b/styles/templates/admin/admin_ug_auth.tpl @@ -170,7 +170,7 @@ thead tr { - + diff --git a/styles/templates/default/index.tpl b/styles/templates/default/index.tpl index 64b0bec17..05eaca9ab 100644 --- a/styles/templates/default/index.tpl +++ b/styles/templates/default/index.tpl @@ -85,7 +85,7 @@
- {c.f.FORUM_FOLDER_ALT} + {c.f.FORUM_FOLDER_ALT} @@ -99,7 +99,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 742ac4637..6e6b07531 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', '{U_FORUM}?{POST_FORUM_URL}='+ f_id) + .attr('href', '{U_FORUM}?{#POST_FORUM_URL#}='+ f_id) .before('feed') ; }); @@ -55,7 +55,7 @@ $(function(){ - + diff --git a/styles/templates/default/search_results.tpl b/styles/templates/default/search_results.tpl index ca5568e90..a37111a42 100644 --- a/styles/templates/default/search_results.tpl +++ b/styles/templates/default/search_results.tpl @@ -53,7 +53,7 @@ {QUOTE_IMG}{POST_BTN_SPACER} {EDIT_POST_IMG}{POST_BTN_SPACER} {DELETE_POST_IMG}{POST_BTN_SPACER} - {IP_POST_IMG}{POST_BTN_SPACER} + {IP_POST_IMG}{POST_BTN_SPACER}

diff --git a/styles/templates/default/usercp_register.tpl b/styles/templates/default/usercp_register.tpl index e582a2636..353bc53b3 100644 --- a/styles/templates/default/usercp_register.tpl +++ b/styles/templates/default/usercp_register.tpl @@ -49,13 +49,13 @@ -
- + diff --git a/styles/templates/default/usercp_viewprofile.tpl b/styles/templates/default/usercp_viewprofile.tpl index dfd73d50e..ddd9c1520 100644 --- a/styles/templates/default/usercp_viewprofile.tpl +++ b/styles/templates/default/usercp_viewprofile.tpl @@ -377,7 +377,7 @@ ajax.callback.index_data = function(data) { [ {L_SEARCH_USER_POSTS} ] [ {L_SEARCH_USER_TOPICS} ] [ {L_SEARCH_RELEASES} ] - [ {L_WATCHED_TOPICS} ] + [ {L_WATCHED_TOPICS} ] [ {FEED_IMG} ]

diff --git a/styles/templates/default/viewforum.tpl b/styles/templates/default/viewforum.tpl index a7d1b9c94..9557d4d90 100644 --- a/styles/templates/default/viewforum.tpl +++ b/styles/templates/default/viewforum.tpl @@ -153,7 +153,7 @@ ajax.callback.mod_action = function (data) {
- + @@ -425,7 +425,7 @@ function build_poll_add_form (src_el) {EDIT_POST_IMG}{POST_BTN_SPACER} {DELETE_POST_IMG}{POST_BTN_SPACER} {CODE_IMG} - {IP_POST_IMG}{POST_BTN_SPACER} + {IP_POST_IMG}{POST_BTN_SPACER} {MC_IMG}{POST_BTN_SPACER} {MOD_POST_IMG}{POST_BTN_SPACER} @@ -501,7 +501,7 @@ function build_poll_add_form (src_el)
{PROFILE_IMG}{POST_BTN_SPACER} - {PM_IMG}{POST_BTN_SPACER} + {PM_IMG}{POST_BTN_SPACER}
@@ -515,9 +515,9 @@ function build_poll_add_form (src_el)