function theme_fb_fbml_popup in Drupal for Facebook 7.3
Same name and namespace in other branches
- 6.3 fb.theme.inc \theme_fb_fbml_popup()
File
- ./
fb.theme.inc, line 168
Code
function theme_fb_fbml_popup($elem) {
// Hide this markup until javascript shows it.
$t = '<div class="fb_fbml_popup_wrap" ' . ">\n";
$t .= '<a href="#" title="' . check_plain($elem['#title']) . '" ' . (isset($elem['#link_attributes']) ? drupal_attributes($elem['#link_attributes']) : '') . '>' . check_plain($elem['#link_text']) . '</a>';
$t .= '<div class="fb_fbml_popup" ' . drupal_attributes($elem['#attributes']) . '>';
$t .= $elem['#children'];
$t .= "</div></div>\n";
return $t;
}