You are here

function theme_facebookshare in Facebook Share 6

Same name and namespace in other branches
  1. 6.3 facebookshare.module \theme_facebookshare()
  2. 7 facebookshare.module \theme_facebookshare()

Themes facebook share button box

1 theme call to theme_facebookshare()
facebookshare_nodeapi in ./facebookshare.module
Implements hook_nodeapi()

File

./facebookshare.module, line 105
Adds a button to a node to share on a user's Facebook stream

Code

function theme_facebookshare($url) {
  $output = '<div class="facebookshare-box">';
  $output .= theme('facebookshare_button', $url, check_plain(variable_get('facebookshare_size', '')), check_plain(variable_get('facebookshare_text', '')));
  $output .= '</div>';
  return $output;
}