You are here

function delta_overrides_list in Delta 7.2

Menu callback; displays the delta listing page.

File

./delta_ui.admin.inc, line 447
Delta UI functionality

Code

function delta_overrides_list($form, &$form_state) {
  drupal_set_title(t('Delta Overrides'));

  //krumo($form_state);
  $theme = isset($form_state['build_info']['args'][0]) ? $form_state['build_info']['args'][0] : FALSE;
  $themes = list_themes();

  //krumo($themes);
  if ($theme) {
    drupal_set_title(t('Delta Overrides for ' . $themes[$theme]->info['name']));
  }
  $form['actions'] = array(
    '#type' => 'actions',
  );
  $form['actions']['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Save'),
  );
  return $form;
}