summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.26/modules/user/user-picture.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.26/modules/user/user-picture.tpl.php')
-rw-r--r--kolab.org/www/drupal-7.26/modules/user/user-picture.tpl.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.26/modules/user/user-picture.tpl.php b/kolab.org/www/drupal-7.26/modules/user/user-picture.tpl.php
new file mode 100644
index 0000000..ee82187
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/modules/user/user-picture.tpl.php
@@ -0,0 +1,23 @@
+<?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; ?>