Changeset 497 for trunk/services/templates/list_info.ihtml
- Timestamp:
- Sep 15, 2014 9:44:27 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/services/templates/list_info.ihtml
r270 r497 1 <div> 2 <?php if ($page->total_pages > 1) { ?> 3 <span class="sc-nowrap commanditem" style="float: right;"><?php echo _("Pages:"); ?> <?php $page->printPageNumbers() ?></span> 4 <?php } ?> 5 <span class="sc-nowrap commanditem"> 6 <?php printf(_("Listing <strong>%s-%s</strong> of <strong>%s</strong> results on <strong>%s</strong> pages"), (0==$page->total_items ? 0 : $page->first_item+1), (0==$page->total_items ? 0 : $page->last_item+1), $page->total_items, $page->total_pages) ?> 7 <a href="<?php echo $app->oHREF($_SERVER['PHP_SELF'], false); ?>"><?php echo _("List all"); ?></a> 8 <?php echo _("Per page"); ?>: <?php $page->printPerPageLinks() ?> 9 </span> 1 <div class="row"> 2 <div class="large-12 text-center columns"> 3 <ul class="inline-list"> 4 <li><?php printf(_("Listing <strong>%s-%s</strong> of <strong>%s</strong> results on <strong>%s</strong> %s"), (0==$page->total_items ? 0 : $page->first_item+1), (0==$page->total_items ? 0 : $page->last_item+1), $page->total_items, $page->total_pages, (1==$page->total_pages ? _("page") : _("pages"))); ?></li> 5 <?php if ($page->total_pages > 1) { ?> 6 <li class=""><?php $page->printPageNumbers() ?></li> 7 <li><?php echo _("Per page"); ?>: <?php $page->printPerPageLinks() ?></li> 8 <?php } ?> 9 </ul> 10 </div> 10 11 </div>
Note: See TracChangeset
for help on using the changeset viewer.