You are here

function theme_dl in Drupal for Facebook 5

Same name and namespace in other branches
  1. 5.2 fb_app.module \theme_dl()
3 theme calls to theme_dl()
fb_canvas_nodeapi in ./fb_canvas.module
fb_user_nodeapi in ./fb_user.module
theme_fb_app in ./fb_app.module

File

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

Code

function theme_dl($items) {
  if (count($items)) {
    $output = "<dl>\n";
    foreach ($items as $term => $data) {
      $output .= "  <dt>{$term}</dt><dd>{$data}</dd>\n";
    }
    $output .= "</dl>\n";
    return $output;
  }
}