mirror of
https://github.com/Piwigo/Piwigo-Social-Buttons.git
synced 2026-08-06 17:02:47 +02:00
add reddit button
git-svn-id: http://piwigo.org/svn/extensions/SocialButtons@24758 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -38,6 +38,11 @@ if (isset($_POST['submit']))
|
||||
'layout' => $_POST['pinterest']['layout'],
|
||||
'img_size' => $_POST['pinterest']['img_size'],
|
||||
),
|
||||
'reddit' => array(
|
||||
'enabled' => isset($_POST['reddit']['enabled']),
|
||||
'type' => $_POST['reddit']['type'],
|
||||
'community' => $_POST['reddit']['community'],
|
||||
),
|
||||
);
|
||||
|
||||
conf_update_param('SocialButtons', serialize($conf['SocialButtons']));
|
||||
|
||||
Reference in New Issue
Block a user