Mercurial > hg > soundsoftware-drupal-theme
annotate custom-pager.tpl.php @ 7:787c247a1b22 tip
Minor font change
author | Chris Cannam |
---|---|
date | Thu, 15 Nov 2012 10:58:56 +0000 |
parents | 10b7ded9b083 |
children |
rev | line source |
---|---|
luisf@1 | 1 <?php |
luisf@1 | 2 // $Id: custom-pager.tpl.php,v 1.1.2.1 2008/12/24 00:58:21 eaton Exp $ |
luisf@1 | 3 |
luisf@1 | 4 /** |
luisf@1 | 5 * @file |
luisf@1 | 6 * custom-pager.tpl.php |
luisf@1 | 7 * |
luisf@1 | 8 * Theme implementation to display a custom pager. |
luisf@1 | 9 * |
luisf@1 | 10 * Default variables: |
luisf@1 | 11 * - $previous: A formatted <A> link to the previous item. |
luisf@1 | 12 * - $next: A formatted <A> link to the next item. |
luisf@1 | 13 * - $key: Formatted text describing the item's position in the list. |
luisf@1 | 14 * - $position: A textual flag indicating how the pager is being displayed. |
luisf@1 | 15 * Possible values include: 'top', 'bottom', and 'block'. |
luisf@1 | 16 * |
luisf@1 | 17 * Other variables: |
luisf@1 | 18 * - $nav_array: An array containing the raw node IDs and position data of the |
luisf@1 | 19 * current item in the list. |
luisf@1 | 20 * - $node: The current node object. |
luisf@1 | 21 * - $pager: The pager object itself. |
luisf@1 | 22 * |
luisf@1 | 23 * @see custom_pagers_preprocess_custom_pager() |
luisf@1 | 24 */ |
luisf@1 | 25 ?> |
luisf@1 | 26 |
luisf@1 | 27 <div class="item-list"> |
luisf@1 | 28 <ul class="pager custom-pager-<?php print $position; ?>"> |
luisf@1 | 29 <li class="previous"><?php print $previous; ?></li> |
luisf@1 | 30 <li class="next"><?php print $next; ?></li> |
luisf@1 | 31 </ul> |
luisf@1 | 32 </div> |
luisf@1 | 33 |
luisf@1 | 34 |