The logout_above_text hook was misplaced. Got it back where it should be.
[squirrelmail.git] / src / signout.php
index e08d1009d75ffeee2a9e25b4567b48f464172ff7..1fb84845af327a9b1753805eba98724450c5f7c6 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * signout.php -- cleans up session and logs the user out
  *
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Copyright (c) 1999-2003 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  *  Cleans up after the user. Resets cookies and terminates session.
@@ -75,12 +75,13 @@ link="<?php echo $color[7] ?>" vlink="<?php echo $color[7] ?>"
 alink="<?php echo $color[7] ?>">
 <br><br>
 <?php
-do_hook('logout_above_text');
+$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 . '">' .