You are here

function theme_date_views_browser_navigation in Date 5

Same name and namespace in other branches
  1. 5.2 date/date.theme \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_views.inc
Navigation links for the full view

File

./date_views.inc, line 830

Code

function theme_date_views_browser_navigation($label, $period, $prev, $next, $view) {
  drupal_add_css(drupal_get_path('module', 'date_api') . '/date.css');
  $output = '<div class="book-navigation date-browser-navigation">';
  $output .= '<div class="page-links">';
  $output .= l(t('‹ prev !period  ', array(
    '!period' => $period,
  )), $prev, array(
    'class' => 'page-previous',
  ));
  $output .= '<h3 class="date-browser-label"><span class="page-up">' . $label . '</span></h3>';
  $output .= l(t('  next !period  ›', array(
    '!period' => $period,
  )), $next, array(
    'class' => 'page-next',
  ));
  $output .= '</div></div>';
  return $output;
  return $output;
}