Show error header on error to make clear that something bad has happened.

This commit is contained in:
Michal Čihař
2005-08-04 13:52:51 +00:00
parent 5ba1524fd5
commit d9977e23ae
3 changed files with 12 additions and 0 deletions

View File

@@ -1711,6 +1711,9 @@ if (typeof(document.getElementById) != 'undefined'
<br />
<div align="<?php echo $GLOBALS['cell_align_left']; ?>">
<table border="<?php echo $cfg['Border']; ?>" cellpadding="5" cellspacing="1">
<?php if (isset($GLOBALS['show_error_header']) && $GLOBALS['show_error_header']) { ?>
<tr><th class="tblHeadError"><div class="errorhead"><?php echo $GLOBALS['strError']; ?></div></th></tr>
<?php } ?>
<tr>
<th<?php echo ($GLOBALS['theme'] != 'original') ? ' class="tblHeaders"' : ' bgcolor="' . $cfg['ThBgcolor'] . '"'; ?>>
<b><?php echo $message; ?></b>