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
drupal
Commits
b5573842
Commit
b5573842
authored
Aug 25, 2005
by
Dries
Browse files
- Patch
#29593
by tostinni: fixed display of title on admin/settings/content-type/ pages.
parent
7b8a4096
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/node.module
View file @
b5573842
...
...
@@ -698,9 +698,9 @@ function node_menu($may_cache) {
}
}
}
else
if
(
arg
(
0
)
==
'admin'
&&
arg
(
1
)
==
'
node
'
&&
arg
(
2
)
==
'con
figure'
&&
arg
(
3
)
==
'
types'
&&
is_string
(
arg
(
4
)))
{
$items
[]
=
array
(
'path'
=>
'admin/settings/content-types/'
.
arg
(
4
),
'title'
=>
t
(
"'%name' content type"
,
array
(
'%name'
=>
node_invoke
(
arg
(
4
),
'node_name'
))),
else
if
(
arg
(
0
)
==
'admin'
&&
arg
(
1
)
==
'
settings
'
&&
arg
(
2
)
==
'con
tent-
types'
&&
is_string
(
arg
(
3
)))
{
$items
[]
=
array
(
'path'
=>
'admin/settings/content-types/'
.
arg
(
3
),
'title'
=>
t
(
"'%name' content type"
,
array
(
'%name'
=>
node_invoke
(
arg
(
3
),
'node_name'
))),
'type'
=>
MENU_CALLBACK
);
}
}
...
...
modules/node/node.module
View file @
b5573842
...
...
@@ -698,9 +698,9 @@ function node_menu($may_cache) {
}
}
}
else
if
(
arg
(
0
)
==
'admin'
&&
arg
(
1
)
==
'
node
'
&&
arg
(
2
)
==
'con
figure'
&&
arg
(
3
)
==
'
types'
&&
is_string
(
arg
(
4
)))
{
$items
[]
=
array
(
'path'
=>
'admin/settings/content-types/'
.
arg
(
4
),
'title'
=>
t
(
"'%name' content type"
,
array
(
'%name'
=>
node_invoke
(
arg
(
4
),
'node_name'
))),
else
if
(
arg
(
0
)
==
'admin'
&&
arg
(
1
)
==
'
settings
'
&&
arg
(
2
)
==
'con
tent-
types'
&&
is_string
(
arg
(
3
)))
{
$items
[]
=
array
(
'path'
=>
'admin/settings/content-types/'
.
arg
(
3
),
'title'
=>
t
(
"'%name' content type"
,
array
(
'%name'
=>
node_invoke
(
arg
(
3
),
'node_name'
))),
'type'
=>
MENU_CALLBACK
);
}
}
...
...
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