function theme_sharethis in ShareThis 5
Same name and namespace in other branches
- 6 sharethis.module \theme_sharethis()
- 7.2 sharethis.module \theme_sharethis()
1 theme call to theme_sharethis()
- sharethis_get_js in ./
sharethis.module - Creates the complete script tag to create SHARETHIS elements.
File
- ./
sharethis.module, line 223 - Provides the ShareThis service.
Code
function theme_sharethis($title, $url, $chicklet = 'sharethis', $chickletname = 'ShareThis', $image) {
$image = base_path() . $image;
return "<a href='{$url}' title='{$title}' rel='nofollow' name='{$chicklet}' class='sharethis-button'><img src='{$image}' /> {$chickletname}</a>";
}