| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @file 4 * Template to display date navigation links. 5 * 6 * $nav_title 7 * The formatted title for this view. In the case of block 8 * views, it will be a link to the full view, otherwise it will 9 * be the formatted name of the year, month, day, or week. 10 * 11 * $prev_url 12 * $next_url 13 * Urls for the previous and next calendar pages. The links are 14 * composed in the template to make it easier to change the text, 15 * add images, etc. 16 * 17 * $prev_options 18 * $next_options 19 * Query strings and other options for the links that need to 20 * be used in the l() function, including rel=nofollow. 21 * 22 * $block: 23 * Whether or not this view is in a block. 24 * 25 * $view 26 * The view object for this navigation. 27 * 28 * The in the prev and next divs is to be sure they are never 29 * completely empty, needed in some browsers to prop the header open 30 * so the title stays centered. 31 * 32 */ 33 ?> 34 <div class="date-nav clear-block"> 35 <div class="date-prev"> 36 <?php if (!empty($prev_url)) : ?> 37 <span class="next"> <?php print l('« ' . ($block ? '' : date_t('Prev', 'date_nav')), $prev_url, $prev_options); ?></span> 38 <?php endif; ?> 39 </div> 40 <div class="date-heading"> 41 <h3><?php print $nav_title ?></h3> 42 </div> 43 <div class="date-next"> 44 <?php if (!empty($next_url)) : ?> 45 <span class="next"> <?php print l(($block ? '' : date_t('Next', 'date_nav')) . ' »', $next_url, $next_options); ?></span> 46 <?php endif; ?> 47 </div> 48 </div>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |