23 lines
578 B
PHP
23 lines
578 B
PHP
<?php
|
|
// $Id$
|
|
|
|
/**
|
|
* @file
|
|
* Default theme implementation to present an picture configured for the
|
|
* user's account.
|
|
*
|
|
* Available variables:
|
|
* - $user_picture: Image set by the user or the site's default. Will be linked
|
|
* depending on the viewer's permission to view the users profile page.
|
|
* - $account: Array of account information. Potentially unsafe. Be sure to
|
|
* check_plain() before use.
|
|
*
|
|
* @see template_preprocess_user_picture()
|
|
*/
|
|
?>
|
|
<?php if ($user_picture): ?>
|
|
<div class="user-picture">
|
|
<?php print $user_picture; ?>
|
|
</div>
|
|
<?php endif; ?>
|