/**
* display_messages.php
*
- * Copyright (c) 1999-2003 The SquirrelMail Project Team
+ * Copyright (c) 1999-2004 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This contains all messages, including information, error, and just
'<A HREF="' . sqm_baseuri()
. "src/right_main.php?sort=$sort&startMessage=$startMessage"
. "&mailbox=$urlMailbox\">" .
- sprintf (_("Click here to return to %s"), $mailbox) .
+ sprintf (_("Click here to return to %s"), imap_utf7_decode_local($mailbox)) .
'</A></td></tr>';
error_box($string, $color);
}
$color[8] = '#000000'; /* black Normal text */
}
+ list($junk, $errString, $errTitle) = do_hook('logout_error', $errString, $errTitle);
+
if ( $errTitle == '' ) {
$errTitle = $errString;
}
$err = _("ERROR");
+ $string = concat_hook_function('error_box', $string);
+
/* check if the page header has been sent; if not, send it! */
if(!isset($pageheader_sent) && !$pageheader_sent) {
/* include this just to be sure */
echo ' <tr>' . html_tag( 'td', $string."\n", 'left')
. '</tr>';
echo ' </table>';
+ echo ' </td></tr>';
echo ' </table></td></tr>';
echo ' </table>';
- echo ' </td></tr>';
}
?>