5 * Displays error messages when user not logged in.
7 * Variables available in this template:
8 * $logo_str - String containing full HTML tag to display the
10 * $sm_attribute_str - String containing SQM attributes to be displayed,
12 * $login_link - Array containing details needed to generate link to login
14 * $login_link['URI'] - URI target for link
15 * $login_link['FRAME'] - Frame target for link
16 * $errorMessage - Translated string containing error message to be
19 * @copyright © 1999-2006 The SquirrelMail Project Team
20 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
22 * @package squirrelmail
23 * @subpackage templates
26 /** Extract template vars **/
30 <div id="sqm_errorLogout">
31 <table class="sqm_errorLogoutTop" cellspacing="0">
35 echo $logo_str; if (!empty($logo_str)) echo '<br />';
36 echo nl2br($sm_attribute_str) . (empty($sm_attribute_str) ? '' : '<br /><br />');
44 <table class="table_errorBoxWrapper" cellspacing="0">
47 <table class="table_errorBox" cellspacing="0">
49 <td class="error_header">
50 <?php echo _("ERROR"); ?>
54 <td class="error_message">
55 <?php echo $errorMessage."\n"; ?>
59 <td class="error_header">
60 <?php echo '<a href="'.$login_link['URI'].'" target="'.$login_link['FRAME'].'">'. _("Go to the login page") .'</a>'; ?>