function theme_stream_publish_favicon in Facebook Connect 8.2
Same name and namespace in other branches
- 6.2 fbconnect_stream_publish/fbconnect_stream_publish.module \theme_stream_publish_favicon()
- 7.2 fbconnect_stream_publish/fbconnect_stream_publish.module \theme_stream_publish_favicon()
2 theme calls to theme_stream_publish_favicon()
- fbconnect_stream_publish_form_alter in fbconnect_stream_publish/
fbconnect_stream_publish.module - Impletementation of hook_form_alter().
- fbconnect_stream_publish_form_comment_form_alter in fbconnect_stream_publish/
fbconnect_stream_publish.module - Implements hook_form_FORM_ID_alter() for comment_form().
File
- fbconnect_stream_publish/
fbconnect_stream_publish.module, line 258
Code
function theme_stream_publish_favicon() {
$protocol = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on' ? 'https://' : 'http://';
return '<img src="' . $protocol . 'facebook.com/images/connect_favicon.png" />';
}