From f6f0d89cf9e6fe4970a40ee8bcc846c175dbfc07 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sun, 24 Sep 2023 00:36:51 +0700 Subject: [PATCH] Minor improvements (#258) * Minor improvements * Update CHANGELOG.md --- CHANGELOG.md | 2 +- group.php | 8 ++++---- library/ajax/index_data.php | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77feb83e..749a6d57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ - Added missing translation in admin_ug_auth [\#254](https://github.com/torrentpier/torrentpier-lts/pull/254) ([belomaxorka](https://github.com/belomaxorka)) - Support for IDN domains [\#252](https://github.com/torrentpier/torrentpier-lts/pull/252) ([belomaxorka](https://github.com/belomaxorka)) - Fixed cache directory auto-creating with SQLite [\#247](https://github.com/torrentpier/torrentpier-lts/pull/247) ([belomaxorka](https://github.com/belomaxorka)) -- Minor improvements [\#245](https://github.com/torrentpier/torrentpier-lts/pull/245), [\#246](https://github.com/torrentpier/torrentpier-lts/pull/246), [\#248](https://github.com/torrentpier/torrentpier-lts/pull/248), [\#249](https://github.com/torrentpier/torrentpier-lts/pull/249), [\#250](https://github.com/torrentpier/torrentpier-lts/pull/250), [\#251](https://github.com/torrentpier/torrentpier-lts/pull/251), [\#253](https://github.com/torrentpier/torrentpier-lts/pull/253), [\#255](https://github.com/torrentpier/torrentpier-lts/pull/255), [\#256](https://github.com/torrentpier/torrentpier-lts/pull/256), [\#257](https://github.com/torrentpier/torrentpier-lts/pull/257) ([belomaxorka](https://github.com/belomaxorka)) +- Minor improvements [\#245](https://github.com/torrentpier/torrentpier-lts/pull/245), [\#246](https://github.com/torrentpier/torrentpier-lts/pull/246), [\#248](https://github.com/torrentpier/torrentpier-lts/pull/248), [\#249](https://github.com/torrentpier/torrentpier-lts/pull/249), [\#250](https://github.com/torrentpier/torrentpier-lts/pull/250), [\#251](https://github.com/torrentpier/torrentpier-lts/pull/251), [\#253](https://github.com/torrentpier/torrentpier-lts/pull/253), [\#255](https://github.com/torrentpier/torrentpier-lts/pull/255), [\#256](https://github.com/torrentpier/torrentpier-lts/pull/256), [\#257](https://github.com/torrentpier/torrentpier-lts/pull/257), [\#258](https://github.com/torrentpier/torrentpier-lts/pull/258) ([belomaxorka](https://github.com/belomaxorka)) ## [v2.1.5-2023.08-HotFix](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.08-HotFix) (2023-09-17) [Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.08...v2.1.5-2023.08-HotFix) diff --git a/group.php b/group.php index a4f417bd..249adbcd 100644 --- a/group.php +++ b/group.php @@ -477,8 +477,8 @@ else 'MOD_TIME' => (!empty($group_info['mod_time'])) ? bb_date($group_info['mod_time']) : $lang['NONE'], 'U_SEARCH_USER' => "search.php?mode=searchuser", 'U_SEARCH_RELEASES' => "tracker.php?srg=$group_id", - 'U_GROUP_RELEASES' => "group.php?view=releases&". POST_GROUPS_URL ."=$group_id", - 'U_GROUP_MEMBERS' => "group.php?view=members&". POST_GROUPS_URL ."=$group_id", + 'U_GROUP_RELEASES' => GROUP_URL . $group_id . "&view=releases", + 'U_GROUP_MEMBERS' => GROUP_URL . $group_id . "&view=members", 'U_GROUP_CONFIG' => "group_edit.php?g=$group_id", 'RELEASE_GROUP' => ($group_info['release_group']) ? true : false, 'GROUP_TYPE' => $group_type, @@ -493,7 +493,7 @@ else 'S_MODE_SELECT' => $select_sort_mode, 'S_ORDER_SELECT' => $select_sort_order, - 'S_GROUP_ACTION' => "group.php?" . POST_GROUPS_URL . "=$group_id", + 'S_GROUP_ACTION' => GROUP_URL . $group_id, )); switch ($view_mode) @@ -693,4 +693,4 @@ else } } -print_page('group.tpl'); \ No newline at end of file +print_page('group.tpl'); diff --git a/library/ajax/index_data.php b/library/ajax/index_data.php index e93aedac..e4b52980 100644 --- a/library/ajax/index_data.php +++ b/library/ajax/index_data.php @@ -69,7 +69,7 @@ switch($mode) { foreach ($mod['mod_groups'][$forum_id] as $group_id) { - $moderators[] = ''. $mod['name_groups'][$group_id] .''; + $moderators[] = ''. $mod['name_groups'][$group_id] .''; } } @@ -136,4 +136,4 @@ switch($mode) } $this->response['html'] = $html; -$this->response['mode'] = $mode; \ No newline at end of file +$this->response['mode'] = $mode;