You are here

function finder_admin_import_form in Finder 6

Same name and namespace in other branches
  1. 7 includes/finder.admin.inc \finder_admin_import_form()

Admin finder import form.

1 string reference to 'finder_admin_import_form'
finder_admin_import in includes/finder.admin.inc
Admin finder import page.

File

includes/finder.admin.inc, line 979
The finder admin screens.

Code

function finder_admin_import_form($form_state) {
  $form['#prefix'] = t('<p>You may import a finder by copy-and-pasting the results of an exported finder. </p>');
  $form['finder_code'] = array(
    '#type' => 'textarea',
    '#title' => t('Finder code'),
    '#default_value' => '',
    '#required' => TRUE,
    '#rows' => 30,
    '#description' => t('Paste the finder code here.'),
  );
  $form['#redirect'] = FALSE;
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Import'),
  );
  return $form;
}