diff --git a/CHANGELOG.md b/CHANGELOG.md index 5580fb432..f207194c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ - Fixed Undefined variable $wordCensor [\#1400](https://github.com/torrentpier/torrentpier/pull/1400) ([belomaxorka](https://github.com/belomaxorka)) - Improved word censor 🤐 [\#1393](https://github.com/torrentpier/torrentpier/pull/1393) ([belomaxorka](https://github.com/belomaxorka)) - Used hashing for filenames generation [\#1385](https://github.com/torrentpier/torrentpier/pull/1385) ([belomaxorka](https://github.com/belomaxorka)) -- Minor improvements [\#1382](https://github.com/torrentpier/torrentpier/pull/1382), [\#1383](https://github.com/torrentpier/torrentpier/pull/1383), [\#1391](https://github.com/torrentpier/torrentpier/pull/1391), [\#1398](https://github.com/torrentpier/torrentpier/pull/1398), [\#1405](https://github.com/torrentpier/torrentpier/pull/1405), [\#1406](https://github.com/torrentpier/torrentpier/pull/1406), [\#1408](https://github.com/torrentpier/torrentpier/pull/1408), [\#1409](https://github.com/torrentpier/torrentpier/pull/1409) ([belomaxorka](https://github.com/belomaxorka)) +- Minor improvements [\#1382](https://github.com/torrentpier/torrentpier/pull/1382), [\#1383](https://github.com/torrentpier/torrentpier/pull/1383), [\#1391](https://github.com/torrentpier/torrentpier/pull/1391), [\#1398](https://github.com/torrentpier/torrentpier/pull/1398), [\#1405](https://github.com/torrentpier/torrentpier/pull/1405), [\#1406](https://github.com/torrentpier/torrentpier/pull/1406), [\#1408](https://github.com/torrentpier/torrentpier/pull/1408), [\#1409](https://github.com/torrentpier/torrentpier/pull/1409), [\#1410](https://github.com/torrentpier/torrentpier/pull/1410) ([belomaxorka](https://github.com/belomaxorka)) - Some bugfixes [\#1380](https://github.com/torrentpier/torrentpier/pull/1380) ([belomaxorka](https://github.com/belomaxorka)) - New Crowdin updates [\#1384](https://github.com/torrentpier/torrentpier/pull/1384), [\#1389](https://github.com/torrentpier/torrentpier/pull/1389), [\#1392](https://github.com/torrentpier/torrentpier/pull/1392), [\#1402](https://github.com/torrentpier/torrentpier/pull/1402), [\#1403](https://github.com/torrentpier/torrentpier/pull/1403) ([Exileum](https://github.com/Exileum)) diff --git a/modcp.php b/modcp.php index 1886b1626..a151eb0cc 100644 --- a/modcp.php +++ b/modcp.php @@ -69,6 +69,9 @@ function validate_mode_condition($request_index, $mod_action = '') return (isset($_REQUEST[$request_index]) || (isset($_POST['mod_action']) && $_POST['mod_action'] === $mod_action)); } +// Start session management +$user->session_start(['req_login' => true]); + // Obtain initial vars $forum_id = $_REQUEST['f'] ?? 0; $topic_id = $_REQUEST['t'] ?? 0; @@ -129,9 +132,6 @@ if ($topic_id) { bb_die('Invalid request'); } -// Start session management -$user->session_start(['req_login' => true]); - // Check if user did or did not confirm. If they did not, forward them to the last page they were on if (isset($_POST['cancel']) || IS_GUEST) { $redirect = 'index.php'; diff --git a/styles/templates/default/images/lang/ru/icon_code.gif b/styles/templates/default/images/lang/ru/icon_code.gif index 5afd6e2c7..b3d65a375 100644 Binary files a/styles/templates/default/images/lang/ru/icon_code.gif and b/styles/templates/default/images/lang/ru/icon_code.gif differ diff --git a/styles/templates/default/images/lang/uk/icon_code.gif b/styles/templates/default/images/lang/uk/icon_code.gif index 5afd6e2c7..b3d65a375 100644 Binary files a/styles/templates/default/images/lang/uk/icon_code.gif and b/styles/templates/default/images/lang/uk/icon_code.gif differ diff --git a/styles/templates/default/posting_editor.tpl b/styles/templates/default/posting_editor.tpl index 97dab7090..fb8118171 100644 --- a/styles/templates/default/posting_editor.tpl +++ b/styles/templates/default/posting_editor.tpl @@ -59,16 +59,14 @@ ajax.callback.posts = function(data) { - - +  - +