You are here

function omega_tools_subtheme_wizard_info_form in Omega Tools 7.3

@todo

1 string reference to 'omega_tools_subtheme_wizard_info_form'
omega_tools_subtheme_wizard in includes/omega_tools.wizard.inc
@todo

File

includes/omega_tools.wizard.inc, line 95

Code

function omega_tools_subtheme_wizard_info_form($form, &$form_state) {
  $subtheme =& $form_state['subtheme'];
  $form['info'] = array(
    '#type' => 'fieldset',
    '#title' => t('Theme information'),
  );
  $form['info']['name'] = array(
    '#type' => 'textfield',
    '#title' => t('Name'),
    '#description' => t('The human-readable name for this theme.'),
    '#default_value' => isset($subtheme->info['name']) ? $subtheme->info['name'] : '',
    '#size' => 30,
    '#required' => TRUE,
  );
  $form['info']['description'] = array(
    '#type' => 'textarea',
    '#title' => t('Description'),
    '#description' => t('The description that will be shown on the theme listing page.'),
    '#default_value' => isset($subtheme->info['description']) ? $subtheme->info['description'] : '',
  );
  $form['info']['version'] = array(
    '#type' => 'textfield',
    '#title' => t('Version'),
    '#description' => t('The version of this theme.'),
    '#default_value' => isset($subtheme->info['version']) ? $subtheme->info['version'] : '1.x',
  );
  $form['buttons']['next']['#next'] = $form_state['next'];
  return $form;
}