Happy New Year
[squirrelmail.git] / templates / default / error_logout.tpl
CommitLineData
284a0d8a 1<?php
2/**
3 * error_logout.tpl
4 *
5 * Displays error messages when user not logged in.
6 *
7 * Variables available in this template:
8 * $logo_str - String containing full HTML tag to display the
9 * org logo.
10 * $sm_attribute_str - String containing SQM attributes to be displayed,
11 * if any
12 * $login_link - Array containing details needed to generate link to login
13 * page. Elements are:
5f882853 14 * $login_link['URI'] - URI target for link
284a0d8a 15 * $login_link['FRAME'] - Frame target for link
16 * $errorMessage - Translated string containing error message to be
17 * displayed.
18 *
353d074a 19 * @copyright 1999-2018 The SquirrelMail Project Team
284a0d8a 20 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
21 * @version $Id$
22 * @package squirrelmail
23 * @subpackage templates
24 */
25
26/** Extract template vars **/
27extract ($t);
28?>
29<body>
30<div id="sqm_errorLogout">
cb15d3c6 31<table class="sqm_errorLogoutTop" cellspacing="0">
284a0d8a 32 <tr>
cb15d3c6 33 <td colspan="2">
284a0d8a 34 <?php
8f6e76d2 35 echo $logo_str; if (!empty($logo_str)) echo '<br />';
d6364863 36 echo nl2br($sm_attribute_str) . (empty($sm_attribute_str) ? '' : '<br /><br />');
284a0d8a 37 ?>
38 </td>
39 </tr>
40</table>
cb15d3c6 41</div>
42<br />
43
284a0d8a 44<table class="table_errorBoxWrapper" cellspacing="0">
45 <tr>
46 <td>
47 <table class="table_errorBox" cellspacing="0">
48 <tr>
49 <td class="error_header">
50 <?php echo _("ERROR"); ?>
51 </td>
52 </tr>
53 <tr>
54 <td class="error_message">
55 <?php echo $errorMessage."\n"; ?>
56 </td>
57 </tr>
58 <tr>
59 <td class="error_header">
5f882853 60 <?php echo '<a href="'.$login_link['URI'].'" target="'.$login_link['FRAME'].'">'. _("Go to the login page") .'</a>'; ?>
284a0d8a 61 </td>
62 </tr>
63 </table>
64 </td>
65 </tr>
66</table>