mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Minor improvements (#1461)
* Minor improvements * Update edit_user_profile.php * Update init_bb.php * Update init_bb.php * Update init_bb.php * Update usercp_register.tpl * Update admin_ug_auth.php * Update admin_ug_auth.tpl * Update tpl_config.php * Update viewprofile.php * Update group_membership.php * Update group_membership.php * Update viewtopic.tpl * Update admin_ug_auth.php * Update functions.php * Update admin_ug_auth.php * Update admin_ug_auth.php * Update admin_ug_auth.php * Update admin_forums.php * Update admin_forums.php * Update posting_tpl.php * Update viewforum.php * Update viewforum.tpl * Update admin_forums.php * Update admin_ug_auth.php * Update admin_ug_auth.php * Update usercp_viewprofile.tpl * Update register.php * Update admin_ug_auth.php * Update admin_ug_auth.php * Update posts.php * Update posting_tpl.php * Update viewforum.php * Update admin_forums.php * Update admin_forums.php * Update admin_forumauth.php * Update index_map.tpl * Update index.tpl * Update index.tpl * Update group.php * Update viewtopic.tpl * Update change_torrent.php * Update viewtopic.tpl * Update viewtopic.php * Update viewtopic.php * Update admin_log.php * Update search.php * Update usercp_register.tpl * Update CHANGELOG.md
This commit is contained in:
parent
9d3bc2c178
commit
0ca5fe3abe
26 changed files with 83 additions and 85 deletions
|
@ -475,7 +475,7 @@ $template->assign_vars([
|
|||
'HIDE_RANK_IMG_DIS' => !$bb_cfg['show_rank_image'],
|
||||
|
||||
'PINNED_FIRST_POST' => $t_data['topic_show_first_post'],
|
||||
'PIN_HREF' => $t_data['topic_show_first_post'] ? "modcp.php?t=$topic_id&mode=post_unpin" : "modcp.php?t=$topic_id&mode=post_pin",
|
||||
'PIN_HREF' => $t_data['topic_show_first_post'] ? "modcp.php?" . POST_TOPIC_URL . "=$topic_id&mode=post_unpin" : "modcp.php?" . POST_TOPIC_URL . "=$topic_id&mode=post_pin",
|
||||
'PIN_TITLE' => $t_data['topic_show_first_post'] ? $lang['POST_UNPIN'] : $lang['POST_PIN'],
|
||||
|
||||
'AUTH_MOD' => $is_auth['auth_mod'],
|
||||
|
@ -773,7 +773,7 @@ foreach ($is_auth as $name => $is) {
|
|||
$template->assign_vars(['PG_ROW_CLASS' => $pg_row_class ?? 'row1']);
|
||||
|
||||
if (IS_ADMIN) {
|
||||
$template->assign_vars(['U_LOGS' => "admin/admin_log.php?t=$topic_id&db={$bb_cfg['log_days_keep']}"]);
|
||||
$template->assign_vars(['U_LOGS' => "admin/admin_log.php?" . POST_TOPIC_URL . "=$topic_id&db={$bb_cfg['log_days_keep']}"]);
|
||||
}
|
||||
|
||||
print_page('viewtopic.tpl');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue