mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Fixes #3764 XURL icons now function regardless of FontAwesome version or presence.
This commit is contained in:
parent
5109715002
commit
345c0ec959
1
e107_plugins/social/css/fontello.css
vendored
1
e107_plugins/social/css/fontello.css
vendored
@ -56,6 +56,7 @@
|
||||
}
|
||||
|
||||
.e-social-gplus:before { content: '\e800'; } /* '' */
|
||||
.e-social-google-plus:before { content: '\e800'; } /* '' */
|
||||
.e-social-stumbleupon:before { content: '\e801'; } /* '' */
|
||||
.e-social-pinterest:before { content: '\e802'; } /* '' */
|
||||
.e-social-digg:before { content: '\e803'; } /* '' */
|
||||
|
@ -59,7 +59,7 @@ class social_shortcodes extends e_shortcode
|
||||
* {XURL_ICONS: size=2x}
|
||||
* {XURL_ICONS: type=facebook,twitter,vimeo}
|
||||
*/
|
||||
function sc_xurl_icons($parm='')
|
||||
function sc_xurl_icons($parm=null)
|
||||
{
|
||||
$tp = e107::getParser();
|
||||
$tmpl = !empty($parm['template']) ? $parm['template'] : 'default';
|
||||
|
@ -13,5 +13,5 @@
|
||||
* {XURL_ICONS} template
|
||||
*/
|
||||
$SOCIAL_XURL_TEMPLATE['default']['start'] = '<p class="xurl-social-icons hidden-print">';
|
||||
$SOCIAL_XURL_TEMPLATE['default']['item'] = '<a target="_blank" 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']['item'] = '<a target="_blank" href="{XURL_ICONS_HREF}" data-tooltip-position="top" class="e-tip social-icon social-{XURL_ICONS_ID}" title="{XURL_ICONS_TITLE}"><span class="e-social-{XURL_ICONS_ID} {XURL_ICONS_CLASS}"></span></a>';
|
||||
$SOCIAL_XURL_TEMPLATE['default']['end'] = '</p>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user