1
0
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:
Cameron 2017-02-28 12:41:39 -08:00
parent 7fcf88aa85
commit 50a16b76c9

View File

@ -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
{