Projet

Général

Profil

Révision 599a39cd

Ajouté par Assos Assos il y a environ 3 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/date/date_views/theme/date-views-pager.tpl.php
1 1
<?php
2

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

Formats disponibles : Unified diff