Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
5d001d94
Commit
5d001d94
authored
Nov 04, 2009
by
Angie Byron
Browse files
#576916
follow-up by mooffie: Fixed some mistaken variable renaming.
parent
417dd351
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/menu/menu.admin.inc
View file @
5d001d94
...
...
@@ -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.'
),
);
$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'
)));
$form
[
'menu_main_links_source'
]
=
array
(
'#type'
=>
'select'
,
'#title'
=>
t
(
'Source for the Main links'
),
'#default_value'
=>
'
navigation
'
,
'#default_value'
=>
'
main-menu
'
,
'#options'
=>
$main_options
,
'#tree'
=>
FALSE
,
'#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'
)));
$form
[
"
menu_secondary_links_source
"
]
=
array
(
$form
[
'
menu_secondary_links_source
'
]
=
array
(
'#type'
=>
'select'
,
'#title'
=>
t
(
'Source for the Secondary links'
),
'#default_value'
=>
'user-menu'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment