mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Issue #4332 - Chatbox menu styling. PM menu button size fix.
This commit is contained in:
@@ -77,7 +77,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');
|
||||
$options = array('h' => $size, 'w' => $size, 'crop' => 'C', 'shape'=>varset($parm['shape']));
|
||||
|
||||
if ( ! isset($this->var['user_image']) ) {
|
||||
$this->init();
|
||||
|
@@ -21,7 +21,7 @@ $CHATBOX_MENU_TEMPLATE['menu']['start'] =
|
||||
$CHATBOX_MENU_TEMPLATE['menu']['item'] = '
|
||||
<li class="media">
|
||||
<div class="media-left">
|
||||
<span class="media-object">{CB_AVATAR}</span>
|
||||
<span class="media-object mr-3">{CB_AVATAR: shape=circle&size=48}</span>
|
||||
</div>
|
||||
<div class="media-body">
|
||||
<b>{CB_USERNAME}</b>
|
||||
|
Reference in New Issue
Block a user