Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
xmlsitemap
Commits
f110abdf
Commit
f110abdf
authored
Apr 10, 2010
by
Dave Reid
Browse files
by Dave Reid: Removed language neutral from the possible xmlsitemap_i18n context options.
parent
d06e65cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
xmlsitemap_i18n/xmlsitemap_i18n.module
View file @
f110abdf
...
...
@@ -49,7 +49,7 @@ function xmlsitemap_i18n_form_xmlsitemap_sitemap_edit_form_alter(&$form, $form_s
$form
[
'context'
][
'language'
]
=
array
(
'#type'
=>
'select'
,
'#title'
=>
t
(
'Language'
),
'#options'
=>
array
(
LANGUAGE_NONE
=>
t
(
'Language neutral'
))
+
locale_language_list
(),
'#options'
=>
locale_language_list
(),
'#default_value'
=>
isset
(
$form
[
'#sitemap'
][
'context'
][
'language'
])
?
$form
[
'#sitemap'
][
'context'
][
'language'
]
:
LANGUAGE_NONE
,
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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