diff --git a/e107_plugins/rss_menu/rss_shortcodes.php b/e107_plugins/rss_menu/rss_shortcodes.php index 689ce13a1..2ae76b8e1 100644 --- a/e107_plugins/rss_menu/rss_shortcodes.php +++ b/e107_plugins/rss_menu/rss_shortcodes.php @@ -47,6 +47,19 @@ class rss_menu_shortcodes extends e_shortcode $url4 = e107::url('rss_menu','atom', $row); + if(deftrue('BOOTSTRAP') === 3) // v2.x + { + $text = " +
"; + + return $text; + } + + + $text = ""; // $text .= "+ | ".RSS_PLUGIN_LAN_6." | |
---|---|---|
{RSS_FEED} - {RSS_TEXT} + {RSS_TEXT} |
{RSS_TYPES}
diff --git a/e107_plugins/social/e_shortcode.php b/e107_plugins/social/e_shortcode.php
index 99a961b02..666435807 100644
--- a/e107_plugins/social/e_shortcode.php
+++ b/e107_plugins/social/e_shortcode.php
@@ -22,7 +22,7 @@ class social_shortcodes extends e_shortcode
{
$social = array(
- 'rss' => array('href'=> (e107::isInstalled('rss_menu') ? e_PLUGIN_ABS."rss_menu/rss.php?news.2" : ''), 'title'=>'Feed'),
+ 'rss' => array('href'=> (e107::isInstalled('rss_menu') ? e107::url('rss_menu', 'index', array('rss_url'=>'news')) : ''), 'title'=>'Feed'),
'facebook' => array('href'=> deftrue('XURL_FACEBOOK'), 'title'=>'Facebook'),
'twitter' => array('href'=> deftrue('XURL_TWITTER'), 'title'=>'Twitter'),
'google-plus' => array('href'=> deftrue('XURL_GOOGLE'), 'title'=>'Google Plus'),
@@ -73,7 +73,7 @@ class social_shortcodes extends e_shortcode
}
$sc = e107::getScBatch('signup');
- $text .= " Sign in with: "; + $text = "Sign in with: "; $text .= $sc->sc_signup_xup_login($parm); $text .= ""; |