summaryrefslogtreecommitdiff
path: root/themes/default/views
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/default/views
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/default/views')
-rw-r--r--themes/default/views/pager.html.php16
-rw-r--r--themes/default/views/photo.html.php4
2 files changed, 10 insertions, 10 deletions
diff --git a/themes/default/views/pager.html.php b/themes/default/views/pager.html.php
index 00185711..892fe21b 100644
--- a/themes/default/views/pager.html.php
+++ b/themes/default/views/pager.html.php
@@ -8,23 +8,23 @@
"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>
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php
index d374d4f8..a2ae5a8b 100644
--- a/themes/default/views/photo.html.php
+++ b/themes/default/views/photo.html.php
@@ -5,10 +5,10 @@
<ul id="gPager">
<li><?= t("{{position}} of {{total}}", array("position" => $position, "total" => $sibling_count)) ?></li>
<? if ($previous_item): ?>
- <li class="previous"><a href="<?= $previous_item->url() ?>"><?= t("previous") ?></a></li>
+ <li><span class="ui-icon ui-icon-seek-prev"></span><a href="<?= $previous_item->url() ?>"><?= t("previous") ?></a></li>
<? endif ?>
<? if ($next_item): ?>
- <li class="next"><a href="<?= $next_item->url() ?>"><?= t("next") ?></a></li>
+ <li><a href="<?= $next_item->url() ?>"><?= t("next") ?></a><span class="ui-icon ui-icon-seek-next"></span></li>
<? endif ?>
</ul>