i18n/src/messenger/webim/view/inc_errors.php
Evgeny Gryaznov dc3c6ebdaa Update views with a new layout
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@402 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-03-12 01:07:35 +00:00

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 } ?>