mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Minor improvements (#1410)
* Minor improvements * Update modcp.php * Update CHANGELOG.md * Update modcp.php
This commit is contained in:
parent
39d069016c
commit
22511c3edc
5 changed files with 6 additions and 8 deletions
|
@ -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))
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
@ -59,16 +59,14 @@ ajax.callback.posts = function(data) {
|
|||
<option value="24" class="em">{L_FONT_HUGE}</option>
|
||||
<option value="26"> size=26</option>
|
||||
<option value="28"> size=28</option>
|
||||
</select>
|
||||
|
||||
</select>
|
||||
<select name="codeAlign" class="text_size">
|
||||
<option value="left" selected>{L_ALIGN}</option>
|
||||
<option value="left"> {L_LEFT}</option>
|
||||
<option value="right"> {L_RIGHT}</option>
|
||||
<option value="center"> {L_CENTER}</option>
|
||||
<option value="justify"> {L_JUSTIFY}</option>
|
||||
</select>
|
||||
|
||||
</select>
|
||||
<span class="buttons">
|
||||
<input type="button" value="sup" name="codeSup" title="{L_SUPERSCRIPT}" />
|
||||
<input type="button" value="sub" name="codeSub" title="{L_SUBSCRIPT}" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue