root / drupal7 / modules / user / user-picture.tpl.php @ 6d8023f2
1 |
<?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="<?php print $classes; ?>"> |
21 |
<?php print $user_picture; ?> |
22 |
</div>
|
23 |
<?php endif; ?> |