-?>
-<TITLE><?php echo $org_title ?> - Signout</TITLE>
-</HEAD>
-<BODY TEXT="<?php echo $color[8] ?>" BGCOLOR="<?php echo $color[4] ?>"
-LINK="<?php echo $color[7] ?>" VLINK="<?php echo $color[7] ?>"
-ALINK="<?php echo $color[7] ?>">
-<BR><BR>
-<TABLE BGCOLOR="<?php echo $color[4]; ?>" BORDER="0" COLS="1" WIDTH="50%" CELLSPACING="0"
-CELLPADDING="2" ALIGN="CENTER">
- <TR BGCOLOR="<?php echo $color[0] ?>" WIDTH="100%">
- <TD ALIGN="CENTER">
- <B><?php echo _("Sign Out") ?></B>
- </TD>
- </TR>
- <TR BGCOLOR="<?php echo $color[4] ?>" WIDTH="100%">
- <TD ALIGN="CENTER">
- <?php do_hook('logout_above_text'); ?>
- <?php echo _("You have been successfully signed out.") ?><BR>
- <A HREF="login.php" TARGET="<?php echo $frame_top ?>">
- <?php echo _("Click here to log back in.") ?>
- </A><BR><BR>
- </TD>
- </TR>
- <TR BGCOLOR="<?php echo $color[0] ?>" WIDTH="100%">
- <TD ALIGN="CENTER">
- <BR>
- </TD>
- </TR>
-</TABLE>
-</BODY>
-</HTML>
\ No newline at end of file
+}
+
+// The error handler object is probably also not initialized on a refresh
+$oErrorHandler = new ErrorHandler($oTemplate,'error_message.tpl');
+
+/* internal gettext functions will fail, if language is not set */
+set_up_language($squirrelmail_language, true, true);
+
+displayHtmlHeader($org_title . ' - ' . _("Signout"));
+
+$oTemplate->assign('frame_top', $frame_top);
+$oTemplate->assign('login_uri', $login_uri);
+
+$oTemplate->display('signout.tpl');
+
+$oTemplate->display('footer.tpl');
+