1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Issue #4332 - Chatbox menu styling. PM menu button size fix.

This commit is contained in:
Cameron 2021-01-02 08:51:34 -08:00
parent 204603f38a
commit 4d4750e9cc
3 changed files with 3 additions and 3 deletions

View File

@ -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();

View File

@ -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>&nbsp;

View File

@ -58,7 +58,7 @@ $sc_style['PM_BLOCKED_SENDERS_MANAGE']['pre'] = "<br />[ <a href='".e_PLUGIN_ABS
$sc_style['PM_BLOCKED_SENDERS_MANAGE']['post'] = '</a> ]';
*/
//$PM_MENU_WRAPPER['PM_SEND_PM_LINK']= "<br /><br />{---}";
$PM_MENU_WRAPPER['PM_SEND_PM_LINK']= "<a class='btn btn-mini btn-xs btn-default btn-secondary' href='{---}'>".LAN_PLUGIN_PM_NEW."</a>";
$PM_MENU_WRAPPER['PM_SEND_PM_LINK']= "<a class='btn btn-sm btn-mini btn-xs btn-default btn-secondary' href='{---}'>".LAN_PLUGIN_PM_NEW."</a>";
$PM_MENU_WRAPPER['PM_INBOX_FILLED']=$PM_MENU_WRAPPER['PM_OUTBOX_FILLED']= "[{---}%]";
$PM_MENU_WRAPPER['PM_NEWPM_ANIMATE']= "<a href='".e_PLUGIN_ABS."pm/pm.php?inbox'>{---}</a>";
$PM_MENU_WRAPPER['PM_BLOCKED_SENDERS_MANAGE']= "<br />[ <a href='".e_PLUGIN_ABS."pm/pm.php?blocked'>{---}</a> ]";