diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-06-22 09:50:57 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-06-22 09:50:57 +0000 |
commit | 2a8a3ce33cbc7bb8cafd323226a80abb88b7b09d (patch) | |
tree | fb057267be162a48a677715c9ecdaa962c9965da /modules | |
parent | 45ff81b55c38e1c7b57dbe9fce2f9a39b84a3328 (diff) | |
download | brdo-2a8a3ce33cbc7bb8cafd323226a80abb88b7b09d.tar.gz brdo-2a8a3ce33cbc7bb8cafd323226a80abb88b7b09d.tar.bz2 |
#68807 by jvandyk, a few menu.module cleanups.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/menu.module | 7 | ||||
-rw-r--r-- | modules/menu/menu.module | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/modules/menu.module b/modules/menu.module index d6e029580..f7c657f84 100644 --- a/modules/menu.module +++ b/modules/menu.module @@ -248,7 +248,6 @@ function menu_form_alter($form_id, &$form) { * Menu callback; presents menu configuration options. */ function menu_configure() { - $menu = menu_get_menu(); $root_menus = menu_get_root_menus(); $primary_options = $root_menus; @@ -279,11 +278,11 @@ function menu_configure() { ); $form['settings_authoring'] = array('#type' => 'fieldset', - '#title' => t('Post authoring form settings'), + '#title' => t('Content authoring form settings'), ); $form['settings_authoring']['intro'] = array('#type' => 'item', - '#value' => t('The menu module allows on-the-fly creation of menu links in the post authoring forms. The following option limits the menus in which a new link may be added. For e.g. this can be used to force new menu items to be created in the primary links menu or to hide admin menu items.'), + '#value' => t('The menu module allows on-the-fly creation of menu links in the content authoring forms. The following option limits the menus in which a new link may be added. E.g., this can be used to force new menu items to be created in the primary links menu or to hide admin menu items.'), ); $authoring_options = $root_menus; @@ -293,7 +292,7 @@ function menu_configure() { '#title' => t('Restrict parent items to'), '#default_value' => variable_get('menu_parent_items', 0), '#options' => $authoring_options, - '#description' => t('Choose the menu to be made available in the post authoring form. Only this menu item and its children will be shown.'), + '#description' => t('Choose the menu to be made available in the content authoring form. Only this menu item and its children will be shown.'), ); return system_settings_form('menu_configure', $form); diff --git a/modules/menu/menu.module b/modules/menu/menu.module index d6e029580..f7c657f84 100644 --- a/modules/menu/menu.module +++ b/modules/menu/menu.module @@ -248,7 +248,6 @@ function menu_form_alter($form_id, &$form) { * Menu callback; presents menu configuration options. */ function menu_configure() { - $menu = menu_get_menu(); $root_menus = menu_get_root_menus(); $primary_options = $root_menus; @@ -279,11 +278,11 @@ function menu_configure() { ); $form['settings_authoring'] = array('#type' => 'fieldset', - '#title' => t('Post authoring form settings'), + '#title' => t('Content authoring form settings'), ); $form['settings_authoring']['intro'] = array('#type' => 'item', - '#value' => t('The menu module allows on-the-fly creation of menu links in the post authoring forms. The following option limits the menus in which a new link may be added. For e.g. this can be used to force new menu items to be created in the primary links menu or to hide admin menu items.'), + '#value' => t('The menu module allows on-the-fly creation of menu links in the content authoring forms. The following option limits the menus in which a new link may be added. E.g., this can be used to force new menu items to be created in the primary links menu or to hide admin menu items.'), ); $authoring_options = $root_menus; @@ -293,7 +292,7 @@ function menu_configure() { '#title' => t('Restrict parent items to'), '#default_value' => variable_get('menu_parent_items', 0), '#options' => $authoring_options, - '#description' => t('Choose the menu to be made available in the post authoring form. Only this menu item and its children will be shown.'), + '#description' => t('Choose the menu to be made available in the content authoring form. Only this menu item and its children will be shown.'), ); return system_settings_form('menu_configure', $form); |