diff --git a/CHANGELOG.md b/CHANGELOG.md index 806bae37d..122068372 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,9 +18,9 @@ - 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), [\#1469](https://github.com/torrentpier/torrentpier/pull/1469) ([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), [\#1472](https://github.com/torrentpier/torrentpier/pull/1472) ([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), [\#1468](https://github.com/torrentpier/torrentpier/pull/1468) ([Exileum](https://github.com/Exileum)) +- 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), [\#1468](https://github.com/torrentpier/torrentpier/pull/1468), [\#1473](https://github.com/torrentpier/torrentpier/pull/1473) ([Exileum](https://github.com/Exileum)) ## [v2.4.2](https://github.com/torrentpier/torrentpier/tree/v2.4.2) (2024-03-30) [Full Changelog](https://github.com/torrentpier/torrentpier/compare/v2.4.1...v2.4.2) diff --git a/library/includes/functions.php b/library/includes/functions.php index b5c2b2c81..62363af17 100644 --- a/library/includes/functions.php +++ b/library/includes/functions.php @@ -1200,8 +1200,8 @@ function render_flag(string $code, bool $showName = true): string } else { $flagIconPath = BB_ROOT . 'styles/images/flags/' . $code . $iconExtension; if (is_file($flagIconPath)) { - $countryName = $showName ? str_short($lang['COUNTRIES'][$code], 20) : ''; - return '' . $code . '' . $countryName; + $countryName = $showName ? ' ' . str_short($lang['COUNTRIES'][$code], 20) : ''; + return '' . $code . '' . $countryName . ''; } } } diff --git a/library/includes/torrent_announce_urls.php b/library/includes/torrent_announce_urls.php index 3a9a9c805..c32f10b4e 100644 --- a/library/includes/torrent_announce_urls.php +++ b/library/includes/torrent_announce_urls.php @@ -25,13 +25,13 @@ $announce_urls = $additional_announce_urls = []; // - Add URLs without GET parameters at the end // - For this file to work, you need to enable the "Check announce url" option in the admin panel in "Forum Settings" // ============================================================================================================================== -// Additional announcer URLs that will be added to your giveaways +// Additional announcer URLs that will be added to your releases // ------------------------------------------------------------------------------------------------------------------------------ // Examples: // $additional_announce_urls[] = 'http://tracker.openbittorrent.com:80/announce'; // $additional_announce_urls[] = 'udp://tracker.openbittorrent.com:6969/announce'; // ------------------------------------------------------------------------------------------------------------------------------ // Note: -// - It is better not to add advertisers with GET parameters (for example passkey or another access authenticator) +// - It is better not to add announcers with GET parameters (for example passkey or another access authenticator) // - For this file to work, you need to disable the option “Delete all additional announce urls” in the admin panel in “Forum Settings” // ============================================================================================================================== diff --git a/styles/js/bbcode.js b/styles/js/bbcode.js index 3863408af..43036726c 100644 --- a/styles/js/bbcode.js +++ b/styles/js/bbcode.js @@ -380,7 +380,7 @@ function initSpoilers(context) { $('div.sp-body', context).each(function () { var $sp_body = $(this); var name = $.trim(this.title) || '' + bbl['spoiler_head'] + ''; - var no_sp_open = ($.trim($sp_body.attr('no-sp-open')) === "true") ? ' ignore-sp-open' : ''; + var no_sp_open = ($.trim($sp_body.data('no-sp-open')) === "true") ? ' ignore-sp-open' : ''; this.title = ''; var $sp_head = $('
' + name + '
'); $sp_head.insertBefore($sp_body).click(function (e) { diff --git a/styles/templates/default/viewtopic_attach.tpl b/styles/templates/default/viewtopic_attach.tpl index 66a46e854..8f8c4ae0b 100644 --- a/styles/templates/default/viewtopic_attach.tpl +++ b/styles/templates/default/viewtopic_attach.tpl @@ -465,7 +465,7 @@ $('#tor-filelist-btn').click(function () {
-
+