mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-27 02:04:31 -04:00
Fix for ticket #328.
Basically copied the default/views/pager.html to admin_default/views/pager.html and change the message to reflect the original comment message.
This commit is contained in:
@@ -1,30 +1,42 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<? // See http://docs.kohanaphp.com/libraries/pagination ?>
|
||||
<ul id="gPager">
|
||||
<ul class="gPager">
|
||||
<? /* XXX: This message isn't easily localizable */
|
||||
$from_to_msg = t("Items %from_number - %to_number of %total",
|
||||
array("from_number" => $current_first_item,
|
||||
"to_number" => $current_last_item,
|
||||
"total" => $total_items)) ?>
|
||||
<li><?= $from_to_msg ?></li>
|
||||
<li>
|
||||
<? if ($first_page): ?>
|
||||
<li><span class="ui-icon ui-icon-seek-first"></span><a href="<?= str_replace('{page}', 1, $url) ?>"><?= t("first") ?></a></li>
|
||||
<a href="<?= str_replace('{page}', 1, $url) ?>" class="gButtonLink ui-icon-left ui-state-default ui-corner-all">
|
||||
<span class="ui-icon ui-icon-seek-first"></span><?= t("first") ?></a>
|
||||
<? else: ?>
|
||||
<li class="inactive"><span class="ui-icon ui-icon-seek-first"></span><?= t("first") ?></li>
|
||||
<a class="gButtonLink ui-icon-left ui-state-disabled ui-corner-all">
|
||||
<span class="ui-icon ui-icon-seek-first"></span><?= t("first") ?></a>
|
||||
<? endif ?>
|
||||
<? if ($previous_page): ?>
|
||||
<li><span class="ui-icon ui-icon-seek-prev"></span><a href="<?= str_replace('{page}', $previous_page, $url) ?>"><?= t("previous") ?></a></li>
|
||||
<a href="<?= str_replace('{page}', $previous_page, $url) ?>" class="gButtonLink ui-icon-left ui-state-default ui-corner-all">
|
||||
<span class="ui-icon ui-icon-seek-prev"></span><?= t("previous") ?></a>
|
||||
<? else: ?>
|
||||
<li class="inactive"><span class="ui-icon ui-icon-seek-prev"></span><?= t("previous") ?></li>
|
||||
<a class="gButtonLink ui-icon-left ui-state-disabled ui-corner-all">
|
||||
<span class="ui-icon ui-icon-seek-prev"></span><?= t("previous") ?></a>
|
||||
<? endif ?>
|
||||
</li>
|
||||
<li class="gInfo"><?= $from_to_msg ?></li>
|
||||
<li class="txtright">
|
||||
<? if ($next_page): ?>
|
||||
<li><a href="<?= str_replace('{page}', $next_page, $url) ?>"><?= t("next") ?></a><span class="ui-icon ui-icon-seek-next"></span></li>
|
||||
<a href="<?= str_replace('{page}', $next_page, $url) ?>" class="gButtonLink ui-icon-right ui-state-default ui-corner-all">
|
||||
<span class="ui-icon ui-icon-seek-next"></span><?= t("next") ?></a>
|
||||
<? else: ?>
|
||||
<li class="inactive"><?= t("next") ?><span class="ui-icon ui-icon-seek-next"></span></li>
|
||||
<a class="gButtonLink ui-state-disabled ui-icon-right ui-corner-all">
|
||||
<span class="ui-icon ui-icon-seek-next"></span><?= t("next") ?></a>
|
||||
<? endif ?>
|
||||
<? if ($last_page): ?>
|
||||
<li><a href="<?= str_replace('{page}', $last_page, $url) ?>"><?= t("last") ?></a><span class="ui-icon ui-icon-seek-end"></span></li>
|
||||
<a href="<?= str_replace('{page}', $last_page, $url) ?>" class="gButtonLink ui-icon-right ui-state-default ui-corner-all">
|
||||
<span class="ui-icon ui-icon-seek-end"></span><?= t("last") ?></a>
|
||||
<? else: ?>
|
||||
<li class="inactive"><?= t("last") ?><span class="ui-icon ui-icon-seek-end"></span></li>
|
||||
<a class="gButtonLink ui-state-disabled ui-icon-right ui-corner-all">
|
||||
<span class="ui-icon ui-icon-seek-end"></span><?= t("last") ?></a>
|
||||
<? endif ?>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user