Full ELMS Learning Network documentation
user-picture.tpl.php
×
Error message
User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).- cis7 modules/user/user-picture.tpl.php
- cle7 modules/user/user-picture.tpl.php
- ecd7 modules/user/user-picture.tpl.php
- elmsmedia7 modules/user/user-picture.tpl.php
- harmony7 modules/user/user-picture.tpl.php
- icor7 modules/user/user-picture.tpl.php
- meedjum_blog7 modules/user/user-picture.tpl.php
- mooc7 modules/user/user-picture.tpl.php
Default theme implementation to present a 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 user's profile page.
- $account: Array of account information. Potentially unsafe. Be sure to check_plain() before use.
See also
template_preprocess_user_picture()
10 theme calls to user-picture.tpl.php
- aurora_preprocess_comment in sites/
all/ themes/ ulmus/ aurora/ template.php - Implements the hook_preprocess_comment().
- template_preprocess_comment in modules/
comment/ comment.module - Process variables for comment.tpl.php.
- template_preprocess_file_entity in sites/
all/ modules/ ulmus/ file_entity/ file_entity.module - Process variables for file_entity.tpl.php
- template_preprocess_node in modules/
node/ node.module - Processes variables for node.tpl.php
- template_preprocess_profile_block in modules/
profile/ profile.module - Process variables for profile-block.tpl.php.
16 string references to the theme hook from user-picture.tpl.php
Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.
- adaptivetheme_preprocess_node in sites/
all/ themes/ ulmus/ adaptivetheme/ at_core/ inc/ preprocess.inc - Preprocess variables for node.tpl.php
- aurora_preprocess_comment in sites/
all/ themes/ ulmus/ aurora/ template.php - Implements the hook_preprocess_comment().
- ctools_user_picture_content_type_render in sites/
all/ modules/ ulmus/ ctools/ plugins/ content_types/ user_context/ user_picture.inc - ds_ds_fields_info in sites/
all/ modules/ ulmus/ ds/ ds.ds_fields_info.inc - Implements hook_ds_fields_info().
- respond_preprocess_node in sites/
all/ themes/ ulmus/ respond/ template.php
File
modules/user/user-picture.tpl.phpView source
- <?php
-
- /**
- * @file
- * Default theme implementation to present a 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 user's profile page.
- * - $account: Array of account information. Potentially unsafe. Be sure to
- * check_plain() before use.
- *
- * @see template_preprocess_user_picture()
- *
- * @ingroup themeable
- */
- ?>
- <?php if ($user_picture): ?>
- <div class="user-picture">
- <?php print $user_picture; ?>
- </div>
- <?php endif; ?>
-