mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
BS5 fixes.
This commit is contained in:
@@ -4521,8 +4521,12 @@ class e_parser
|
|||||||
}
|
}
|
||||||
|
|
||||||
$title = (ADMIN) ? $image : $tp->toAttribute($userData['user_name']);
|
$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')
|
if(!empty($options['type']) && $options['type'] === 'url')
|
||||||
{
|
{
|
||||||
|
@@ -65,9 +65,9 @@ class pm_shortcodes extends e_shortcode
|
|||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
<li>
|
<li>
|
||||||
|
|
||||||
<a href="'.$urlInbox.'">'.LAN_PLUGIN_PM_INBOX.'</a>
|
<a class="nav-link" href="'.$urlInbox.'">'.LAN_PLUGIN_PM_INBOX.'</a>
|
||||||
<a href="'.$urlOutbox.'">'.LAN_PLUGIN_PM_OUTBOX.'</a>
|
<a class="nav-link" href="'.$urlOutbox.'">'.LAN_PLUGIN_PM_OUTBOX.'</a>
|
||||||
<a href="'.$urlCompose.'">'.LAN_PLUGIN_PM_NEW.'</a>
|
<a class="nav-link" href="'.$urlCompose.'">'.LAN_PLUGIN_PM_NEW.'</a>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
</ul>';
|
</ul>';
|
||||||
|
@@ -402,7 +402,7 @@ class social_shortcodes extends e_shortcode
|
|||||||
|
|
||||||
|
|
||||||
$text = '<div class="social-share btn-group hidden-print '.$dir.'">
|
$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" >
|
<ul class="dropdown-menu" role="menu" >
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user