mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
possibility to change avatar class in signup template
- related with avatarpicker() changes
This commit is contained in:
@@ -519,14 +519,15 @@ class signup_shortcodes extends e_shortcode
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* {SIGNUP_IMAGES} */
|
||||||
function sc_signup_images() // AVATARS
|
/* {SIGNUP_IMAGES: class=img-circle} */
|
||||||
|
function sc_signup_images($parm = '') // AVATARS
|
||||||
{
|
{
|
||||||
$pref = e107::getPref();
|
$pref = e107::getPref();
|
||||||
|
|
||||||
if($pref['signup_option_image'])
|
if($pref['signup_option_image'])
|
||||||
{
|
{
|
||||||
return e107::getForm()->avatarpicker('avatar');
|
return e107::getForm()->avatarpicker('avatar', '', $parm);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user