mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Fixed problem with advanced mode switching (#504769)
git-svn-id: file:///svn/phpbb/trunk@1904 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
5feeb9e0e1
commit
bf36d8a147
1 changed files with 3 additions and 3 deletions
|
@ -316,8 +316,8 @@ else
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$switch_mode = append_sid("admin_forumauth.$phpEx?" . POST_FORUM_URL . "=" . $forum_id . "&adv=");
|
$adv_mode = (empty($adv)) ? "1" : "0";
|
||||||
$switch_mode .= ( empty($adv) ) ? "1" : "0";
|
$switch_mode = append_sid("admin_forumauth.$phpEx?" . POST_FORUM_URL . "=" . $forum_id . "&adv=". $adv_mode);
|
||||||
$switch_mode_text = ( empty($adv) ) ? $lang['Advanced_mode'] : $lang['Simple_mode'];
|
$switch_mode_text = ( empty($adv) ) ? $lang['Advanced_mode'] : $lang['Simple_mode'];
|
||||||
$u_switch_mode = '<a href="' . $switch_mode . '">' . $switch_mode_text . '</a>';
|
$u_switch_mode = '<a href="' . $switch_mode . '">' . $switch_mode_text . '</a>';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue