Happy New Year
[squirrelmail.git] / templates / default / signout.tpl
index 9c5bfaa4a45a2e1d8106886367a6500ca9a549bc..c64f2931829584a9e4357a15c7334e31d5efac1b 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Template to create the signout page
  *
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright 1999-2020 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -14,7 +14,6 @@
 /* retrieve the template vars */
 extract($t);
 
-$plugin_message = concat_hook_function('logout_above_text');
 ?>
 <body>
 
@@ -23,10 +22,10 @@ $plugin_message = concat_hook_function('logout_above_text');
 <tr width="100%"><th class="sqm_signoutBar">
   <?php echo _("Sign Out"); ?>
 </th></tr>
-<?php echo $plugin_message; ?>
+<?php if (!empty($plugin_output['signout_message'])) echo $plugin_output['signout_message']; ?>
 <tr width="100%"><td>
   <?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 />
+  <a href="<?php echo $login_uri; ?>" target="<?php echo $frame_top; ?>"><?php echo _("Click here to log back in."); ?></a><br />
 </td></tr>
 <tr width="100%"><td class="sqm_signoutBar"><br /></td></tr>
 </table>