2 // $Id: date-navigation.tpl.php,v 1.1.4.9 2009/02/27 14:17:27 karens Exp $
5 * Template to display date navigation links.
8 * The formatted title for this view. In the case of block
9 * views, it will be a link to the full view, otherwise it will
10 * be the formatted name of the year, month, day, or week.
14 * Urls for the previous and next calendar pages. The links are
15 * composed in the template to make it easier to change the text,
20 * Query strings and other options for the links that need to
21 * be used in the l() function, including rel=nofollow.
24 * Whether or not this view is in a block.
27 * The view object for this navigation.
29 * The in the prev and next divs is to be sure they are never
30 * completely empty, needed in some browsers to prop the header open
31 * so the title stays centered.
35 <div
class="date-nav clear-block">
36 <div
class="date-prev">
37 <?php
if (!empty($prev_url)) : ?
>
38 <span
class="next"> <?php
print l('« ' . ($block ?
'' : date_t('Prev', 'date_nav')), $prev_url, $prev_options); ?
></span
>
41 <div
class="date-heading">
42 <h3
><?php
print $nav_title ?
></h3
>
44 <div
class="date-next"> 
;
45 <?php
if (!empty($next_url)) : ?
>
46 <span
class="next"> <?php
print l(($block ?
'' : date_t('Next', 'date_nav')) . '»', $next_url, $next_options); ?
></span
>