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: |
14 | * $login_link['URL'] - URL 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 © 1999-2006 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 cellspacing="0"> |
32 | <tr> |
33 | <td class="sqm_errorLogoutTop" colspan="2"> |
34 | <?php |
35 | echo $logo_str; |
36 | echo $sm_attribute_str; |
37 | ?> |
38 | </td> |
39 | </tr> |
40 | </table> |
41 | <br> |
42 | <div style="width:70%; text-align:center; margin-left:auto; margin-right:auto"> |
43 | <table class="table_errorBoxWrapper" cellspacing="0"> |
44 | <tr> |
45 | <td> |
46 | <table class="table_errorBox" cellspacing="0"> |
47 | <tr> |
48 | <td class="error_header"> |
49 | <?php echo _("ERROR"); ?> |
50 | </td> |
51 | </tr> |
52 | <tr> |
53 | <td class="error_message"> |
54 | <?php echo $errorMessage."\n"; ?> |
55 | </td> |
56 | </tr> |
57 | <tr> |
58 | <td class="error_header"> |
59 | <?php echo '<a href="'.$login_link['URL'].'" target="'.$login_link['FRAME'].'">'. _("Go to the login page") .'</a>'; ?> |
60 | </td> |
61 | </tr> |
62 | </table> |
63 | </td> |
64 | </tr> |
65 | </table> |
66 | </div> |
67 | </div> |