mirror of
https://github.com/e107inc/e107.git
synced 2025-02-11 18:14:10 +01:00
Merge pull request #3582 from Jimmi08/patch-4
possibility to change avatar class in signup template
This commit is contained in:
commit
2e2e9fe23d
@ -522,14 +522,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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user