1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-31 10:01:56 +02:00

Fix for media-browser carousel issue. Fix for bbcode Youtube insert. Added [video] bbcode.

This commit is contained in:
Cameron
2014-01-23 15:56:53 -08:00
parent 7bb19a0a40
commit d2d58451cf
11 changed files with 185 additions and 80 deletions

View File

@@ -72,10 +72,10 @@ class social_shortcodes extends e_shortcode
$tp = e107::getParser();
$url = varset($parm['url'], e_REQUEST_URL);
$title = varset($parm['title'], deftrue('e_PAGETITLE'));
$title = varset($parm['title'], deftrue('e_PAGETITLE'). " | ". SITENAME ) ;
$description = varset($parm['title'], e107::getUrl()->response()->getMetaDescription());
$media = "";
$label = varset($parm['label'], defset('LAN_SHARE',"Share"));
$label = varset($parm['label'], $tp->toGlyph('icon-share')." ".defset('LAN_SHARE',"Share"));
$size = varset($parm['size'],'md');
@@ -127,7 +127,7 @@ class social_shortcodes extends e_shortcode
$dir = ($parm['dropdown'] == 'right') ? 'pull-right' : '';
$text = '<div class="btn-group '.$dir.'">
<a class="e-tip btn btn-dropdown btn-default btn-'.$size.'" data-toggle="dropdown" href="#" title="Share">'.$label.' <b class="caret"></b></a>
<a class="e-tip btn btn-dropdown btn-default btn-'.$size.' dropdown-toggle" data-toggle="dropdown" href="#" title="Share">'.$label.' <b class="caret"></b></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel" style="min-width:355px">