From 39eb14c614565541a2c8aaecc99b704f18d1efd2 Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 15 Jan 2014 08:17:13 -0800 Subject: [PATCH] Support for XURL icon sizes. eg. {XURL_ICONS: size=2x} --- e107_plugins/social/e_shortcode.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/e107_plugins/social/e_shortcode.php b/e107_plugins/social/e_shortcode.php index b1ed1cd73..86967a443 100644 --- a/e107_plugins/social/e_shortcode.php +++ b/e107_plugins/social/e_shortcode.php @@ -26,7 +26,10 @@ class social_shortcodes extends e_shortcode 'vimeo' => array('href'=> deftrue('XURL_VIMEO'), 'title'=>'Vimeo') ); + parse_str($parms,$parm); + $class = (vartrue($parms['size'])) ? 'fa-'.$parms['size'] : ''; + $text = ''; @@ -36,7 +39,7 @@ class social_shortcodes extends e_shortcode if($data['href'] != '') { - $text .= ' + $text .= ' ';