Example #1
0
        ?>
      <h2 class="eventgallery-subcategories"><?php 
        echo JText::_('COM_EVENTGALLERY_EVENTS_SUBCATEGORIES');
        ?>
</h2>
      <ul class="nav eventgallery-subcategories-list">
      <?php 
        foreach ($subCategories as $subCategory) {
            ?>
          <li>
              <a href="<?php 
            echo JRoute::_('index.php?option=com_eventgallery&view=categories&catid=' . $subCategory->id);
            ?>
" >
                  <?php 
            echo $this->escape(EventgalleryHelpersCategories::getCategoryTitle($subCategory));
            if ($this->params->get('show_items_per_category_count', 0) == 1) {
                ?>
                      (<?php 
                if ($this->params->get('show_items_per_category_count_recursive', 0) == 1) {
                    echo $subCategory->getNumItems(true);
                } else {
                    echo $subCategory->getNumItems(false);
                }
                ?>
)
                  <?php 
            }
            ?>
              </a>
         </li>