root / drupal7 / modules / user / user-picture.tpl.php @ abba3f48
1 | 85ad3d82 | Assos Assos | <?php
|
---|---|---|---|
2 | |||
3 | /**
|
||
4 | * @file
|
||
5 | * Default theme implementation to present a picture configured for the
|
||
6 | * user's account.
|
||
7 | *
|
||
8 | * Available variables:
|
||
9 | * - $user_picture: Image set by the user or the site's default. Will be linked
|
||
10 | * depending on the viewer's permission to view the user's profile page.
|
||
11 | * - $account: Array of account information. Potentially unsafe. Be sure to
|
||
12 | * check_plain() before use.
|
||
13 | *
|
||
14 | * @see template_preprocess_user_picture()
|
||
15 | *
|
||
16 | * @ingroup themeable
|
||
17 | */
|
||
18 | ?>
|
||
19 | <?php if ($user_picture): ?> |
||
20 | <div class="user-picture"> |
||
21 | <?php print $user_picture; ?> |
||
22 | </div>
|
||
23 | <?php endif; ?> |