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