1
0
mirror of https://github.com/e107inc/e107.git synced 2025-05-03 02:38:06 +02:00

Updated {USER_AVATAR} usage to crop avatars to square aspect ratio.

This commit is contained in:
Cameron 2019-05-16 10:55:47 -07:00
parent a597006831
commit 498f9df506

@ -203,7 +203,7 @@ class theme_shortcodes extends e_shortcode
}
$text .= '
<li class="dropdown dropdown-avatar"><a href="#" class="dropdown-toggle" data-toggle="dropdown">{SETIMAGE: w=30} {USER_AVATAR: shape=circle} '. $userNameLabel.' <b class="caret"></b></a>
<li class="dropdown dropdown-avatar"><a href="#" class="dropdown-toggle" data-toggle="dropdown">{USER_AVATAR: w=30&h=30&crop=1&shape=circle} '. $userNameLabel.' <b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<a href="{LM_USERSETTINGS_HREF}"><span class="glyphicon glyphicon-cog"></span> '.LAN_SETTINGS.'</a>