You are here

function theme_filefield_source_remote_element in FileField Sources 6

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

Theme the output of the autocomplete field.

1 theme call to theme_filefield_source_remote_element()
filefield_source_remote_process in sources/remote.inc
A #process callback to extend the filefield_widget element type.

File

sources/remote.inc, line 347
A FileField extension to allow referencing of existing files.

Code

function theme_filefield_source_remote_element($element) {
  $element['url']['#field_suffix'] = theme('submit', $element['transfer']);
  return '<div class="filefield-source filefield-source-remote clear-block">' . theme('textfield', $element['url']) . '</div>';
}