Files
mistic100 ed7aaf8b8f fix maintain class + facebook url
git-svn-id: http://piwigo.org/svn/extensions/SocialButtons@29781 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-25 16:52:23 +00:00

14 lines
367 B
PHP

<?php
defined('SOCIALBUTT_PATH') or die('Hacking attempt!');
function socialbutt_tumblr($basename, $root_url, &$tpl_vars, &$buttons)
{
global $conf, $template;
// config
$tpl_vars['TUMBLR'] = $conf['SocialButtons']['tumblr'];
$template->set_filename('tumblr_button', realpath(SOCIALBUTT_PATH .'template/tumblr.tpl'));
$buttons[] = 'tumblr_button';
}