You are here

function theme_background_upload_form in Dynamic Background 7

Same name and namespace in other branches
  1. 6 includes/upload.form.inc \theme_background_upload_form()
  2. 7.2 includes/upload.form.inc \theme_background_upload_form()

Theming function for background_upload_form.

1 theme call to theme_background_upload_form()
dynamic_background_element_info in includes/upload.form.inc
Implements hook_elements().

File

includes/upload.form.inc, line 31
The functions here is used to create an new form element (background_upload_form), which can be used to upload images. It also gives the possibility to flag a image for deletion or active background image.

Code

function theme_background_upload_form($element) {
  $output = '';
  $output .= '<div class="background-upload-form">';
  $output .= drupal_render_children($element['element']);
  $output .= '</div>';
  return $output;
}