add pinterest, option to hide counter on facebook button

git-svn-id: http://piwigo.org/svn/extensions/SocialButtons@20374 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100
2013-01-25 15:51:02 +00:00
parent 6a8b22d7f3
commit 8fc870d23f
12 changed files with 279 additions and 165 deletions
+5
View File
@@ -31,6 +31,11 @@ if (isset($_POST['submit']))
'color' => $_POST['facebook']['color'],
'layout' => $_POST['facebook']['layout'],
),
'pinterest' => array(
'enabled' => isset($_POST['pinterest']['enabled']),
'layout' => $_POST['pinterest']['layout'],
'img_size' => $_POST['pinterest']['img_size'],
),
);
conf_update_param('SocialButtons', serialize($conf['SocialButtons']));