update for Piwigo 2.6 and update Facebook options

git-svn-id: http://piwigo.org/svn/extensions/SocialButtons@26100 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100
2013-12-22 23:44:02 +00:00
parent 776e2a1c1f
commit 1c57dbef2c
10 changed files with 243 additions and 178 deletions
+1 -2
View File
@@ -30,7 +30,6 @@ if (isset($_POST['submit']))
),
'facebook' => array(
'enabled' => isset($_POST['facebook']['enabled']),
'color' => $_POST['facebook']['color'],
'layout' => $_POST['facebook']['layout'],
),
'pinterest' => array(
@@ -49,7 +48,7 @@ if (isset($_POST['submit']))
);
conf_update_param('SocialButtons', serialize($conf['SocialButtons']));
array_push($page['infos'], l10n('Information data registered in database'));
$page['infos'][] = l10n('Information data registered in database');
// the prefilter changes, we must delete compiled templatess
$template->delete_compiled_templates();