You are here

function imce_delete_form in IMCE 7

Same name and namespace in other branches
  1. 6.2 inc/imce.page.inc \imce_delete_form()
  2. 6 inc/page.inc \imce_delete_form()

Delete form.

1 call to imce_delete_form()
imce_fileop_form in inc/imce.page.inc
File operations form.

File

inc/imce.page.inc, line 241
Implements the file browser.

Code

function imce_delete_form(&$imce) {
  $form['delete'] = array(
    '#type' => 'submit',
    '#value' => t('Delete'),
    '#submit' => $imce['perm']['delete'] ? array(
      'imce_delete_submit',
    ) : NULL,
  );
  return $form;
}