mirror of
https://github.com/e107inc/e107.git
synced 2025-01-29 10:38:08 +01:00
Merge pull request #4898 from Jimmi08/patch-2
Closes #4897 class parameter for CB_AVATAR shortcode
This commit is contained in:
commit
810599df5c
@ -86,7 +86,7 @@ class chatbox_menu_shortcodes extends e_shortcode
|
||||
|
||||
$tp = e107::getParser();
|
||||
$size = !empty($parm['size']) ? $parm['size'] : 40;
|
||||
$options = array('h' => $size, 'w' => $size, 'crop' => 'C', 'shape' => varset($parm['shape']));
|
||||
$options = array('h' => $size, 'w' => $size, 'crop' => 'C', 'shape' => varset($parm['shape']), 'class'=> varset($parm['class']));
|
||||
|
||||
if(!isset($this->var['user_image']))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user