summaryrefslogtreecommitdiff
path: root/modules/menu/menu.admin.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-06-25 09:12:25 +0000
committerDries Buytaert <dries@buytaert.net>2008-06-25 09:12:25 +0000
commit5299b9268995d1018a6b966f9d1ef260931f5c3d (patch)
treed3c3c218f95c64ac211376def10d07e6913a3e94 /modules/menu/menu.admin.inc
parent61cde080387d331777c87dbaf2b02f4ab5307072 (diff)
downloadbrdo-5299b9268995d1018a6b966f9d1ef260931f5c3d.tar.gz
brdo-5299b9268995d1018a6b966f9d1ef260931f5c3d.tar.bz2
- Patch #270917 by catch, Bojhan, et al: renamed 'primary links' and 'secondary links' to 'main menu' and 'secondary menu' respectively. Based on usability study conducted with the help of Bojhan.
Diffstat (limited to 'modules/menu/menu.admin.inc')
-rw-r--r--modules/menu/menu.admin.inc26
1 files changed, 13 insertions, 13 deletions
diff --git a/modules/menu/menu.admin.inc b/modules/menu/menu.admin.inc
index 9d88dd7c7..c0aa7ed46 100644
--- a/modules/menu/menu.admin.inc
+++ b/modules/menu/menu.admin.inc
@@ -607,30 +607,30 @@ function menu_configure() {
$form['menu_default_node_menu'] = array(
'#type' => 'select',
'#title' => t('Default menu for content'),
- '#default_value' => variable_get('menu_default_node_menu', 'primary-links'),
+ '#default_value' => variable_get('menu_default_node_menu', 'main-menu'),
'#options' => $menu_options,
'#description' => t('Choose the menu to be the default in the menu options in the content authoring form.'),
);
- $primary = variable_get('menu_primary_links_source', 'primary-links');
- $primary_options = array_merge($menu_options, array('' => t('No primary links')));
- $form['menu_primary_links_source'] = array(
+ $main = variable_get('menu_main_menu_source', 'main-menu');
+ $main_options = array_merge($menu_options, array('' => t('No Main menu')));
+ $form['menu_main_menu_source'] = array(
'#type' => 'select',
- '#title' => t('Source for the primary links'),
- '#default_value' => $primary,
- '#options' => $primary_options,
+ '#title' => t('Source for the Main menu'),
+ '#default_value' => $main,
+ '#options' => $main_options,
'#tree' => FALSE,
- '#description' => t('Select what should be displayed as the primary links.'),
+ '#description' => t('Select what should be displayed as the Main menu.'),
);
- $secondary_options = array_merge($menu_options, array('' => t('No secondary links')));
- $form["menu_secondary_links_source"] = array(
+ $secondary_options = array_merge($menu_options, array('' => t('No Secondary menu')));
+ $form["menu_secondary_menu_source"] = array(
'#type' => 'select',
- '#title' => t('Source for the secondary links'),
- '#default_value' => variable_get('menu_secondary_links_source', 'secondary-links'),
+ '#title' => t('Source for the Secondary menu'),
+ '#default_value' => variable_get('menu_secondary_menu_source', 'secondary-menu'),
'#options' => $secondary_options,
'#tree' => FALSE,
- '#description' => t('Select what should be displayed as the secondary links. You can choose the same menu for secondary links as for primary links (currently %primary). If you do this, the children of the active primary menu link will be displayed as secondary links.', array('%primary' => $primary_options[$primary])),
+ '#description' => t("Select the source for the Secondary menu. An advanced option allows you to use the same source for both Main menu (currently %main) and Secondary menu: if your source menu has two levels of hierarchy, the top level menu items will appear in the Main menu, and the children of the active item will appear in the Secondary menu." , array('%main' => $main_options[$main])),
);
return system_settings_form($form);