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
5963759e
Commit
5963759e
authored
Nov 21, 2003
by
Dries
Browse files
- Fixed menu problem so users can log in. Patch by Jonathan.
parent
e128d493
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/user.module
View file @
5963759e
...
...
@@ -402,6 +402,9 @@ function user_link($type) {
menu
(
"user/edit"
,
t
(
"edit account"
),
"user_page"
,
0
);
menu
(
"user/logout"
,
t
(
"log out"
),
"user_page"
,
10
);
}
else
{
menu
(
"user"
,
t
(
"my account"
),
"user_page"
,
8
,
1
);
}
if
(
user_access
(
"administer users"
))
{
menu
(
"admin/user"
,
t
(
"accounts"
),
"user_admin"
,
2
);
...
...
modules/user/user.module
View file @
5963759e
...
...
@@ -402,6 +402,9 @@ function user_link($type) {
menu
(
"user/edit"
,
t
(
"edit account"
),
"user_page"
,
0
);
menu
(
"user/logout"
,
t
(
"log out"
),
"user_page"
,
10
);
}
else
{
menu
(
"user"
,
t
(
"my account"
),
"user_page"
,
8
,
1
);
}
if
(
user_access
(
"administer users"
))
{
menu
(
"admin/user"
,
t
(
"accounts"
),
"user_admin"
,
2
);
...
...
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