Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
776e6501
Commit
776e6501
authored
Jan 13, 2006
by
Dries Buytaert
Browse files
- Patch
#44210
by DriesK: made it possible to edit blocked users.
parent
155aff37
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/user.module
View file @
776e6501
...
...
@@ -753,7 +753,7 @@ function user_menu($may_cache) {
'type'
=>
MENU_CALLBACK
,
'callback'
=>
'user_view'
,
'callback arguments'
=>
arg
(
1
),
'access'
=>
$view_access
);
if
(
$user_exists
!==
FALSE
)
{
if
(
$user_exists
!==
FALSE
||
$admin_access
)
{
$items
[]
=
array
(
'path'
=>
'user/'
.
arg
(
1
)
.
'/view'
,
'title'
=>
t
(
'view'
),
'access'
=>
$view_access
,
'type'
=>
MENU_DEFAULT_LOCAL_TASK
,
'weight'
=>
-
10
);
$items
[]
=
array
(
'path'
=>
'user/'
.
arg
(
1
)
.
'/edit'
,
'title'
=>
t
(
'edit'
),
...
...
modules/user/user.module
View file @
776e6501
...
...
@@ -753,7 +753,7 @@ function user_menu($may_cache) {
'type'
=>
MENU_CALLBACK
,
'callback'
=>
'user_view'
,
'callback arguments'
=>
arg
(
1
),
'access'
=>
$view_access
);
if
(
$user_exists
!==
FALSE
)
{
if
(
$user_exists
!==
FALSE
||
$admin_access
)
{
$items
[]
=
array
(
'path'
=>
'user/'
.
arg
(
1
)
.
'/view'
,
'title'
=>
t
(
'view'
),
'access'
=>
$view_access
,
'type'
=>
MENU_DEFAULT_LOCAL_TASK
,
'weight'
=>
-
10
);
$items
[]
=
array
(
'path'
=>
'user/'
.
arg
(
1
)
.
'/edit'
,
'title'
=>
t
(
'edit'
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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