mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 21:33:54 -07:00
parent
7d0f2e1ace
commit
cebdafb82c
5 changed files with 7 additions and 5 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
- Release 2.4.2 🐯 ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Created template file for AJAX quick actions [\#1381](https://github.com/torrentpier/torrentpier/pull/1381) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Minor improvements [\#1382](https://github.com/torrentpier/torrentpier/pull/1382) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Minor improvements [\#1382](https://github.com/torrentpier/torrentpier/pull/1382), [\#1383](https://github.com/torrentpier/torrentpier/pull/1383) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Some bugfixes [\#1380](https://github.com/torrentpier/torrentpier/pull/1380) ([belomaxorka](https://github.com/belomaxorka))
|
||||
|
||||
## [v2.4.1](https://github.com/torrentpier/torrentpier/tree/v2.4.1) (2024-02-04)
|
||||
|
|
|
@ -1809,6 +1809,7 @@ $lang['FORUM_ADMIN_MAIN'] = 'Forum Administration';
|
|||
$lang['FORUM_ADMIN_EXPLAIN'] = 'From this panel you can add, delete, edit, re-order and re-synchronise categories and forums';
|
||||
$lang['EDIT_FORUM'] = 'Edit forum';
|
||||
$lang['CREATE_FORUM'] = 'Create new forum';
|
||||
$lang['CREATE_SUB_FORUM'] = 'Create subforum';
|
||||
$lang['CREATE_CATEGORY'] = 'Create new category';
|
||||
$lang['REMOVE'] = 'Remove';
|
||||
$lang['UPDATE_ORDER'] = 'Update Order';
|
||||
|
|
|
@ -132,6 +132,8 @@ if ($topic_id) {
|
|||
// Start session management
|
||||
$user->session_start(['req_login' => true]);
|
||||
|
||||
set_die_append_msg($forum_id, $topic_id);
|
||||
|
||||
// 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';
|
||||
|
|
|
@ -65,7 +65,7 @@ $template->assign_vars([
|
|||
//
|
||||
// Set mode for quick reply
|
||||
//
|
||||
if ($bb_cfg['show_quick_reply'] && $folder == 'inbox' && $mode == 'read' && $preview) {
|
||||
if (empty($mode) && $bb_cfg['show_quick_reply'] && $folder == 'inbox' && $preview) {
|
||||
$mode = 'reply';
|
||||
}
|
||||
|
||||
|
@ -323,7 +323,6 @@ if ($mode == 'read') {
|
|||
}
|
||||
|
||||
$s_hidden_fields = '<input type="hidden" name="mark[]" value="' . $privmsgs_id . '" />';
|
||||
$s_hidden_fields = '<input type="hidden" name="mode" value="' . $mode . '" />';
|
||||
|
||||
$page_title = $lang['READ_PM'];
|
||||
|
||||
|
|
|
@ -204,8 +204,8 @@ function hl (id, on)
|
|||
<!-- BEGIN f -->
|
||||
<tr class="row1 hl-tr" onmouseover="hl('fname_{c.f.FORUM_ID}', 1);" onmouseout="hl('fname_{c.f.FORUM_ID}', 0);">
|
||||
<td class="gen tCenter"><a class="gen" title="{L_MOVE_UP}" href="{c.f.U_FORUM_MOVE_UP}"><b> ↑ </b></a><a class="gen" title="{L_MOVE_DOWN}" href="{c.f.U_FORUM_MOVE_DOWN}"><b> ↓ </b></a></td>
|
||||
<td class="small nowrap tCenter"><!-- IF c.f.ADD_SUB_HREF --><a class="small" href="{c.f.ADD_SUB_HREF}" title="Add subforum">+sub</a><!-- ENDIF --></td>
|
||||
<td width="100%" {c.f.SF_PAD}><a title="{c.f.FORUM_DESC}" class="{c.f.FORUM_NAME_CLASS}" href="{c.f.U_VIEWFORUM}" target="_new"><!-- IF c.f.SHOW_ON_INDEX --><b><!-- ENDIF --><span id="fname_{c.f.FORUM_ID}">{c.f.FORUM_NAME}</span><!-- IF c.f.SHOW_ON_INDEX --></b><!-- ENDIF --></a></td>
|
||||
<td class="small nowrap tCenter"><!-- IF c.f.ADD_SUB_HREF --><a class="small" href="{c.f.ADD_SUB_HREF}" title="{L_CREATE_SUB_FORUM}">+sub</a><!-- ENDIF --></td>
|
||||
<td width="100%" {c.f.SF_PAD}><a title="{c.f.FORUM_DESC}" class="{c.f.FORUM_NAME_CLASS}" href="{c.f.U_VIEWFORUM}" target="_blank"><!-- IF c.f.SHOW_ON_INDEX --><b><!-- ENDIF --><span id="fname_{c.f.FORUM_ID}">{c.f.FORUM_NAME}</span><!-- IF c.f.SHOW_ON_INDEX --></b><!-- ENDIF --></a></td>
|
||||
<td class="small tCenter" title="{L_TOPICS_SHORT}"><em class="med" style="color: grey">{L_TOPICS_SHORT}:</em> {c.f.NUM_TOPICS}</td>
|
||||
<td class="small tCenter" title="{L_POSTS_SHORT}"><em class="med" style="color: grey">{L_POSTS_SHORT}:</em> {c.f.NUM_POSTS}</td>
|
||||
<td class="med nowrap tCenter">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue