From ab86fe4810a2ec33386ec702e16f257feef3f45e Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Mon, 12 Oct 2015 21:29:08 -0400 Subject: 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 --- CHANGELOG.txt | 2 ++ modules/user/user-picture.tpl.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index c2e0bf389..8602daa6f 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,6 +1,8 @@ Drupal 7.40, xxxx-xx-xx (development version) ----------------------- +- Allowed the user-picture.tpl.php theme template to have HTML classes besides + the default "user-picture" class printed in it (markup change). - Fixed the URL text filter to convert e-mail addresses with plus signs into mailto: links. - Added alternate text to file icons displayed by the File module, to improve 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 @@ */ ?> -
+
-- cgit v1.2.3