diff --git a/CHANGELOG.md b/CHANGELOG.md index 241316fd..40380979 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # 📖 Change Log +## [v2.1.5-2023.09](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.09) (2023-10-04) (В разработке) +[Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.08...v2.1.5-2023.09) + +**Merged pull requests:** + +- Release v2.1.5-2023.09 🎉 +- Minor improvements [\#245](https://github.com/torrentpier/torrentpier-lts/pull/245) ([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/library/attach_mod/displaying.php b/library/attach_mod/displaying.php index d1c6e3e6..592ea445 100644 --- a/library/attach_mod/displaying.php +++ b/library/attach_mod/displaying.php @@ -318,6 +318,7 @@ function display_attachments($post_id) 'IMG_THUMB_SRC' => $thumb_source, 'FILESIZE' => $filesize, 'COMMENT' => $comment, + 'DOWNLOAD_COUNT' => declension((int)$attachments['_' . $post_id][$i]['download_count'], 'times'), )); } @@ -338,9 +339,9 @@ function display_attachments($post_id) 'FILESIZE' => $filesize, 'COMMENT' => $comment, 'TARGET_BLANK' => $target_blank, - 'DOWNLOAD_COUNT' => sprintf($lang['DOWNLOAD_NUMBER'], $attachments['_' . $post_id][$i]['download_count']), + 'DOWNLOAD_COUNT' => declension((int)$attachments['_' . $post_id][$i]['download_count'], 'times'), )); } } } -} \ No newline at end of file +} diff --git a/library/config.php b/library/config.php index 18d075e1..83e45189 100644 --- a/library/config.php +++ b/library/config.php @@ -15,8 +15,8 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do $domain_ssl = false; // Version info -$bb_cfg['tp_version'] = '2.1.5-2023.08-HotFix'; -$bb_cfg['tp_release_date'] = '17-09-2023'; +$bb_cfg['tp_version'] = '2.1.5-2023.09'; +$bb_cfg['tp_release_date'] = '04-10-2023'; $bb_cfg['tp_release_state'] = 'LTS'; $bb_cfg['tp_zf_version'] = '2.4.13'; diff --git a/styles/templates/default/viewtopic_attach.tpl b/styles/templates/default/viewtopic_attach.tpl index 4f44ddb4..fc165329 100644 --- a/styles/templates/default/viewtopic_attach.tpl +++ b/styles/templates/default/viewtopic_attach.tpl @@ -35,7 +35,7 @@