Ignore:
Timestamp:
Jan 25, 2013, 4:51:02 PM (11 years ago)
Author:
mistic100
Message:

add pinterest, option to hide counter on facebook button

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/SocialButtons/include/tumblr.inc.php

    r20358 r20374  
    22defined('SOCIALBUTT_PATH') or die('Hacking attempt!');
    33
    4 function socialbutt_tumblr($basename, $root_url, &$tpl_vars)
     4function socialbutt_tumblr($basename, $root_url, &$tpl_vars, &$buttons)
    55{
    6   global $conf, $template, $user;
     6  global $conf, $template;
    77 
    88  $tumblr_css = array(
     
    5151 
    5252  $template->set_filename('tumblr_button', realpath(SOCIALBUTT_PATH .'template/tumblr.tpl'));
    53   return 'tumblr_button';
     53  $buttons[] = 'tumblr_button';
    5454}
    5555
Note: See TracChangeset for help on using the changeset viewer.