mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-18 19:53:27 +02:00
* show user avatar (outfit) in forum posts
* show user position (group) in forum posts * replaced forum actions links (move, remove, edit, quote) with images * redirect directly to the thread on user login (on new reply) * fixed account login redirect with special chars (like '&' and '?')
This commit is contained in:
@@ -181,7 +181,12 @@ if($action == 'show_board' || $action == 'show_thread')
|
||||
|
||||
if(!$logged)
|
||||
{
|
||||
header('Location: ' . BASE_URL . '?subtopic=accountmanagement&redirect=' . BASE_URL . urlencode('?subtopic=forum'));
|
||||
$extra_url = '';
|
||||
if($action == 'new_post' && isset($_GET['thread_id'])) {
|
||||
$extra_url = '&action=new_post&thread_id=' . $_GET['thread_id'];
|
||||
}
|
||||
|
||||
header('Location: ' . BASE_URL . '?subtopic=accountmanagement&redirect=' . BASE_URL . urlencode('?subtopic=forum' . $extra_url));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user