-?>
- <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>
-<?php
-$plugin_message = concat_hook_function('logout_above_text');
-echo
-html_tag( 'table',
- html_tag( 'tr',
- html_tag( 'th', _("Sign Out"), 'center' ) ,
- '', $color[0], 'width="100%"' ) .
- $plugin_message .
- html_tag( 'tr',
- html_tag( 'td', _("You have been successfully signed out.") .
- '<br><a href="login.php" target="' . $frame_top . '">' .
- _("Click here to log back in.") . '</a><br>' ,
- 'center' ) ,
- '', $color[4], 'width="100%"' ) .
- html_tag( 'tr',
- html_tag( 'td', '<br>', 'center' ) ,
- '', $color[0], 'width="100%"' ) ,
-'center', $color[4], 'width="50%" cols="1" cellpadding="2" cellspacing="0" border="0"' )
-?>
-</body>
-</html>
+}
+
+// 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');
+