You are here

function theme_date_views_browser_navigation in Date 5.2

Same name and namespace in other branches
  1. 5 date_views.inc \theme_date_views_browser_navigation()
  2. 6 date/date.theme \theme_date_views_browser_navigation()

Theme for page navigation

1 theme call to theme_date_views_browser_navigation()
date_views_browser_navigation in date/date_views.inc
Navigation links for the full view

File

date/date.theme, line 192
Theme functions.

Code

function theme_date_views_browser_navigation($heading, $period, $prev_url, $next_url, $view) {
  $output = '<div class="date-nav clear-block">';
  $output .= '<div class="date-prev">';
  $output .= l(t('‹ prev !period  ', array(
    '!period' => $period,
  )), $prev_url, array(
    'rel' => 'nofollow',
  ));
  $output .= '</div><div class="date-heading"><h3>' . $heading . '</h3></div>';
  $output .= '<div class="date-next">';
  $output .= l(t('  next !period  ›', array(
    '!period' => $period,
  )), $next_url, array(
    'rel' => 'nofollow',
  ));
  $output .= '</div></div>';
  return $output;
}