<?php /* Smarty version 2.6.19, created on 2008-04-16 11:37:05
         compiled from backend/categories_list.tpl */ ?>
<h4><?php echo $this->_tpl_vars['category_lang']['title']; ?>
:</h4>
<br>
<a href="<?php echo $this->_tpl_vars['baseurl']; ?>
admin/category_new/<?php echo $this->_tpl_vars['jazyk']; ?>
"><?php echo $this->_tpl_vars['category_lang']['create']; ?>
</a>
<br><br>
<form action="<?php echo $this->_tpl_vars['baseurl']; ?>
admin/categories/<?php echo $this->_tpl_vars['jazyk']; ?>
" method="post">
<input type="submit" name="hide_selected" value="<?php echo $this->_tpl_vars['category_lang']['hide_selected']; ?>
">&nbsp;<input type="submit" name="show_selected" value="<?php echo $this->_tpl_vars['category_lang']['show_selected']; ?>
">
<table>
  <tr>
    <th><?php echo $this->_tpl_vars['category_lang']['name']; ?>
</th><th><?php echo $this->_tpl_vars['category_lang']['status']; ?>
</th><th></th>
  </tr>
  <?php unset($this->_sections['p']);
$this->_sections['p']['name'] = 'p';
$this->_sections['p']['loop'] = is_array($_loop=$this->_tpl_vars['categories']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['p']['show'] = true;
$this->_sections['p']['max'] = $this->_sections['p']['loop'];
$this->_sections['p']['step'] = 1;
$this->_sections['p']['start'] = $this->_sections['p']['step'] > 0 ? 0 : $this->_sections['p']['loop']-1;
if ($this->_sections['p']['show']) {
    $this->_sections['p']['total'] = $this->_sections['p']['loop'];
    if ($this->_sections['p']['total'] == 0)
        $this->_sections['p']['show'] = false;
} else
    $this->_sections['p']['total'] = 0;
if ($this->_sections['p']['show']):

            for ($this->_sections['p']['index'] = $this->_sections['p']['start'], $this->_sections['p']['iteration'] = 1;
                 $this->_sections['p']['iteration'] <= $this->_sections['p']['total'];
                 $this->_sections['p']['index'] += $this->_sections['p']['step'], $this->_sections['p']['iteration']++):
$this->_sections['p']['rownum'] = $this->_sections['p']['iteration'];
$this->_sections['p']['index_prev'] = $this->_sections['p']['index'] - $this->_sections['p']['step'];
$this->_sections['p']['index_next'] = $this->_sections['p']['index'] + $this->_sections['p']['step'];
$this->_sections['p']['first']      = ($this->_sections['p']['iteration'] == 1);
$this->_sections['p']['last']       = ($this->_sections['p']['iteration'] == $this->_sections['p']['total']);
?>
  <tr>
    <td><?php echo $this->_tpl_vars['categories'][$this->_sections['p']['index']]['filter_nazov']; ?>
</td>
    <td><?php if ($this->_tpl_vars['categories'][$this->_sections['p']['index']]['filter_skryta'] == 0): ?><?php echo $this->_tpl_vars['category_lang']['displayed']; ?>
<?php else: ?><?php echo $this->_tpl_vars['category_lang']['hidden']; ?>
<?php endif; ?></td>
    <td><input type="checkbox" name="category_id[]" value="<?php echo $this->_tpl_vars['categories'][$this->_sections['p']['index']]['filter_id']; ?>
">&nbsp;<a href="<?php echo $this->_tpl_vars['baseurl']; ?>
admin/category_edit/<?php echo $this->_tpl_vars['jazyk']; ?>
/<?php echo $this->_tpl_vars['categories'][$this->_sections['p']['index']]['filter_id']; ?>
"><?php echo $this->_tpl_vars['category_lang']['edit']; ?>
</a></td>
  </tr>
  <?php endfor; endif; ?>
</table>
<input type="submit" name="hide_selected" value="<?php echo $this->_tpl_vars['category_lang']['hide_selected']; ?>
">&nbsp;<input type="submit" name="show_selected" value="<?php echo $this->_tpl_vars['category_lang']['show_selected']; ?>
">
</form>