<?php echo ''; ?><?php $_from = $this->_tpl_vars['messages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['item']):
?><?php echo '<div class="alert alert-'; ?><?php echo $this->_tpl_vars['type']; ?><?php echo ''; ?><?php if (! isset ( $this->_tpl_vars['dismissable'] ) || $this->_tpl_vars['dismissable']): ?><?php echo ' alert-dismissable'; ?><?php endif; ?><?php echo '"'; ?><?php if ($this->_tpl_vars['item']['displayTime']): ?><?php echo ' data-display-time="'; ?><?php echo $this->_tpl_vars['item']['displayTime']; ?><?php echo '"'; ?><?php endif; ?><?php echo '>'; ?><?php if (! isset ( $this->_tpl_vars['dismissable'] ) || $this->_tpl_vars['dismissable']): ?><?php echo '<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>'; ?><?php endif; ?><?php echo ''; ?><?php if (isset ( $this->_tpl_vars['caption'] ) && $this->_tpl_vars['caption']): ?><?php echo '<strong>'; ?><?php echo $this->_tpl_vars['caption']; ?><?php echo '</strong><br>'; ?><?php endif; ?><?php echo '<div class="js-content">'; ?><?php echo $this->_tpl_vars['item']['message']; ?><?php echo '</div></div>'; ?><?php endforeach; endif; unset($_from); ?><?php echo ''; ?>