mirror of
https://github.com/e107inc/e107.git
synced 2025-04-13 09:01:59 +02:00
Fixes #2505 - Social XURL icons template limitation fixed.
This commit is contained in:
parent
d2db9951a9
commit
ab79296f4c
@ -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'),
|
||||
|
@ -1,17 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* e107 website system
|
||||
*
|
||||
* Copyright (C) 2008-2017 e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* {XURL_ICONS} template
|
||||
*/
|
||||
$SOCIAL_TEMPLATE['xurl_icons']['start'] = '<p class="xurl-social-icons hidden-print">';
|
||||
$SOCIAL_TEMPLATE['xurl_icons']['item'] = '<a rel="external" href="{XURL_ICONS_HREF}" data-tooltip-position="top" class="e-tip social-icon social-{XURL_ICONS_ID}" title="{XURL_ICONS_TITLE}"><span class="fa fa-fw fa-{XURL_ICONS_ID} {XURL_ICONS_CLASS}"></span></a>';
|
||||
$SOCIAL_TEMPLATE['xurl_icons']['end'] = '</p>';
|
17
e107_plugins/social/templates/social_xurl_template.php
Normal file
17
e107_plugins/social/templates/social_xurl_template.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* e107 website system
|
||||
*
|
||||
* Copyright (C) 2008-2017 e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* {XURL_ICONS} template
|
||||
*/
|
||||
$SOCIAL_XURL_TEMPLATE['default']['start'] = '<p class="xurl-social-icons hidden-print">';
|
||||
$SOCIAL_XURL_TEMPLATE['default']['item'] = '<a rel="external" href="{XURL_ICONS_HREF}" data-tooltip-position="top" class="e-tip social-icon social-{XURL_ICONS_ID}" title="{XURL_ICONS_TITLE}"><span class="fa fa-fw fa-{XURL_ICONS_ID} {XURL_ICONS_CLASS}"></span></a>';
|
||||
$SOCIAL_XURL_TEMPLATE['default']['end'] = '</p>';
|
Loading…
x
Reference in New Issue
Block a user