summaryrefslogtreecommitdiff
path: root/themes/admin_default
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2009-01-10 21:50:35 +0000
committerChad Kieffer <chad@2tbsp.com>2009-01-10 21:50:35 +0000
commit15c25d85ece4fa53d5b3ec35e3e564133a328648 (patch)
tree72380ac3c78ec4997e9cdf40b02b9d09a87bc576 /themes/admin_default
parent4c330e5a99567e7ce44353a9bba111c915752f1e (diff)
Switch the pager to use themeroller's icon sprites. I applied jquery ui css classes to newly added span classes in the pager templates directly, will likely move these out and apply through ui.init.js later.
Diffstat (limited to 'themes/admin_default')
-rw-r--r--themes/admin_default/views/pager.html.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/themes/admin_default/views/pager.html.php b/themes/admin_default/views/pager.html.php
index 5c7c5396..e14cf857 100644
--- a/themes/admin_default/views/pager.html.php
+++ b/themes/admin_default/views/pager.html.php
@@ -1,30 +1,30 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<? // See http://docs.kohanaphp.com/libraries/pagination ?>
<ul id="gPager">
- <? /* XXX: This message isn't easily localizable */
- $from_to_msg = t("{{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>
+ <? /* 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>
<? if ($first_page): ?>
- <li class="first"><a href="<?= str_replace('{page}', 1, $url) ?>"><?= t("first") ?></a></li>
+ <li><span class="ui-icon ui-icon-seek-first"></span><a href="<?= str_replace('{page}', 1, $url) ?>"><?= t("first") ?></a></li>
<? else: ?>
- <li class="first_inactive"><?= t("first") ?></li>
+ <li class="inactive"><span class="ui-icon ui-icon-seek-first"></span><?= t("first") ?></li>
<? endif ?>
<? if ($previous_page): ?>
- <li class="previous"><a href="<?= str_replace('{page}', $previous_page, $url) ?>"><?= t("previous") ?></a></li>
+ <li><span class="ui-icon ui-icon-seek-prev"></span><a href="<?= str_replace('{page}', $previous_page, $url) ?>"><?= t("previous") ?></a></li>
<? else: ?>
- <li class="previous_inactive"><?= t("previous") ?></li>
+ <li class="inactive"><span class="ui-icon ui-icon-seek-prev"></span><?= t("previous") ?></li>
<? endif ?>
<? if ($next_page): ?>
- <li class="next"><a href="<?= str_replace('{page}', $next_page, $url) ?>"><?= t("next") ?></a></li>
+ <li><a href="<?= str_replace('{page}', $next_page, $url) ?>"><?= t("next") ?></a><span class="ui-icon ui-icon-seek-next"></span></li>
<? else: ?>
- <li class="next_inactive"><?= t("next") ?></li>
+ <li class="inactive"><?= t("next") ?><span class="ui-icon ui-icon-seek-next"></span></li>
<? endif ?>
<? if ($last_page): ?>
- <li class="last"><a href="<?= str_replace('{page}', $last_page, $url) ?>"><?= t("last") ?></a></li>
+ <li><a href="<?= str_replace('{page}', $last_page, $url) ?>"><?= t("last") ?></a><span class="ui-icon ui-icon-seek-end"></span></li>
<? else: ?>
- <li class="last_inactive"><?= t("last") ?></li>
+ <li class="inactive"><?= t("last") ?><span class="ui-icon ui-icon-seek-end"></span></li>
<? endif ?>
</ul>