There are too many modified files being committed without the copyright year being...
[squirrelmail.git] / templates / default / error_logout.tpl
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:
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
17 * displayed.
18 *
19 * @copyright &copy; 1999-2009 The SquirrelMail Project Team
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 **/
27 extract ($t);
28 ?>
29 <body>
30 <div id="sqm_errorLogout">
31 <table class="sqm_errorLogoutTop" cellspacing="0">
32 <tr>
33 <td colspan="2">
34 <?php
35 echo $logo_str; if (!empty($logo_str)) echo '<br />';
36 echo nl2br($sm_attribute_str) . (empty($sm_attribute_str) ? '' : '<br /><br />');
37 ?>
38 </td>
39 </tr>
40 </table>
41 </div>
42 <br />
43
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">
60 <?php echo '<a href="'.$login_link['URI'].'" target="'.$login_link['FRAME'].'">'. _("Go to the login page") .'</a>'; ?>
61 </td>
62 </tr>
63 </table>
64 </td>
65 </tr>
66 </table>