Remove unused graphics file.
[squirrelmail.git] / src / signout.php
index 9bf32180d1a51dd6c67e47bb6f0252d1f75b8249..ef307e9e9139f551240bc0bbf23148721f89ac08 100644 (file)
  * $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) 
@@ -37,7 +41,7 @@ if (!isset($frame_top)) {
  * 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();
 }
@@ -73,12 +77,12 @@ do_hook('logout_above_text');
 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',
@@ -87,4 +91,4 @@ html_tag( 'table',
 'center', $color[4], 'width="50%" cols="1" cellpadding="2" cellspacing="0" border="0"' )
 ?>
 </body>
-</html>
\ No newline at end of file
+</html>