diff --git a/CHANGELOG.md b/CHANGELOG.md index cbcf2a77..ceb66932 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) ([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) ([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/includes/page_footer.php b/library/includes/page_footer.php index f41f459c..3fdea1b7 100644 --- a/library/includes/page_footer.php +++ b/library/includes/page_footer.php @@ -61,12 +61,12 @@ if ($show_dbg_info) } $stat .= '  ]'; + $stat .= !empty($_COOKIE['sql_log']) ? ' [ wrap · max ] |' : ''; $stat .= ' - - - +  | +  | + '; - $stat .= !empty($_COOKIE['sql_log']) ? '[ wrap · max ]' : ''; echo '
'. $stat .'
'; } diff --git a/library/language/en/main.php b/library/language/en/main.php index ded85ce3..9ff89189 100644 --- a/library/language/en/main.php +++ b/library/language/en/main.php @@ -1471,6 +1471,9 @@ $lang['OFF'] = 'off'; $lang['MEMORY'] = 'Mem: '; $lang['QUERIES'] = 'queries'; $lang['LIMIT'] = 'Limit:'; +$lang['SHOW_LOG'] = 'show log'; +$lang['CUT_LONG_LOG'] = 'cut long queries'; +$lang['EXPLAIN_LOG'] = 'explained log'; // Attach Guest $lang['DOWNLOAD_INFO'] = 'Download free and at maximum speed!'; diff --git a/library/language/ru/main.php b/library/language/ru/main.php index 73b92cca..5c1c29bf 100644 --- a/library/language/ru/main.php +++ b/library/language/ru/main.php @@ -1471,6 +1471,9 @@ $lang['OFF'] = 'выкл'; $lang['MEMORY'] = 'Память: '; $lang['QUERIES'] = 'запр.'; $lang['LIMIT'] = 'Лимит:'; +$lang['SHOW_LOG'] = 'показать лог'; +$lang['CUT_LONG_LOG'] = 'обрезать длинные запросы'; +$lang['EXPLAIN_LOG'] = 'подробный лог'; // Attach Guest $lang['DOWNLOAD_INFO'] = 'Скачать бесплатно и на максимальной скорости!'; diff --git a/library/language/uk/main.php b/library/language/uk/main.php index a2b69554..91a70959 100644 --- a/library/language/uk/main.php +++ b/library/language/uk/main.php @@ -1471,6 +1471,9 @@ $lang['OFF'] = 'вимк.'; $lang['MEMORY'] = "Пам'ять: "; $lang['QUERIES'] = 'запит.'; $lang['LIMIT'] = 'Ліміт:'; +$lang['SHOW_LOG'] = 'показати лог'; +$lang['CUT_LONG_LOG'] = 'скоротити довгі запити'; +$lang['EXPLAIN_LOG'] = 'пояснений лог'; // Attach Guest $lang['DOWNLOAD_INFO'] = 'Зареєструватися та завантажити торрент!';