plugins/SpecialUserFuncs.php
changeset 1347 d8983d3a8468
parent 1335 28b52db3cf3a
equal deleted inserted replaced
1346:b79029a49d28 1347:d8983d3a8468
   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 			{