';*/
// XFBML implementation
// async method
/* $fbp_content = '
';*/
// sync method
$fbp_content = '
';
$fbp_content .= '
';
return $content.$fbp_content;
}
function fbp_loc_begin_picture()
{
global $template, $user;
// set prefilter
$template->set_prefilter('header', 'fbp_header');
$template->set_prefilter('default_content', 'fbp_AddSocial');
// Always use full url for FB social plugin
set_make_full_url();
// define language
$template->assign('language', $user['language']);
}
function fbp_loc_end_picture()
{
// Restore url
unset_make_full_url();
}
function fbp_header($content, &$smarty)
{
$search = '#