You are here

function wysiwyg_template_import_form in Wysiwyg API template plugin 7.2

Generate a form for importing a template.

1 string reference to 'wysiwyg_template_import_form'
wysiwyg_template_menu in ./wysiwyg_template.module
Implementation of hook_menu().

File

./wysiwyg_template.admin.inc, line 371
Administrative page callbacks for the Wysiwyg Template module.

Code

function wysiwyg_template_import_form($form, &$form_state) {
  $form['import'] = array(
    '#title' => t('Import data'),
    '#type' => 'textarea',
    '#rows' => 20,
    '#description' => t('Paste the code from template export function.'),
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Submit'),
  );
  return $form;
}