function webfm_reload_upload in Web File Manager 5.2
Same name and namespace in other branches
- 5 webfm.module \webfm_reload_upload()
1 call to webfm_reload_upload()
- webfm_upload in ./
webfm.module - Called by upload form submit
File
- ./
webfm.module, line 745
Code
function webfm_reload_upload($url, $confirm_form = '') {
$form = array();
if ($confirm_form) {
array_push($form, $confirm_form);
}
array_push($form, webfm_upload_form($url));
$form = form_builder('upload_js', $form);
$output = theme('status_messages') . drupal_render($form);
return $output;
}