| 1 |
<?php // $Id: user-picture.tpl.php,v 1.1.2.1 2009/10/07 20:53:22 jmburnz Exp $
|
| 2 |
|
| 3 |
/**
|
| 4 |
* @file user-picture.tpl.php
|
| 5 |
* Default theme implementation to present an picture configured for the
|
| 6 |
* user's account.
|
| 7 |
*
|
| 8 |
* Available variables:
|
| 9 |
* - $picture: Image set by the user or the site's default. Will be linked
|
| 10 |
* depending on the viewer's permission to view the users 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 |
?>
|
| 17 |
<?php if (!empty($picture)): ?>
|
| 18 |
<div class="picture">
|
| 19 |
<?php print $picture; ?>
|
| 20 |
</div>
|
| 21 |
<?php endif; ?> <!-- /user-picture -->
|