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
6ccb8438
Commit
6ccb8438
authored
Mar 02, 2003
by
Dries
Browse files
- Fixed the "adminster" link at the bottom of every node's display. Patch by Al.
parent
55a449f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/node.module
View file @
6ccb8438
...
...
@@ -461,7 +461,7 @@ function node_link($type, $node = 0, $main = 0) {
}
if
(
user_access
(
"administer nodes"
))
{
$links
[]
=
l
(
t
(
"administer"
),
"node/edit/
$node->nid
"
,
array
(
"title"
=>
t
(
"Administer this node."
)));
$links
[]
=
l
(
t
(
"administer"
),
"
admin/
node/edit/
$node->nid
"
,
array
(
"title"
=>
t
(
"Administer this node."
)));
}
}
...
...
modules/node/node.module
View file @
6ccb8438
...
...
@@ -461,7 +461,7 @@ function node_link($type, $node = 0, $main = 0) {
}
if
(
user_access
(
"administer nodes"
))
{
$links
[]
=
l
(
t
(
"administer"
),
"node/edit/
$node->nid
"
,
array
(
"title"
=>
t
(
"Administer this node."
)));
$links
[]
=
l
(
t
(
"administer"
),
"
admin/
node/edit/
$node->nid
"
,
array
(
"title"
=>
t
(
"Administer this node."
)));
}
}
...
...
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