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).
  1. cis7 modules/user/user-picture.tpl.php
  2. cle7 modules/user/user-picture.tpl.php
  3. ecd7 modules/user/user-picture.tpl.php
  4. elmsmedia7 modules/user/user-picture.tpl.php
  5. harmony7 modules/user/user-picture.tpl.php
  6. icor7 modules/user/user-picture.tpl.php
  7. meedjum_blog7 modules/user/user-picture.tpl.php
  8. 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.

... See full list

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

... See full list

File

modules/user/user-picture.tpl.php
View source
  1. <?php
  2. /**
  3. * @file
  4. * Default theme implementation to present a picture configured for the
  5. * user's account.
  6. *
  7. * Available variables:
  8. * - $user_picture: Image set by the user or the site's default. Will be linked
  9. * depending on the viewer's permission to view the user's profile page.
  10. * - $account: Array of account information. Potentially unsafe. Be sure to
  11. * check_plain() before use.
  12. *
  13. * @see template_preprocess_user_picture()
  14. *
  15. * @ingroup themeable
  16. */
  17. ?>
  18. <?php if ($user_picture): ?>
  19. <div class="user-picture">
  20. <?php print $user_picture; ?>
  21. </div>
  22. <?php endif; ?>

Related topics

Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.