| Current Path : /var/www/iplanru/data/www/i-plan.ru/media/zoo/applications/product/templates/uikit/ |
| Current File : /var/www/iplanru/data/www/i-plan.ru/media/zoo/applications/product/templates/uikit/alphaindex.php |
<?php
/**
* @package com_zoo
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
$css_class = $this->application->getGroup().'-'.$this->template->name;
?>
<div class="yoo-zoo <?php echo $css_class; ?> <?php echo $css_class.'-alphaindex'; ?>">
<?php if ($this->params->get('template.show_alpha_index')) : ?>
<?php echo $this->partial('alphaindex'); ?>
<?php endif; ?>
<?php
// render categories
if (!empty($this->selected_categories)) {
$categoriestitle = JText::_('Categories starting with').' '.strtoupper($this->alpha_char);
echo $this->partial('categories', compact('categoriestitle'));
}
?>
<?php
// render items
if (count($this->items)) {
$itemstitle = JText::_('Items starting with').' '.strtoupper($this->alpha_char);
echo $this->partial('items', compact('itemstitle'));
}
?>
</div>