You are here

function theme_dir_listing_metadata_group in Filebrowser 6.2

Same name and namespace in other branches
  1. 8 filebrowser.theme.inc \theme_dir_listing_metadata_group()
  2. 7.4 filebrowser.theme.inc \theme_dir_listing_metadata_group()
  3. 7.2 filebrowser.theme.inc \theme_dir_listing_metadata_group()
  4. 7.3 filebrowser.theme.inc \theme_dir_listing_metadata_group()
1 theme call to theme_dir_listing_metadata_group()
filebrowser_form_metadata in ./filebrowser.pages.inc

File

./filebrowser.theme.inc, line 289

Code

function theme_dir_listing_metadata_group($form) {
  $thumbnail = drupal_render($form['thumbnail']);
  $output = "<table>";
  foreach (element_children($form) as $key) {
    if ($key != 'thumbnail') {
      $output .= "<tr><td>{$thumbnail}</td><td>" . drupal_render($form[$key]) . "</td></tr>";
      $thumbnail = '';
    }
  }
  $output .= "</table>";
  return $output;
}