diff -r 8a00247d1dee -r 2b283402e4e4 includes/functions.php --- a/includes/functions.php Sun Oct 28 14:32:13 2007 -0400 +++ b/includes/functions.php Sun Oct 28 16:40:24 2007 -0400 @@ -273,15 +273,19 @@ * @param string $timeout Timeout, in seconds, to delay the redirect. Defaults to 3. */ -function redirect($url, $title = 'Redirecting...', $message = 'Please wait while you are redirected.', $timeout = 3) +function redirect($url, $title = 'etc_redirect_title', $message = 'etc_redirect_body', $timeout = 3) { global $db, $session, $paths, $template, $plugins; // Common objects + global $lang; if ( $timeout == 0 ) { header('Location: ' . $url); header('HTTP/1.1 307 Temporary Redirect'); } + + $title = $lang->get($title); + $message = $lang->get($message); $template->add_header(''); $template->add_header('