From 1c74de5fb26831d6c03205a8b1832fae5936227b Mon Sep 17 00:00:00 2001 From: Jimako Date: Wed, 19 Dec 2018 10:51:10 +0100 Subject: [PATCH] possibility to change avatar class in signup template - related with avatarpicker() changes --- e107_core/shortcodes/batch/signup_shortcodes.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/e107_core/shortcodes/batch/signup_shortcodes.php b/e107_core/shortcodes/batch/signup_shortcodes.php index 3ffadb000..8cdf7a90d 100755 --- a/e107_core/shortcodes/batch/signup_shortcodes.php +++ b/e107_core/shortcodes/batch/signup_shortcodes.php @@ -519,14 +519,15 @@ class signup_shortcodes extends e_shortcode } } - - function sc_signup_images() // AVATARS + /* {SIGNUP_IMAGES} */ + /* {SIGNUP_IMAGES: class=img-circle} */ + function sc_signup_images($parm = '') // AVATARS { $pref = e107::getPref(); if($pref['signup_option_image']) { - return e107::getForm()->avatarpicker('avatar'); + return e107::getForm()->avatarpicker('avatar', '', $parm); } }