mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
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:
parent
fed538625d
commit
7d0f2e1ace
5 changed files with 9 additions and 12 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
- Release 2.4.2 🐯 ([belomaxorka](https://github.com/belomaxorka))
|
- 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))
|
- 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))
|
- 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)
|
## [v2.4.1](https://github.com/torrentpier/torrentpier/tree/v2.4.1) (2024-02-04)
|
||||||
|
|
|
@ -654,7 +654,6 @@ if ($mode) {
|
||||||
|
|
||||||
default:
|
default:
|
||||||
bb_die($lang['NO_MODE']);
|
bb_die($lang['NO_MODE']);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -749,7 +748,7 @@ if (!$mode || $show_main_page) {
|
||||||
'FORUM_PARENT' => $forum_rows[$j]['forum_parent'],
|
'FORUM_PARENT' => $forum_rows[$j]['forum_parent'],
|
||||||
'SF_PAD' => $forum_rows[$j]['forum_parent'] ? ' style="padding-left: 20px;" ' : '',
|
'SF_PAD' => $forum_rows[$j]['forum_parent'] ? ' style="padding-left: 20px;" ' : '',
|
||||||
'FORUM_NAME_CLASS' => $forum_rows[$j]['forum_parent'] ? 'genmed' : 'gen',
|
'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_VIEWFORUM' => BB_ROOT . FORUM_URL . $forum_id,
|
||||||
'U_FORUM_EDIT' => "admin_forums.php?mode=editforum&f=$forum_id",
|
'U_FORUM_EDIT' => "admin_forums.php?mode=editforum&f=$forum_id",
|
||||||
'U_FORUM_PERM' => "admin_forumauth.php?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_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",
|
'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');
|
print_page('admin_forums.tpl', 'admin');
|
||||||
|
|
|
@ -446,8 +446,8 @@ $bb_cfg['adv_email'] = "adv@$domain_name"; // advertisement email
|
||||||
|
|
||||||
// Error reporting
|
// Error reporting
|
||||||
$bb_cfg['bugsnag'] = [
|
$bb_cfg['bugsnag'] = [
|
||||||
'enabled' => false,
|
'enabled' => true,
|
||||||
'api_key' => '',
|
'api_key' => '492753017170b6c2c76a0e7ae64604ea',
|
||||||
];
|
];
|
||||||
|
|
||||||
$bb_cfg['telegram_sender'] = [
|
$bb_cfg['telegram_sender'] = [
|
||||||
|
|
|
@ -204,7 +204,7 @@ function hl (id, on)
|
||||||
<!-- BEGIN f -->
|
<!-- BEGIN f -->
|
||||||
<tr class="row1 hl-tr" onmouseover="hl('fname_{c.f.FORUM_ID}', 1);" onmouseout="hl('fname_{c.f.FORUM_ID}', 0);">
|
<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="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"><a class="small" href="{c.f.ADD_SUB_HREF}" title="Add subforum"> +sub </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 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_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="small tCenter" title="{L_POSTS_SHORT}"><em class="med" style="color: grey">{L_POSTS_SHORT}:</em> {c.f.NUM_POSTS}</td>
|
||||||
|
|
|
@ -354,9 +354,6 @@ td.topic_id { cursor: pointer; }
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- END f -->
|
<!-- END f -->
|
||||||
<tr>
|
|
||||||
<td colspan="5" class="spaceRow"><div class="spacer_6"></div></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
</table>
|
||||||
<div class="spacer_6"></div>
|
<div class="spacer_6"></div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue