mirror of
https://github.com/Piwigo/Piwigo-Social-Buttons.git
synced 2026-08-12 03:42:44 +02:00
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:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
defined('SOCIALBUTT_PATH') or die('Hacking attempt!');
|
||||
|
||||
function socialbutt_twitter($basename, $root_url, &$tpl_vars)
|
||||
function socialbutt_twitter($basename, $root_url, &$tpl_vars, &$buttons)
|
||||
{
|
||||
global $conf, $template, $user;
|
||||
|
||||
@@ -30,7 +30,7 @@ function socialbutt_twitter($basename, $root_url, &$tpl_vars)
|
||||
|
||||
|
||||
$template->set_filename('twitter_button', realpath(SOCIALBUTT_PATH .'template/twitter.tpl'));
|
||||
return 'twitter_button';
|
||||
$buttons[] = 'twitter_button';
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user