function theme_fb_form_serverfbml in Drupal for Facebook 7.3
Same name and namespace in other branches
- 6.3 fb_form.module \theme_fb_form_serverfbml()
- 6.2 fb_form.module \theme_fb_form_serverfbml()
File
- ./
fb_form.module, line 415 - This module defines facebook-specific form elements for use with Drupal's form API.
Code
function theme_fb_form_serverfbml($elements) {
$output = '<fb:serverfbml ' . (isset($elements['#attributes']) ? drupal_attributes($elements['#attributes']) : '') . '><script type="text/fbml">' . $elements['#children'] . "</script></fb:serverfbml>\n";
return $output;
}