Drupal example source code file (user-picture.tpl.php)
The user-picture.tpl.php Drupal example source code
<?php // $Id: user-picture.tpl.php,v 1.5 2009/08/06 05:05:59 webchick Exp $ /** * @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; ?>
Other Drupal examples (source code examples)
Here is a short list of links related to this Drupal user-picture.tpl.php source code file:
"Drupal" is a registered trademark of Dries Buytaert.
1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.
Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.