cms/drupal/modules/user/user-picture.tpl.php
author ymh <ymh.work@gmail.com>
Fri, 17 Nov 2017 11:41:34 +0100
changeset 561 bb2cb0fad904
parent 541 e756a8c72c3d
permissions -rwxr-xr-x
Small correction on install script

<?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="<?php print $classes; ?>">
    <?php print $user_picture; ?>
  </div>
<?php endif; ?>