mirror of
https://github.com/Piwigo/Piwigo-Social-Buttons.git
synced 2026-08-11 11:22:42 +02:00
remove "no caption" option for facebook (buggy)
fix urls fix pinterest javascript git-svn-id: http://piwigo.org/svn/extensions/SocialButtons@23201 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -78,6 +78,11 @@ function socialbutt_install()
|
||||
$new_conf['on_index'] = true;
|
||||
}
|
||||
|
||||
if ($new_conf['facebook']['layout'] == 'none')
|
||||
{
|
||||
$new_conf['facebook']['layout'] = 'button_count';
|
||||
}
|
||||
|
||||
$conf['SocialButtons'] = serialize($new_conf);
|
||||
conf_update_param('SocialButtons', $conf['SocialButtons']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user