You are here

function uc_extra_fields_pane_panes_edit in Extra Fields Checkout Pane 6

1 string reference to 'uc_extra_fields_pane_panes_edit'
uc_extra_fields_pane_menu in ./uc_extra_fields_pane.module

File

./uc_extra_fields_pane.module, line 65

Code

function uc_extra_fields_pane_panes_edit(&$form_state) {
  $form = array();
  $form['billing-pane-title'] = array(
    '#title' => t('Extra billing pane title'),
    '#description' => t('Enter a string to display as extra billing pane title'),
    '#type' => 'textfield',
    '#required' => TRUE,
    '#default_value' => variable_get('uc_extra_fields_pane_billing_pane_title', 'Additional billing information'),
  );
  $form['billing-pane-description'] = array(
    '#title' => t('Extra billing pane description'),
    '#description' => t('Enter a string to display as extra billing pane description'),
    '#type' => 'textarea',
    '#default_value' => variable_get('uc_extra_fields_pane_billing_pane_description', 'Please fill in additional billing information below.'),
  );
  $form['delivery-pane-title'] = array(
    '#title' => t('Extra delivery pane title'),
    '#description' => t('Enter a string to display as extra delivery pane title'),
    '#type' => 'textfield',
    '#required' => TRUE,
    '#default_value' => variable_get('uc_extra_fields_pane_delivery_pane_title', 'Additional delivery information'),
  );
  $form['delivery-pane-description'] = array(
    '#title' => t('Extra delivery pane description'),
    '#description' => t('Enter a string to display as extra delivery pane description'),
    '#type' => 'textarea',
    '#default_value' => variable_get('uc_extra_fields_pane_delivery_pane_description', 'Please fill in additional delivery information below.'),
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Save'),
  );
  return $form;
}