user-picture.tpl.php
user-picture.tpl.php Default theme implementation to present an picture configured for the user's account.
Available variables:
- $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 also
template_preprocess_user_picture()
6 theme calls to user-picture.tpl.php
- template_preprocess_comment in drupal-6.x/
modules/ comment/ comment.module - Process variables for comment.tpl.php.
- template_preprocess_node in drupal-6.x/
includes/ theme.inc - Process variables for node.tpl.php
- template_preprocess_profile_block in drupal-6.x/
modules/ profile/ profile.module - Process variables for profile-block.tpl.php.
- template_preprocess_profile_listing in drupal-6.x/
modules/ profile/ profile.module - Process variables for profile-listing.tpl.php.
- user_edit_form in drupal-6.x/
modules/ user/ user.module
File
drupal-6.x/modules/user/user-picture.tpl.phpView source
- <?php
-
- /**
- * @file user-picture.tpl.php
- * Default theme implementation to present an picture configured for the
- * user's account.
- *
- * Available variables:
- * - $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()
- */
- ?>
- <div class="picture">
- <?php print $picture; ?>
- </div>
-