You are here

function theme_dir_listing_metadata_group in Filebrowser 7.3

Same name and namespace in other branches
  1. 8 filebrowser.theme.inc \theme_dir_listing_metadata_group()
  2. 6.2 filebrowser.theme.inc \theme_dir_listing_metadata_group()
  3. 7.4 filebrowser.theme.inc \theme_dir_listing_metadata_group()
  4. 7.2 filebrowser.theme.inc \theme_dir_listing_metadata_group()

File

./filebrowser.theme.inc, line 302
Several theme functions for filebrowser

Code

function theme_dir_listing_metadata_group($array_form) {
  $form = $array_form[''];

  //$thumbnail = drupal_render($form['thumbnail']);
  $output = "<table>";
  foreach (element_children($form) as $key) {
    if ($key != 'thumbnail') {

      //$output .= "<tr><td>$thumbnail</td><td>"
      $output .= "<tr><td>" . $form['thumbnail']['#value'] . "</td><td>" . drupal_render($form[$key]) . "</td></tr>";

      //   $thumbnail = '';
    }
  }
  $output .= "</table>";
  return $output;
}