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
f4d201bc
Commit
f4d201bc
authored
Aug 30, 2010
by
Dave Reid
Browse files
by Dave Reid: Convert to using objects for XML sitemaps instead of arrays.
parent
9156167e
Changes
1
Hide whitespace changes
Inline
Side-by-side
xmlsitemap_i18n/xmlsitemap_i18n.module
View file @
f4d201bc
...
...
@@ -40,7 +40,7 @@ function xmlsitemap_i18n_form_xmlsitemap_sitemap_edit_form_alter(&$form, $form_s
'#type'
=>
'select'
,
'#title'
=>
t
(
'Language'
),
'#options'
=>
locale_language_list
(),
'#default_value'
=>
isset
(
$form
[
'#sitemap'
]
->
context
[
'language'
])
?
$form
[
'#sitemap->context['
language
'] : LANGUAGE_NONE,
'#default_value'
=>
isset
(
$form
[
'#sitemap'
]
->
context
[
'language'
])
?
$form
[
'#sitemap
'
]
->
context
[
'language'
]
:
LANGUAGE_NONE
,
);
}
...
...
Write
Preview
Supports
Markdown
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