Chris@0: {# Chris@0: /** Chris@0: * @file Chris@0: * Default theme implementation to display a pager. Chris@0: * Chris@0: * Available variables: Chris@18: * - heading_id: Pagination heading ID. Chris@0: * - items: List of pager items. Chris@0: * The list is keyed by the following elements: Chris@0: * - first: Item for the first page; not present on the first page of results. Chris@0: * - previous: Item for the previous page; not present on the first page Chris@0: * of results. Chris@0: * - next: Item for the next page; not present on the last page of results. Chris@0: * - last: Item for the last page; not present on the last page of results. Chris@0: * - pages: List of pages, keyed by page number. Chris@0: * Sub-sub elements: Chris@0: * items.first, items.previous, items.next, items.last, and each item inside Chris@0: * items.pages contain the following elements: Chris@0: * - href: URL with appropriate query parameters for the item. Chris@0: * - attributes: A keyed list of HTML attributes for the item. Chris@0: * - text: The visible text used for the item link, such as "‹ Previous" Chris@0: * or "Next ›". Chris@0: * - current: The page number of the current page. Chris@0: * - ellipses: If there are more pages than the quantity allows, then an Chris@0: * ellipsis before or after the listed pages may be present. Chris@0: * - previous: Present if the currently visible list of pages does not start Chris@0: * at the first page. Chris@0: * - next: Present if the visible list of pages ends before the last page. Chris@0: * Chris@0: * @see template_preprocess_pager() Chris@0: * Chris@0: * @ingroup themeable Chris@0: */ Chris@0: #} Chris@0: {% if items %} Chris@18: Chris@0: {% endif %}