equal
deleted
inserted
replaced
406 { |
406 { |
407 // yea |
407 // yea |
408 $name = get_page_title($_POST['return_to']); |
408 $name = get_page_title($_POST['return_to']); |
409 $subst = array( |
409 $subst = array( |
410 'username' => $session->username, |
410 'username' => $session->username, |
411 'redir_target' => $name |
411 'redir_target' => htmlspecialchars($name) |
412 ); |
412 ); |
413 redirect( makeUrl($_POST['return_to'], $get_add), $lang->get('user_login_success_title'), $lang->get('user_login_success_body', $subst) ); |
413 redirect( makeUrl($_POST['return_to'], $get_add), $lang->get('user_login_success_title'), $lang->get('user_login_success_body', $subst) ); |
414 } |
414 } |
415 else |
415 else |
416 { |
416 { |