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

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

improve facebook light link and clean code & conf

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