Now all modules are in core modules folder
This commit is contained in:
parent
5ba1cdfa0b
commit
05b6a91b0c
1907 changed files with 0 additions and 0 deletions
48
modules/date/theme/date-navigation.tpl.php
Normal file
48
modules/date/theme/date-navigation.tpl.php
Normal file
|
@ -0,0 +1,48 @@
|
|||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Template to display date navigation links.
|
||||
*
|
||||
* $nav_title
|
||||
* The formatted title for this view. In the case of block
|
||||
* views, it will be a link to the full view, otherwise it will
|
||||
* be the formatted name of the year, month, day, or week.
|
||||
*
|
||||
* $prev_url
|
||||
* $next_url
|
||||
* Urls for the previous and next calendar pages. The links are
|
||||
* composed in the template to make it easier to change the text,
|
||||
* add images, etc.
|
||||
*
|
||||
* $prev_options
|
||||
* $next_options
|
||||
* Query strings and other options for the links that need to
|
||||
* be used in the l() function, including rel=nofollow.
|
||||
*
|
||||
* $block:
|
||||
* Whether or not this view is in a block.
|
||||
*
|
||||
* $view
|
||||
* The view object for this navigation.
|
||||
*
|
||||
* The in the prev and next divs is to be sure they are never
|
||||
* completely empty, needed in some browsers to prop the header open
|
||||
* so the title stays centered.
|
||||
*
|
||||
*/
|
||||
?>
|
||||
<div class="date-nav clear-block">
|
||||
<div class="date-prev">
|
||||
<?php if (!empty($prev_url)) : ?>
|
||||
<span class="next views-summary"> <?php print l('« ' . ($block ? '' : date_t('Prev', 'date_nav')), $prev_url, $prev_options); ?></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="date-heading">
|
||||
<h3><?php print $nav_title ?></h3>
|
||||
</div>
|
||||
<div class="date-next">
|
||||
<?php if (!empty($next_url)) : ?>
|
||||
<span class="next views-summary"> <?php print l(($block ? '' : date_t('Next', 'date_nav')) . ' »', $next_url, $next_options); ?></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
Reference in a new issue