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
+2 -2
View File
@@ -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';
}
?>