function theme_facebookshare_button in Facebook Share 6
Same name and namespace in other branches
- 6.3 facebookshare.module \theme_facebookshare_button()
- 7 facebookshare.module \theme_facebookshare_button()
Themes facebook share button
2 theme calls to theme_facebookshare_button()
- facebookshare_admin_settings in ./
facebookshare.admin.inc - Form for settings for the Facebook Share module
- theme_facebookshare in ./
facebookshare.module - Themes facebook share button box
File
- ./
facebookshare.module, line 121 - Adds a button to a node to share on a user's Facebook stream
Code
function theme_facebookshare_button($url, $size, $text) {
$output = '<a name="fb_share" ' . 'type="' . $size . '" share_url="' . $url . '">' . $text . '</a>' . '<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" ' . 'type="text/javascript"></script>';
return $output;
}