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
|
@ -26,7 +26,7 @@ $sql = "SELECT * FROM " . BB_TOPIC_TPL . " WHERE tpl_id = {$f_data['forum_tpl_id
|
|||
|
||||
if (!$f_data['forum_tpl_id'] || !$tpl_data = DB()->fetch_row($sql)) {
|
||||
if (!$edit_tpl_mode) {
|
||||
redirect(POSTING_URL . "?mode=newtopic&f=$forum_id");
|
||||
redirect(POSTING_URL . "?mode=newtopic&" . POST_FORUM_URL . "=$forum_id");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -34,12 +34,12 @@ $template->assign_vars([
|
|||
'PAGE_TITLE' => $lang['NEW_RELEASE'],
|
||||
'FORUM_NAME' => $f_data['forum_name'],
|
||||
'FORUM_ID' => $forum_id,
|
||||
'TPL_FORM_ACTION' => POSTING_URL . "?mode=newtopic&f=$forum_id",
|
||||
'REGULAR_TOPIC_HREF' => POSTING_URL . "?mode=newtopic&f=$forum_id",
|
||||
'TPL_FORM_ACTION' => POSTING_URL . "?mode=newtopic&" . POST_FORUM_URL . "=$forum_id",
|
||||
'REGULAR_TOPIC_HREF' => POSTING_URL . "?mode=newtopic&" . POST_FORUM_URL . "=$forum_id",
|
||||
'TOR_REQUIRED' => $f_data['allow_reg_tracker'],
|
||||
'EDIT_TPL' => $edit_tpl_mode,
|
||||
'CAN_EDIT_TPL' => $can_edit_tpl,
|
||||
'EDIT_TPL_URL' => POSTING_URL . "?mode=new_rel&f=$forum_id&edit_tpl=1"
|
||||
'EDIT_TPL_URL' => POSTING_URL . "?mode=new_rel&" . POST_FORUM_URL . "=$forum_id&edit_tpl=1"
|
||||
]);
|
||||
|
||||
if ($tpl_data) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue