function theme_fbconnect_invite_form in Facebook Connect 7.2
Same name and namespace in other branches
- 8.2 fbconnect_invite/fbconnect_invite.module \theme_fbconnect_invite_form()
- 6.2 fbconnect_invite/fbconnect_invite.module \theme_fbconnect_invite_form()
1 theme call to theme_fbconnect_invite_form()
- fbconnect_invite_friends_page in fbconnect_invite/
fbconnect_invite.module - Render the facebook friends invite form.
File
- fbconnect_invite/
fbconnect_invite.module, line 149
Code
function theme_fbconnect_invite_form($variables) {
$request_form_attributes = $variables['request_form_attributes'];
$friends_selector_attributes = $variables['friends_selector_attributes'];
$request_form_attr = drupal_attributes($request_form_attributes);
$friend_selector_attr = drupal_attributes($friends_selector_attributes);
return <<<FBML
<fb:serverfbml>
<script type="text/fbml">
<fb:fbml>
<fb:request-form {<span class="php-variable">$request_form_attr</span>} >
<fb:multi-friend-selector {<span class="php-variable">$friend_selector_attr</span>} />
</fb:request-form>
</fb:fbml>
</script>
</fb:serverfbml>
FBML;
}