mirror of
https://github.com/Mibew/i18n.git
synced 2025-01-23 22:00:29 +03:00
16 lines
426 B
PHP
16 lines
426 B
PHP
|
<?php if( isset($errors) && count($errors) > 0 ) { ?>
|
||
|
<div class="errinfo">
|
||
|
<img src='<?php echo $webimroot ?>/images/icon_err.gif' width="40" height="40" border="0" alt="" class="left"/>
|
||
|
<?php
|
||
|
print getlocal("errors.header");
|
||
|
foreach( $errors as $e ) {
|
||
|
print getlocal("errors.prefix");
|
||
|
print $e;
|
||
|
print getlocal("errors.suffix");
|
||
|
}
|
||
|
print getlocal("errors.footer");
|
||
|
?>
|
||
|
</div>
|
||
|
<br clear="all"/>
|
||
|
<?php } ?>
|