You are here

function theme_fb_form_serverfbml in Drupal for Facebook 6.2

Same name and namespace in other branches
  1. 6.3 fb_form.module \theme_fb_form_serverfbml()
  2. 7.3 fb_form.module \theme_fb_form_serverfbml()

File

./fb_form.module, line 503
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;
}