/[drupal]/contributions/modules/custom_pagers/custom-pager.tpl.php
ViewVC logotype

Contents of /contributions/modules/custom_pagers/custom-pager.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Tue Jun 17 20:47:05 2008 UTC (17 months, 1 week ago) by eaton
Branch: MAIN
CVS Tags: DRUPAL-6--1-10-BETA1, HEAD
Branch point for: DRUPAL-6--1, DRUPAL-6--2
File MIME type: text/x-php
Initial port to Drupal 6. Views handling code will need to be made more efficient, but it works for now.
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>

  ViewVC Help
Powered by ViewVC 1.1.2