'select', '#options' => $form['admin_theme']['#options'], '#title' => t('CiviCRM Administration theme'), '#description' => t('Choose which theme the CiviCRM administration pages should display in.'), '#default_value' => variable_get('civicrm_admin_theme', ''), ); $newform['civicrm_event_theme'] = array( '#type' => 'select', '#options' => $form['admin_theme']['#options'], '#title' => t('CiviCRM Event theme'), '#description' => t('Choose which theme the CiviCRM event pages should display in.'), '#default_value' => variable_get('civicrm_event_theme', ''), ); $newform['civicrm_contribute_theme'] = array( '#type' => 'select', '#options' => $form['admin_theme']['#options'], '#title' => t('CiviCRM Contribute theme'), '#description' => t('Choose which theme the CiviCRM contribute pages should display in.'), '#default_value' => variable_get('civicrm_contribute_theme', ''), ); $newform['civicrm_theme'] = array( '#type' => 'select', '#options' => $form['admin_theme']['#options'], '#title' => t('CiviCRM User theme'), '#description' => t('Choose which theme the CiviCRM user pages should display in.'), '#default_value' => variable_get('civicrm_theme', ''), ); $form = array_merge(array_slice($form, 0, 1), $newform, array_slice($form, 1)); } }