You are here

function theme_filefield_source_imce_element in FileField Sources 6

Same name and namespace in other branches
  1. 7 sources/imce.inc \theme_filefield_source_imce_element()

Theme the output of the autocomplete field.

1 theme call to theme_filefield_source_imce_element()
filefield_source_imce_process in sources/imce.inc
A #process callback to extend the filefield_widget element type.

File

sources/imce.inc, line 177
A FileField extension to allow referencing of files from IMCE.

Code

function theme_filefield_source_imce_element($element) {
  $output = theme('markup', $element['display_path']) . theme('hidden', $element['file_path']) . theme('submit', $element['select']);
  return '<div class="filefield-source filefield-source-imce clear-block">' . theme('form_element', $element, $output) . '</div>';
}