Projet

Général

Profil

Révision 6c9579f7

Ajouté par Assos Assos il y a environ 10 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/author_pane/author-pane.tpl.php
9 9
 *
10 10
 * Available variables (core modules):
11 11
 * - $account: The entire user object for the author.
12
 * - $picture: Themed user picture for the author. 
12
 * - $picture: Themed user picture for the author.
13 13
 *   See author-pane-user-picture.tpl.php.
14 14
 * - $account_name: Themed user name for the author.
15 15
 * - $account_id: User ID number for the author.
......
24 24
 * - $contact: Linked translated text "Contact user".
25 25
 *
26 26
 * Available variables (contributed modules):
27
 * - $facebook_status: Status, including username, from the Facebook-style 
27
 * - $facebook_status: Status, including username, from the Facebook-style
28 28
 *   Statuses module.
29 29
 * - $facebook_status_status: Status from the Facebook-style Statuses module.
30 30
 *
......
34 34
 * - $user_badges: Badges from User Badges module.
35 35
 *
36 36
 * - $userpoints_points: Author's total number of points from all categories.
37
 * - $userpoints_categories: Array holding each category and the points for 
37
 * - $userpoints_categories: Array holding each category and the points for
38 38
 *   that category. Both provided by the User Points module.
39 39
 *
40 40
 * - $user_stats_posts: Number of posts from the User Stats module.
......
50 50
 * - $fasttoggle_block_author: Link to toggle the author blocked/unblocked.
51 51
 *
52 52
 * Not working as of this writing but kept for future compatability:
53
 * - $user_relationships: Linked text "Add to <relationship>" or 
53
 * - $user_relationships: Linked text "Add to <relationship>" or
54 54
 *   "Remove from <relationship>".
55 55
 * - $flag_friend: Linked text. Actual text depends on module settings.
56 56
 *
......
89 89

  
90 90
      <?php /* Last active */ ?>
91 91
      <?php if (!empty($last_active)): ?>
92
        <div class="author-pane-line">
92
        <div class="author-pane-line author-last-seen">
93 93
           <span class="author-pane-label"><?php print t('Last seen'); ?>:</span> <?php print t('!time ago', array('!time' => $last_active)); ?>
94 94
        </div>
95 95
      <?php endif; ?>
......
125 125
      <?php /* Points */ ?>
126 126
      <?php if (isset($userpoints_points)): ?>
127 127
        <div class="author-pane-line author-points">
128
          <span class="author-pane-label"><?php print t('!Points', userpoints_translation()); ?></span>: <?php print $userpoints_points; ?>
128
          <span class="author-pane-label"><?php print t('!Points', userpoints_translation()); ?>:</span> <?php print $userpoints_points; ?>
129 129
        </div>
130 130
      <?php endif; ?>
131 131
    </div>

Formats disponibles : Unified diff