Minor improvements (#1382)

* Minor improvements

* Update viewforum.tpl

* Update config.php

* Update admin_forums.tpl

* Update CHANGELOG.md

* Update admin_forums.tpl
This commit is contained in:
Roman Kelesidis 2024-02-07 17:25:35 +07:00 committed by GitHub
commit 7d0f2e1ace
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 9 additions and 12 deletions

View file

@ -7,6 +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))
- 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)

View file

@ -654,7 +654,6 @@ if ($mode) {
default:
bb_die($lang['NO_MODE']);
break;
}
}
@ -749,7 +748,7 @@ if (!$mode || $show_main_page) {
'FORUM_PARENT' => $forum_rows[$j]['forum_parent'],
'SF_PAD' => $forum_rows[$j]['forum_parent'] ? ' style="padding-left: 20px;" ' : '',
'FORUM_NAME_CLASS' => $forum_rows[$j]['forum_parent'] ? 'genmed' : 'gen',
'ADD_SUB_HREF' => "admin_forums.php?mode=addforum&forum_parent={$forum_rows[$j]['forum_id']}",
'ADD_SUB_HREF' => !$forum_rows[$j]['forum_parent'] ? "admin_forums.php?mode=addforum&forum_parent={$forum_rows[$j]['forum_id']}" : '',
'U_VIEWFORUM' => BB_ROOT . FORUM_URL . $forum_id,
'U_FORUM_EDIT' => "admin_forums.php?mode=editforum&f=$forum_id",
'U_FORUM_PERM' => "admin_forumauth.php?f=$forum_id",
@ -758,10 +757,10 @@ if (!$mode || $show_main_page) {
'U_FORUM_MOVE_DOWN' => "admin_forums.php?mode=forum_order&move=15&f=$forum_id&c=$req_cat_id",
'U_FORUM_RESYNC' => "admin_forums.php?mode=forum_sync&f=$forum_id",
));
}// if ... forumid == catid
} // for ... forums
} // for ... categories
}// if ... total_categories
}
}
}
}
}
print_page('admin_forums.tpl', 'admin');

View file

@ -446,8 +446,8 @@ $bb_cfg['adv_email'] = "adv@$domain_name"; // advertisement email
// Error reporting
$bb_cfg['bugsnag'] = [
'enabled' => false,
'api_key' => '',
'enabled' => true,
'api_key' => '492753017170b6c2c76a0e7ae64604ea',
];
$bb_cfg['telegram_sender'] = [

View file

@ -204,7 +204,7 @@ 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>&nbsp;&#8593;&nbsp;</b></a><a class="gen" title="{L_MOVE_DOWN}" href="{c.f.U_FORUM_MOVE_DOWN}"><b>&nbsp;&#8595;&nbsp;</b></a></td>
<td class="small nowrap tCenter"><a class="small" href="{c.f.ADD_SUB_HREF}" title="Add subforum">&nbsp;+sub&nbsp;</a><!-- <span title="Order index">{c.f.ORDER} [{c.f.FORUM_ID}-{c.f.FORUM_PARENT}]</span> --></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 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>

View file

@ -354,9 +354,6 @@ td.topic_id { cursor: pointer; }
</td>
</tr>
<!-- END f -->
<tr>
<td colspan="5" class="spaceRow"><div class="spacer_6"></div></td>
</tr>
</table>
<div class="spacer_6"></div>