summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2015-10-12 21:29:08 -0400
committerDavid Rothstein <drothstein@gmail.com>2015-10-12 21:29:08 -0400
commitab86fe4810a2ec33386ec702e16f257feef3f45e (patch)
treece45c6de389809aa4805646612be4e68a46a4583 /modules/user
parent792aca6823966f0d464ed05388dbf813d103285d (diff)
downloadbrdo-ab86fe4810a2ec33386ec702e16f257feef3f45e.tar.gz
brdo-ab86fe4810a2ec33386ec702e16f257feef3f45e.tar.bz2
Issue #2313085 by tkuldeep17: Can't add class to user picture by template_preprocess_user_picture as class attribute has hard coded in user picture tpl file
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/user-picture.tpl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user-picture.tpl.php b/modules/user/user-picture.tpl.php
index ee8218786..11d92cc51 100644
--- a/modules/user/user-picture.tpl.php
+++ b/modules/user/user-picture.tpl.php
@@ -17,7 +17,7 @@
*/
?>
<?php if ($user_picture): ?>
- <div class="user-picture">
+ <div class="<?php print $classes; ?>">
<?php print $user_picture; ?>
</div>
<?php endif; ?>