function theme_dir_listing_metadata_group in Filebrowser 7.4
Same name and namespace in other branches
- 8 filebrowser.theme.inc \theme_dir_listing_metadata_group()
- 6.2 filebrowser.theme.inc \theme_dir_listing_metadata_group()
- 7.2 filebrowser.theme.inc \theme_dir_listing_metadata_group()
- 7.3 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;
}