* $Id$
*/
-require_once('../src/validate.php');
-require_once('../functions/prefs.php');
-require_once('../functions/plugin.php');
-require_once('../functions/strings.php');
-require_once('../functions/html.php');
+/* Path for SquirrelMail required files. */
+define('SM_PATH','../');
+
+/* SquirrelMail required files. */
+require_once(SM_PATH . 'include/validate.php');
+require_once(SM_PATH . 'functions/prefs.php');
+require_once(SM_PATH . 'functions/plugin.php');
+require_once(SM_PATH . 'functions/strings.php');
+require_once(SM_PATH . 'functions/html.php');
/* Erase any lingering attachments */
if (isset($attachments) && is_array($attachments)
* because it was deleted with the session. */
if (!isset($base_uri)) {
if (!function_exists('sqm_baseuri')){
- require_once('../functions/display_messages.php');
+ require_once(SM_PATH . 'functions/display_messages.php');
}
$base_uri = sqm_baseuri();
}
echo
html_tag( 'table',
html_tag( 'tr',
- html_tag( 'td', '<b>'. _("Sign Out") . '</b>', 'center' ) ,
+ html_tag( 'th', _("Sign Out"), 'center' ) ,
'', $color[0], 'width="100%"' ) .
html_tag( 'tr',
html_tag( 'td', _("You have been successfully signed out.") .
- '<br><a href="login.php" target="' . $frame_to . '"><br>' .
- _("Click here to log back in.") . '</a><br><br>' ,
+ '<br><a href="login.php" target="' . $frame_top . '">' .
+ _("Click here to log back in.") . '</a><br>' ,
'center' ) ,
'', $color[4], 'width="100%"' ) .
html_tag( 'tr',
'center', $color[4], 'width="50%" cols="1" cellpadding="2" cellspacing="0" border="0"' )
?>
</body>
-</html>
\ No newline at end of file
+</html>