Thibault UBUNTU 3d7f60a05e push site
2016-03-03 10:33:17 +01:00

15 lines
630 B
Smarty
Executable File

{if isset($php_errors) && $php_errors|@count}
<div class="bootstrap">
<div id="error-modal" class="modal fade">
<div class="modal-dialog">
<div class="alert alert-danger clearfix">
{foreach $php_errors item=php_error}
{l s='%1$s on line %2$s in file %3$s' sprintf=[$php_error.type|escape, $php_error.errline|escape, $php_error.errfile|escape]}<br />
[{$php_error.errno|escape}] {$php_error.errstr|escape}<br /><br />
{/foreach}
<button type="button" class="btn btn-default pull-right" data-dismiss="modal"><i class="icon-remove"></i> Close</button>
</div>
</div>
</div>
</div>
{/if}