/[drupal]/drupal/modules/user/user-picture.tpl.php
ViewVC logotype

Contents of /drupal/modules/user/user-picture.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download) (as text)
Thu Aug 6 05:05:59 2009 UTC (3 months, 2 weeks ago) by webchick
Branch: MAIN
CVS Tags: DRUPAL-7-0-UNSTABLE-10, DRUPAL-7-0-UNSTABLE-9, HEAD
Changes since 1.4: +5 -5 lines
File MIME type: text/x-php
#382870 by geerlingguy, jmburnz, EclipseGc, JohnAlbin, sun, et al: Update and Polish default node.tpl.php output.
1 <?php
2 // $Id: user-picture.tpl.php,v 1.4 2009/04/24 09:03:21 dries Exp $
3
4 /**
5 * @file
6 * Default theme implementation to present an picture configured for the
7 * user's account.
8 *
9 * Available variables:
10 * - $user_picture: Image set by the user or the site's default. Will be linked
11 * depending on the viewer's permission to view the users profile page.
12 * - $account: Array of account information. Potentially unsafe. Be sure to
13 * check_plain() before use.
14 *
15 * @see template_preprocess_user_picture()
16 */
17 ?>
18 <?php if ($user_picture): ?>
19 <div class="user-picture">
20 <?php print $user_picture; ?>
21 </div>
22 <?php endif; ?>

  ViewVC Help
Powered by ViewVC 1.1.2