#576916 follow-up by mooffie: Fixed some mistaken variable renaming.

merge-requests/26/head
Angie Byron 2009-11-04 04:43:58 +00:00
parent 417dd35185
commit 5d001d94d6
1 changed files with 3 additions and 3 deletions

View File

@ -664,19 +664,19 @@ function menu_configure() {
'#description' => t('Choose the menu to be the default in the menu options in the content authoring form.'), '#description' => t('Choose the menu to be the default in the menu options in the content authoring form.'),
); );
$main = variable_get('menu_main_links_source', 'navigation'); $main = variable_get('menu_main_links_source', 'main-menu');
$main_options = array_merge($menu_options, array('' => t('No Main links'))); $main_options = array_merge($menu_options, array('' => t('No Main links')));
$form['menu_main_links_source'] = array( $form['menu_main_links_source'] = array(
'#type' => 'select', '#type' => 'select',
'#title' => t('Source for the Main links'), '#title' => t('Source for the Main links'),
'#default_value' => 'navigation', '#default_value' => 'main-menu',
'#options' => $main_options, '#options' => $main_options,
'#tree' => FALSE, '#tree' => FALSE,
'#description' => t('Select what should be displayed as the Main links (typically at the top of the page).'), '#description' => t('Select what should be displayed as the Main links (typically at the top of the page).'),
); );
$secondary_options = array_merge($menu_options, array('' => t('No Secondary links'))); $secondary_options = array_merge($menu_options, array('' => t('No Secondary links')));
$form["menu_secondary_links_source"] = array( $form['menu_secondary_links_source'] = array(
'#type' => 'select', '#type' => 'select',
'#title' => t('Source for the Secondary links'), '#title' => t('Source for the Secondary links'),
'#default_value' => 'user-menu', '#default_value' => 'user-menu',