root / drupal7 / sites / all / modules / date / date_views / theme / date-views-pager.tpl.php @ 599a39cd
1 | 85ad3d82 | Assos Assos | <?php
|
---|---|---|---|
2 | 599a39cd | Assos Assos | |
3 | 85ad3d82 | Assos Assos | /**
|
4 | * @file
|
||
5 | * Template file for the example display.
|
||
6 | *
|
||
7 | * Variables available:
|
||
8 | 599a39cd | Assos Assos | *
|
9 | 85ad3d82 | Assos Assos | * $plugin: The pager plugin object. This contains the view.
|
10 | *
|
||
11 | * $plugin->view
|
||
12 | * The view object for this navigation.
|
||
13 | *
|
||
14 | * $nav_title
|
||
15 | 599a39cd | Assos Assos | * The formatted title for this view. In the case of block views, it will be a
|
16 | * link to the full view, otherwise it will be the formatted name of the year,
|
||
17 | * month, day, or week.
|
||
18 | 85ad3d82 | Assos Assos | *
|
19 | * $prev_url
|
||
20 | * $next_url
|
||
21 | 599a39cd | Assos Assos | * Urls for the previous and next calendar pages. The links are composed in
|
22 | * the template to make it easier to change the text, add images, etc.
|
||
23 | 85ad3d82 | Assos Assos | *
|
24 | * $prev_options
|
||
25 | * $next_options
|
||
26 | 599a39cd | Assos Assos | * Query strings and other options for the links that need to be used in the
|
27 | * l() function, including rel=nofollow.
|
||
28 | 85ad3d82 | Assos Assos | */
|
29 | ?>
|
||
30 | 599a39cd | Assos Assos | <?php if (!empty($pager_prefix)): ?> |
31 | b720ea3e | Assos Assos | <?php print $pager_prefix; ?> |
32 | <?php endif; ?> |
||
33 | <div class="date-nav-wrapper clearfix<?php if (!empty($extra_classes)): print $extra_classes; endif; ?>"> |
||
34 | 85ad3d82 | Assos Assos | <div class="date-nav item-list"> |
35 | <div class="date-heading"> |
||
36 | <h3><?php print $nav_title ?></h3> |
||
37 | </div>
|
||
38 | <ul class="pager"> |
||
39 | 599a39cd | Assos Assos | <?php if (!empty($prev_url)): ?> |
40 | 85ad3d82 | Assos Assos | <li class="date-prev"> |
41 | b720ea3e | Assos Assos | <?php
|
42 | $text = '«'; |
||
43 | $text .= $mini ? '' : ' ' . t('Prev', array(), array('context' => 'date_nav')); |
||
44 | print l(t($text), $prev_url, $prev_options); |
||
45 | ?>
|
||
46 | db9ffd17 | Assos Assos | </li>
|
47 | 85ad3d82 | Assos Assos | <?php endif; ?> |
48 | 599a39cd | Assos Assos | <?php if (!empty($next_url)): ?> |
49 | db9ffd17 | Assos Assos | <li class="date-next"> |
50 | 85ad3d82 | Assos Assos | <?php print l(($mini ? '' : t('Next', array(), array('context' => 'date_nav')) . ' ') . '»', $next_url, $next_options); ?> |
51 | </li>
|
||
52 | <?php endif; ?> |
||
53 | </ul>
|
||
54 | </div>
|
||
55 | b720ea3e | Assos Assos | </div> |