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

Last change on this file since 30804 was 29781, checked in by mistic100, 10 years ago

fix maintain class + facebook url

File size: 367 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}
Note: See TracBrowser for help on using the repository browser.