Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
xmlsitemap
Commits
466ea41c
Commit
466ea41c
authored
Feb 02, 2010
by
Dave Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
by Dave Reid: Fixed coder warnings and adjusted bundle type label.
parent
88b0a3a9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
7 deletions
+4
-7
xmlsitemap.admin.inc
xmlsitemap.admin.inc
+1
-4
xmlsitemap.module
xmlsitemap.module
+1
-1
xmlsitemap_menu/xmlsitemap_menu.module
xmlsitemap_menu/xmlsitemap_menu.module
+1
-1
xmlsitemap_taxonomy/xmlsitemap_taxonomy.module
xmlsitemap_taxonomy/xmlsitemap_taxonomy.module
+1
-1
No files found.
xmlsitemap.admin.inc
View file @
466ea41c
...
...
@@ -336,11 +336,8 @@ function xmlsitemap_add_form_entity_summary(&$form, $entity, array $entity_info)
'data'
=>
$totals
[
'visible'
],
'header'
=>
TRUE
,
),
/*$totals['total'],
$totals['indexed'],
$totals['visible'],*/
);
$form
[
'summary'
]
=
array
(
$form
[
'summary'
]
=
array
(
'#theme'
=>
'table'
,
'#header'
=>
$header
,
'#rows'
=>
$rows
,
...
...
xmlsitemap.module
View file @
466ea41c
...
...
@@ -655,7 +655,7 @@ function xmlsitemap_var($name, $default = NULL) {
$defaults
=
xmlsitemap_variables
();
}
$name
=
'xmlsitemap_'
.
$name
;
$name
=
'xmlsitemap_'
.
$name
;
// @todo Remove when stable.
if
(
!
isset
(
$defaults
[
$name
]))
{
...
...
xmlsitemap_menu/xmlsitemap_menu.module
View file @
466ea41c
...
...
@@ -7,7 +7,7 @@
function
xmlsitemap_menu_xmlsitemap_link_info
()
{
$types
[
'menu'
]
=
array
(
'label'
=>
t
(
'Menu'
),
'bundle label'
=>
t
(
'Menu
title
'
),
'bundle label'
=>
t
(
'Menu'
),
'base table'
=>
'menu_links'
,
'object keys'
=>
array
(
'id'
=>
'mlid'
,
...
...
xmlsitemap_taxonomy/xmlsitemap_taxonomy.module
View file @
466ea41c
...
...
@@ -5,7 +5,7 @@
* Implements hook_entity_info_alter().
*/
function
xmlsitemap_taxonomy_entity_info_alter
(
&
$entity_info
)
{
$entity_info
[
'taxonomy_term'
][
'bundle label'
]
=
t
(
'Vocabulary
name
'
);
$entity_info
[
'taxonomy_term'
][
'bundle label'
]
=
t
(
'Vocabulary'
);
$entity_info
[
'taxonomy_term'
][
'xmlsitemap'
]
=
array
(
'process callback'
=>
'xmlsitemap_taxonomy_xmlsitemap_process_taxonomy_term_links'
,
);
...
...
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