mirror of
https://github.com/Piwigo/Piwigo-Social-Buttons.git
synced 2026-08-07 09:22:45 +02:00
add linkedin
git-svn-id: http://piwigo.org/svn/extensions/SocialButtons@25178 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -41,6 +41,10 @@ function socialbutt_install()
|
||||
'type' => 'interactive',
|
||||
'community' => null,
|
||||
),
|
||||
'linkedin' => array(
|
||||
'enabled' => true,
|
||||
'counter' => 'right',
|
||||
),
|
||||
);
|
||||
|
||||
if (isset($conf['TumblrShare']))
|
||||
@@ -87,6 +91,14 @@ function socialbutt_install()
|
||||
);
|
||||
}
|
||||
|
||||
if (empty($new_conf['linkedin']))
|
||||
{
|
||||
$new_conf['linkedin'] = array(
|
||||
'enabled' => false,
|
||||
'counter' => 'right',
|
||||
);
|
||||
}
|
||||
|
||||
if (!isset($new_conf['on_index']))
|
||||
{
|
||||
$new_conf['on_index'] = true;
|
||||
|
||||
Reference in New Issue
Block a user