You are here

function theme_fb_app in Drupal for Facebook 5

Same name and namespace in other branches
  1. 5.2 fb_app.module \theme_fb_app()
  2. 6.3 fb_app.module \theme_fb_app()
  3. 6.2 fb_app.module \theme_fb_app()
  4. 7.3 fb_app.module \theme_fb_app()
1 theme call to theme_fb_app()
fb_app_view in ./fb_app.module

File

./fb_app.module, line 239
Defines a custom node type that stores a facebook application configuration.

Code

function theme_fb_app($data) {
  $about_url = fb_app_get_about_url($data);
  return theme('dl', array(
    t('Label') => $data->label,
    t('API Key') => $data->apikey,
    t('Secret') => $data->secret,
    t('About page') => $about_url ? $about_url : t('N/A'),
  ));
}