function theme_media_browser_pane in D7 Media 7
Same name and namespace in other branches
- 6 media_theme.inc \theme_media_browser_pane()
Display a browser pane. @TODO this is depreciated I think
Parameters
array $form: The form element.
Return value
string
File
- includes/
media.theme.inc, line 44 - Media Theming
Code
function theme_media_browser_pane($form) {
return;
$output = array();
// render the drawers
$output[] = '<div' . drupal_attributes($form['#attributes']) . '>';
// render the drawer list
$output[] = ' <div class="browser drawers">';
$output[] = drupal_render_form(null, $form['drawers']);
$output[] = ' </div>';
// render the drawer displays
$output[] = drupal_render_form(null, $form);
$output[] = '</div>';
return implode("\n", $output);
}