You are here

function skinr_ui_import_form in Skinr 7.2

Same name and namespace in other branches
  1. 6.2 skinr_ui.admin.inc \skinr_ui_import_form()

Form builder for the Skinr settings import form.

1 string reference to 'skinr_ui_import_form'
skinr_ui_menu in ./skinr_ui.module
Implements hook_menu().

File

./skinr_ui.admin.inc, line 1055
Admin page callbacks for the Skinr UI module.

Code

function skinr_ui_import_form($form, &$form_state) {
  $form['skinr_skins'] = array(
    '#type' => 'textarea',
    '#title' => t('Skin configurations'),
    '#description' => t('Paste skin configurations here.'),
    '#rows' => 16,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Import'),
  );
  return $form;
}