1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

BS5 fixes.

This commit is contained in:
Cameron 2020-12-30 07:57:43 -08:00
parent 072c2a129a
commit 3ad4964b2d
3 changed files with 9 additions and 5 deletions

View File

@ -4521,8 +4521,12 @@ class e_parser
}
$title = (ADMIN) ? $image : $tp->toAttribute($userData['user_name']);
$shape = (!empty($options['shape'])) ? 'img-' .$options['shape'] : 'img-rounded rounded';
$shape = (!empty($options['shape'])) ? 'img-' .$options['shape'] : 'img-rounded rounded ';
if($shape === 'img-circle')
{
$shape .= " rounded-circle";
}
if(!empty($options['type']) && $options['type'] === 'url')
{

View File

@ -65,9 +65,9 @@ class pm_shortcodes extends e_shortcode
<ul class="dropdown-menu">
<li>
<a href="'.$urlInbox.'">'.LAN_PLUGIN_PM_INBOX.'</a>
<a href="'.$urlOutbox.'">'.LAN_PLUGIN_PM_OUTBOX.'</a>
<a href="'.$urlCompose.'">'.LAN_PLUGIN_PM_NEW.'</a>
<a class="nav-link" href="'.$urlInbox.'">'.LAN_PLUGIN_PM_INBOX.'</a>
<a class="nav-link" href="'.$urlOutbox.'">'.LAN_PLUGIN_PM_OUTBOX.'</a>
<a class="nav-link" href="'.$urlCompose.'">'.LAN_PLUGIN_PM_NEW.'</a>
</li>
</ul>';

View File

@ -402,7 +402,7 @@ class social_shortcodes extends e_shortcode
$text = '<div class="social-share btn-group hidden-print '.$dir.'">
<a class="'.$tooltip.' btn btn-dropdown btn-default btn-secondary btn-'.$size.' dropdown-toggle" data-toggle="dropdown" href="#" title="'.LAN_SOCIAL_204.'">'.$label.'</a>
<a class="'.$tooltip.' btn btn-dropdown btn-default btn-secondary btn-'.$size.' dropdown-toggle" data-toggle="dropdown" data-bs-toggle="dropdown" href="#" title="'.LAN_SOCIAL_204.'">'.$label.'</a>
<ul class="dropdown-menu" role="menu" >