kaktusy/tools/smarty/compile/%%85^855^8551B00F%%errors.t...

26 lines
2.0 KiB
PHP

<?php /* Smarty version 2.6.20, created on 2013-03-15 17:30:26
compiled from /subdomains/kaktusy/httpdocs/themes/prestashop/errors.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'count', '/subdomains/kaktusy/httpdocs/themes/prestashop/errors.tpl', 3, false),array('modifier', 'escape', '/subdomains/kaktusy/httpdocs/themes/prestashop/errors.tpl', 9, false),array('modifier', 'secureReferrer', '/subdomains/kaktusy/httpdocs/themes/prestashop/errors.tpl', 9, false),array('function', 'l', '/subdomains/kaktusy/httpdocs/themes/prestashop/errors.tpl', 3, false),)), $this); ?>
<?php if (isset ( $this->_tpl_vars['errors'] ) && $this->_tpl_vars['errors']): ?>
<div class="error">
<p><?php if (count($this->_tpl_vars['errors']) > 1): ?><?php echo smartyTranslate(array('s' => 'There are'), $this);?>
<?php else: ?><?php echo smartyTranslate(array('s' => 'There is'), $this);?>
<?php endif; ?> <?php echo count($this->_tpl_vars['errors']); ?>
<?php if (count($this->_tpl_vars['errors']) > 1): ?><?php echo smartyTranslate(array('s' => 'errors'), $this);?>
<?php else: ?><?php echo smartyTranslate(array('s' => 'error'), $this);?>
<?php endif; ?> :</p>
<ol>
<?php $_from = $this->_tpl_vars['errors']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['error']):
?>
<li><?php echo $this->_tpl_vars['error']; ?>
</li>
<?php endforeach; endif; unset($_from); ?>
</ol>
<p><a href="<?php echo ((is_array($_tmp=((is_array($_tmp=$_SERVER['HTTP_REFERER'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')))) ? $this->_run_mod_handler('secureReferrer', true, $_tmp) : Tools::secureReferrer($_tmp)); ?>
" class="button_small" title="<?php echo smartyTranslate(array('s' => 'Back'), $this);?>
">&laquo; <?php echo smartyTranslate(array('s' => 'Back'), $this);?>
</a></p>
</div>
<?php endif; ?>