| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Summary view] [Print] [Text view]
1 <?php 2 // $Id: date-navigation.tpl.php,v 1.1.4.10 2009/04/30 10:44:43 karens Exp $ 3 /** 4 * @file 5 * Template to display date navigation links. 6 * 7 * $nav_title 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. 11 * 12 * $prev_url 13 * $next_url 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, 16 * add images, etc. 17 * 18 * $prev_options 19 * $next_options 20 * Query strings and other options for the links that need to 21 * be used in the l() function, including rel=nofollow. 22 * 23 * $block: 24 * Whether or not this view is in a block. 25 * 26 * $view 27 * The view object for this navigation. 28 * 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. 32 * 33 */ 34 ?> 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> 39 <?php endif; ?> 40 </div> 41 <div class="date-heading"> 42 <h3><?php print $nav_title ?></h3> 43 </div> 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> 47 <?php endif; ?> 48 </div> 49 </div>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |