Adding a hook on the signout page within the HTML output.
authorallah03 <allah03@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 16 May 2001 23:49:59 +0000 (23:49 +0000)
committerallah03 <allah03@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 16 May 2001 23:49:59 +0000 (23:49 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1371 7612ce4b-ef26-0410-bec9-ea0150e637f0

doc/plugin.txt
src/signout.php

index ccdff59..a598e62 100644 (file)
@@ -113,6 +113,7 @@ List of hooks
   & options_identities_table      src/options_identities.php
   & options_identities_buttons    src/options_identities.php
   logout                          src/signout.php
+  logout_above_text               src/signout.php
   login_before                    src/webmail.php
   login_verified                  src/webmail.php
   loading_prefs                   src/load_prefs.php
index 10f9b63..d7258a7 100644 (file)
@@ -55,8 +55,8 @@
 <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] ?>" A
-LINK="<?php echo $color[7] ?>">
+LINK="<?php echo $color[7] ?>" VLINK="<?php echo $color[7] ?>"
+ALINK="<?php echo $color[7] ?>">
 <BR><BR>
 <TABLE BGCOLOR="FFFFFF" BORDER="0" COLS="1" WIDTH="50%" CELLSPACING="0" 
 CELLPADDING="2" ALIGN="CENTER">
@@ -67,6 +67,7 @@ CELLPADDING="2" ALIGN="CENTER">
   </TR>
   <TR BGCOLOR="<?php echo $color[4] ?>" WIDTH=100%>
     <TD ALIGN="CENTER">
+      <?php do_hook('logout_above_text'); ?>
       <?php echo _("You have been successfully signed out.") ?><BR>
       <A HREF="login.php" TARGET="_top">
       <?php echo _("Click here to log back in.") ?>