function theme_filefield_source_elfinder_element in elFinder file manager 6
Same name and namespace in other branches
- 8.2 modules/elfinder_ffsel/elfinder_ffsel.module \theme_filefield_source_elfinder_element()
- 6.2 modules/elfinder_ffsel/elfinder_ffsel.module \theme_filefield_source_elfinder_element()
- 7.3 modules/elfinder_ffsel/elfinder_ffsel.module \theme_filefield_source_elfinder_element()
- 7 modules/elfinder_ffsel/elfinder_ffsel.module \theme_filefield_source_elfinder_element()
- 7.2 modules/elfinder_ffsel/elfinder_ffsel.module \theme_filefield_source_elfinder_element()
Theme the output of the autocomplete field.
1 theme call to theme_filefield_source_elfinder_element()
- filefield_source_elfinder_process in modules/
elfinder_ffsel/ elfinder_ffsel.module - A #process callback to extend the filefield_widget element type.
File
- modules/
elfinder_ffsel/ elfinder_ffsel.module, line 194
Code
function theme_filefield_source_elfinder_element($element) {
$output = theme('markup', $element['display_path']) . theme('hidden', $element['file_path']) . theme('submit', $element['select']);
return '<div class="filefield-source filefield-source-elfinder clear-block">' . theme('form_element', $element, $output) . '</div>';
}