source: extensions/SocialButtons/include/tumblr.inc.php @ 24788

Last change on this file since 24788 was 24788, checked in by mistic100, 11 years ago

improve facebook light link and clean code & conf

File size: 370 bytes
Line 
1<?php
2defined('SOCIALBUTT_PATH') or die('Hacking attempt!');
3
4function socialbutt_tumblr($basename, $root_url, &$tpl_vars, &$buttons)
5{
6  global $conf, $template;
7 
8  // config
9  $tpl_vars['TUMBLR'] = $conf['SocialButtons']['tumblr'];
10 
11  $template->set_filename('tumblr_button', realpath(SOCIALBUTT_PATH .'template/tumblr.tpl'));
12  $buttons[] = 'tumblr_button';
13}
14
15?>
Note: See TracBrowser for help on using the repository browser.