| 1 |
<?php
|
| 2 |
// $Id$
|
| 3 |
|
| 4 |
/**
|
| 5 |
* @file custom-pager.tpl.php
|
| 6 |
*
|
| 7 |
* Theme implementation to display a custom pager.
|
| 8 |
*
|
| 9 |
* Default variables:
|
| 10 |
* - $previous: A formatted <A> link to the previous item.
|
| 11 |
* - $next: A formatted <A> link to the next item.
|
| 12 |
* - $key: Formatted text describing the item's position in the list.
|
| 13 |
* - $position: A textual flag indicating how the pager is being displayed.
|
| 14 |
* Possible values include: 'top', 'bottom', and 'block'.
|
| 15 |
*
|
| 16 |
* Other variables:
|
| 17 |
* - $nav_array: An array containing the raw node IDs and position data of the
|
| 18 |
* current item in the list.
|
| 19 |
* - $node: The current node object.
|
| 20 |
* - $pager: The pager object itself.
|
| 21 |
*
|
| 22 |
* @see custom_pagers_preprocess_custom_pager()
|
| 23 |
*/
|
| 24 |
?>
|
| 25 |
<ul class="custom-pager custom-pager-<?php print $position; ?>">
|
| 26 |
<li class="previous"><?php print $previous; ?></li>
|
| 27 |
<li class="key"><?php print $key; ?></li>
|
| 28 |
<li class="next"><?php print $next; ?></li>
|
| 29 |
</ul>
|