1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 19:44:09 +02:00

Fixes #2505 - Social XURL icons template limitation fixed.

This commit is contained in:
Cameron
2017-03-18 12:23:44 -07:00
parent d2db9951a9
commit ab79296f4c
3 changed files with 20 additions and 18 deletions

View File

@@ -61,7 +61,9 @@ class social_shortcodes extends e_shortcode
function sc_xurl_icons($parm='')
{
$tp = e107::getParser();
$template = e107::getTemplate('social','social','xurl_icons');
$tmpl = !empty($parm['template']) ? $parm['template'] : 'default';
$template = e107::getTemplate('social','social_xurl',$tmpl);
$social = array(
'rss' => array('href'=> (e107::isInstalled('rss_menu') ? e107::url('rss_menu', 'index', array('rss_url'=>'news')) : ''), 'title'=>'RSS/Atom Feed'),