diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-08 02:46:42 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-08 02:46:42 +0000 |
commit | 3d4cf6f27eb11ec3168fcc173a50de297006c7a8 (patch) | |
tree | 247fae8535a113add710f9597cdfae48aa62831e | |
parent | 58c8b3b0315405094c448da6486354250914ea6f (diff) |
Added avatar.jpg and pager.html.php (used in comments module)
-rw-r--r-- | themes/admin_default/images/avatar.jpg | bin | 0 -> 914 bytes | |||
-rw-r--r-- | themes/admin_default/views/pager.html.php | 25 |
2 files changed, 25 insertions, 0 deletions
diff --git a/themes/admin_default/images/avatar.jpg b/themes/admin_default/images/avatar.jpg Binary files differnew file mode 100644 index 00000000..2e76b12b --- /dev/null +++ b/themes/admin_default/images/avatar.jpg diff --git a/themes/admin_default/views/pager.html.php b/themes/admin_default/views/pager.html.php new file mode 100644 index 00000000..a07800c2 --- /dev/null +++ b/themes/admin_default/views/pager.html.php @@ -0,0 +1,25 @@ +<?php defined("SYSPATH") or die("No direct script access.") ?> +<? // See http://docs.kohanaphp.com/libraries/pagination ?> +<ul id="gPager"> + <li><?= sprintf(_("%d - %d of %d"), $current_first_item, $current_last_item, $total_items) ?></li> + <? if ($first_page): ?> + <li class="first"><a href="<?= str_replace('{page}', 1, $url) ?>"><?= _("first") ?></a></li> + <? else: ?> + <li class="first_inactive"><?= _("first") ?></li> + <? endif ?> + <? if ($previous_page): ?> + <li class="previous"><a href="<?= str_replace('{page}', $previous_page, $url) ?>"><?= _("previous") ?></a></li> + <? else: ?> + <li class="previous_inactive"><?= _("previous") ?></li> + <? endif ?> + <? if ($next_page): ?> + <li class="next"><a href="<?= str_replace('{page}', $next_page, $url) ?>"><?= _("next") ?></a></li> + <? else: ?> + <li class="next_inactive"><?= _("next") ?></li> + <? endif ?> + <? if ($last_page): ?> + <li class="last"><a href="<?= str_replace('{page}', $last_page, $url) ?>"><?= _("last") ?></a></li> + <? else: ?> + <li class="last_inactive"><?= _("last") ?></li> + <? endif ?> +</ul> |