view 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
line wrap: on
line source
<?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()
 */
?>

<div class="item-list">
    <ul class="pager custom-pager-<?php print $position; ?>">
      <li class="previous"><?php print $previous; ?></li>
      <li class="next"><?php print $next; ?></li>        
    </ul>
</div>