name : default_pagination.php
<?php
/*
 * @package Joomla
 * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
 *
 * @component Phoca Gallery
 * @copyright Copyright (C) Jan Pavelka www.phoca.cz
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
 */
defined('_JEXEC') or die('Restricted access'); 
use Joomla\CMS\Language\Text;
use Joomla\CMS\HTML\HTMLHelper;
if ($this->params->get('show_ordering_images') || $this->params->get('show_pagination_limit_category') || $this->params->get('show_pagination_category')) {
	echo '<form action="'.htmlspecialchars($this->t['action']).'" method="post" name="adminForm">'. "\n";

	if (count($this->items)) {
		echo '<div class="pagination pagination-centered">';
		if ($this->params->get('show_ordering_images')) {
			echo Text::_('COM_PHOCAGALLERY_ORDER_FRONT') .'&nbsp;'.$this->t['ordering'];
		}
		if ($this->params->get('show_pagination_limit_category')) {
			echo Text::_('COM_PHOCAGALLERY_DISPLAY_NUM') .'&nbsp;'.$this->t['pagination']->getLimitBox();
		}
		if ($this->params->get('show_pagination_category')) {
		
			echo '<div class="counter pull-right">'.$this->t['pagination']->getPagesCounter().'</div>'
				.'<div class="pagination pagination-centered">'.$this->t['pagination']->getPagesLinks().'</div>';
		}
		echo '</div>'. "\n";

	}
	echo '<input type="hidden" name="controller" value="category" />';
	echo HTMLHelper::_( 'form.token' );
	echo '</form>';
	
	echo '<div class="ph-cb pg-cv-paginaton">&nbsp;</div>';
} else {
	echo '<div class="ph-cb pg-csv-paginaton">&nbsp;</div>';
}
?>

© 2025 Cubjrnet7