mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 13:11:52 +02:00
Reduced the number of default social share buttons.
This commit is contained in:
parent
7fcf88aa85
commit
50a16b76c9
@ -241,7 +241,8 @@ class social_shortcodes extends e_shortcode
|
||||
|
||||
if(empty($parm['providers'])) // No parms so use prefs instead.
|
||||
{
|
||||
$parm['providers'] = !empty($pref['sharing_providers']) ? array_keys($pref['sharing_providers']) : array_keys($providers);
|
||||
$defaultProviders = array('email' ,'facebook-like', 'facebook-share', 'twitter', 'google-plus1', 'pinterest' , 'stumbleupon', 'reddit', 'digg' );
|
||||
$parm['providers'] = !empty($pref['sharing_providers']) ? array_keys($pref['sharing_providers']) : $defaultProviders;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user