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 = " +
+ ".$tp->toGlyph('fa-rss')." RSS + ".$tp->toGlyph('fa-rss')." Atom +
"; + + return $text; + } + + + $text = ""; // $text .= "RSS 0.92"; $text .= "RSS 2.0"; diff --git a/e107_plugins/rss_menu/rss_template.php b/e107_plugins/rss_menu/rss_template.php index 76d30e1a0..a7142008e 100644 --- a/e107_plugins/rss_menu/rss_template.php +++ b/e107_plugins/rss_menu/rss_template.php @@ -5,9 +5,9 @@ if(!defined("USER_WIDTH")){ define("USER_WIDTH","width:100%"); } // Rss listing if(!isset($RSS_LIST_HEADER)) { - $RSS_LIST_HEADER = " + $RSS_LIST_HEADER = "
- + "; } @@ -16,7 +16,7 @@ if(!isset($RSS_LIST_TABLE)) $RSS_LIST_TABLE = "
".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 .= "

";