<br clear="all" />
<?php $links = $paginator->getLinks(); ?>

<?php if (count($links) > 1): ?>
<div id="paginator" style="float:right;">

	<div class="paginatorBlock">
    <?php if ($paginator->getPrevLink()): ?><a href="<?php echo $paginator->getPrevLink(); ?>" class="yt-uix-button yt-uix-pager-prev yt-uix-pager-button yt-uix-button-default">&laquo;&nbsp;<?php echo translate('Anterior'); ?></a><?php endif; ?>
    <?php foreach ($links as $link): ?>
    <?php if ($paginator->getPage() == $link['page']): ?>
    <a class="yt-uix-button yt-uix-pager-page-num yt-uix-pager-button yt-uix-button-toggled yt-uix-button-default" href="#" target="_self"><span class="current"><?php echo $link['page']; ?></span></a>
    <?php else: ?>
    <a class="yt-uix-button yt-uix-pager-page-num yt-uix-pager-button yt-uix-button-default" href="<?php echo $link['link']; ?>"><?php echo $link['page']; ?></a>
    <?php endif; ?>
    <?php endforeach; ?>
    <?php if ($paginator->getNextLink()): ?><a href="<?php echo $paginator->getNextLink(); ?>" class="yt-uix-button yt-uix-pager-next yt-uix-pager-button yt-uix-button-default"><?php echo translate('Seguinte'); ?>&nbsp;&raquo;</a><?php endif; ?>
    </div>
	
</div>
<?php endif; ?>
