*
* Template for viewing error handler error messages
*
- * @copyright © 1999-2005 The SquirrelMail Project Team
+ * @copyright © 1999-2006 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
/* retrieve the template vars */
extract($t);
+
if (isset($aErrors) && is_array($aErrors)) {
?>
<div id="error_list">
<?php echo _("Category:"); ?>
</td>
<td class="error_val">
- <?php foreach ($aError['category'] as $sCategory) {echo $sCategory;} ?>
+ <?php echo join(', ', $aError['category']); ?>
</td>
</tr>
<tr>
<td class="error_key">
<?php echo $sKey; ?>:
</td>
- <td>
+ <td class="error_val">
<?php echo $sValue; ?>
</td>
</tr>
</td>
</tr>
<?php } // (isset($aError['link']) && ($aError['link']))
+ ?>
+ <tr class="error_thead">
+ <td class="error_thead_caption" colspan="2">
+ </td>
+ </tr>
+ <?php
} // foreach($aErrors as $aError)
?>
</table>
</div>
<?php
} // isset($aErrors)
-?>
\ No newline at end of file