5 * Displays the simple error box. This is different than the error list
6 * template that is displayed in footer.tpl.
8 * Variables available to this template:
9 * $errorMessage - Translated string containing error message to be
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 * $link - Array containing link to display to go back, if desired.
15 * If no link is dsired, this will be NULL. The array
16 * will contain the following elements:
17 * $link['URL'] - URL target for link
18 * $link['FRAME'] - Frame target for link
19 * $link['TEXT'] - Text to display for link
21 * @copyright 1999-2010 The SquirrelMail Project Team
22 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
24 * @package squirrelmail
25 * @subpackage templates
28 // Extract template variables
31 <div style="text-align:center; width:100%">
32 <table class="table_errorBoxWrapper" cellspacing="0">
35 <table class="table_errorBox" cellspacing="0">
37 <td class="error_header">
42 <td class="error_message">
43 <?php echo $errorMessage."\n"; ?>
47 if (!is_null($link)) {
50 <td class="error_header">
51 <a href="<?php echo $link['URL']; ?>" target="<?php echo $link['FRAME']; ?>"><?php echo $link['TEXT']; ?></a>