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

RSS XURL is now SEF also. Minor enhancements to the RSS page when using bootstrap.

This commit is contained in:
Cameron
2015-04-04 12:54:34 -07:00
parent 6661eb28de
commit 532af39ac8
3 changed files with 18 additions and 5 deletions

View File

@@ -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 .= "<p>Sign in with:</p>";
$text = "<p>Sign in with:</p>";
$text .= $sc->sc_signup_xup_login($parm);
$text .= "
<div class='clearfix'></div><hr class='clearfix' />";