Current path: home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/6a/50/2a/
?? Go up: /home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/6a/50
<?php
/* Smarty version 4.3.1, created on 2024-01-02 17:28:27
from '/home/webdevt/www/schtroumpf.fr/admin254sdct88d6xocraexw/themes/new-theme/template/components/layout/warning_messages.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.1',
'unifunc' => 'content_659439abbab7c0_53843087',
'has_nocache_code' => false,
'file_dependency' =>
array (
'6a502a8953b8a5bcaad7dad7e00a602202bd76b5' =>
array (
0 => '/home/webdevt/www/schtroumpf.fr/admin254sdct88d6xocraexw/themes/new-theme/template/components/layout/warning_messages.tpl',
1 => 1702562784,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_659439abbab7c0_53843087 (Smarty_Internal_Template $_smarty_tpl) {
if (count($_smarty_tpl->tpl_vars['warnings']->value)) {?>
<div class="bootstrap">
<div class="alert alert-warning">
<button type="button" class="close" data-dismiss="alert">×</button>
<?php if (count($_smarty_tpl->tpl_vars['warnings']->value) > 1) {?>
<h4><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'There are %d warnings.','sprintf'=>array(count($_smarty_tpl->tpl_vars['warnings']->value)),'d'=>'Admin.Notifications.Error'),$_smarty_tpl ) );?>
</h4>
<?php }?>
<ul class="list-unstyled">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['warnings']->value, 'warning');
$_smarty_tpl->tpl_vars['warning']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['warning']->value) {
$_smarty_tpl->tpl_vars['warning']->do_else = false;
?>
<li><?php echo $_smarty_tpl->tpl_vars['warning']->value;?>
</li>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
</div>
</div>
<?php }
}
}