You are here

function theme_background_upload_form in Dynamic Background 6

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

Theming function for background_upload_form.

File

includes/upload.form.inc, line 41
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 = '<div class="background-upload-form">';
  $output .= $element['#children'];
  $output .= '</div>';

  // Style the elements as one form element
  return theme('form_element', $element, $output);
}