Added displaying of error messages to login page.
[squirrelmail.git] / templates / default / error_box.tpl
CommitLineData
2be6e3fc 1<?php
2/**
3 * error_box.tpl
4 *
5 * Displays the simple error box. This is different than the error list
6 * template that is displayed in footer.tpl.
7 *
8 * Variables available to this template:
9 * $errorMessage - Translated string containing error message to be
10 * displayed.
11 * $error - Translation of string "ERROR". This string is
12 * translated in functions that call this template to
13 * avoid making multiple translations on this string
14 *
15 * @copyright &copy; 1999-2006 The SquirrelMail Project Team
16 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
17 * @version $Id$
18 * @package squirrelmail
19 * @subpackage templates
20 */
21
22// Extract template variables
23extract($t);
24?>
25<div style="text-align:center; width:100%">
26<table class="table_errorBoxWrapper" cellspacing="0">
27 <tr>
28 <td>
29 <table class="table_errorBox" cellspacing="0">
30 <tr>
31 <td class="error_header">
32 <?php echo $error; ?>
33 </td>
34 </tr>
35 <tr>
36 <td class="error_message">
37 <?php echo $errorMessage."\n"; ?>
38 </td>
39 </tr>
40 </table>
41 </td>
42 </tr>
43</table>
44</div>
45<br>