Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
220
Merge Requests
220
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
16d3f9bc
Commit
16d3f9bc
authored
Sep 20, 2004
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#10845
by James: fixed the user/help page.
parent
228b3c7c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
modules/user.module
modules/user.module
+4
-2
modules/user/user.module
modules/user/user.module
+4
-2
No files found.
modules/user.module
View file @
16d3f9bc
...
...
@@ -601,6 +601,8 @@ function user_menu($may_cache) {
'callback'
=>
'user_page'
,
'access'
=>
$user
->
uid
==
0
&&
variable_get
(
'user_register'
,
1
),
'type'
=>
MENU_LOCAL_TASK
);
$items
[]
=
array
(
'path'
=>
'user/password'
,
'title'
=>
t
(
'request new password'
),
'callback'
=>
'user_page'
,
'access'
=>
$user
->
uid
==
0
,
'type'
=>
MENU_LOCAL_TASK
);
$items
[]
=
array
(
'path'
=>
'user/help'
,
'title'
=>
t
(
'help'
),
'callback'
=>
'user_help_page'
,
'type'
=>
MENU_CALLBACK
);
$items
[]
=
array
(
'path'
=>
'admin/user'
,
'title'
=>
t
(
'users'
),
'callback'
=>
'user_admin'
,
'access'
=>
$access
);
...
...
@@ -1634,10 +1636,10 @@ function user_help($section) {
}
/**
* Menu callback; Prints user-specific
information from admin/help
.
* Menu callback; Prints user-specific
help information
.
*/
function
user_help_page
()
{
print
theme
(
'page'
,
user_help
(
'
admin
/help#user'
));
print
theme
(
'page'
,
user_help
(
'
user
/help#user'
));
}
/**
...
...
modules/user/user.module
View file @
16d3f9bc
...
...
@@ -601,6 +601,8 @@ function user_menu($may_cache) {
'callback'
=>
'user_page'
,
'access'
=>
$user
->
uid
==
0
&&
variable_get
(
'user_register'
,
1
),
'type'
=>
MENU_LOCAL_TASK
);
$items
[]
=
array
(
'path'
=>
'user/password'
,
'title'
=>
t
(
'request new password'
),
'callback'
=>
'user_page'
,
'access'
=>
$user
->
uid
==
0
,
'type'
=>
MENU_LOCAL_TASK
);
$items
[]
=
array
(
'path'
=>
'user/help'
,
'title'
=>
t
(
'help'
),
'callback'
=>
'user_help_page'
,
'type'
=>
MENU_CALLBACK
);
$items
[]
=
array
(
'path'
=>
'admin/user'
,
'title'
=>
t
(
'users'
),
'callback'
=>
'user_admin'
,
'access'
=>
$access
);
...
...
@@ -1634,10 +1636,10 @@ function user_help($section) {
}
/**
* Menu callback; Prints user-specific
information from admin/help
.
* Menu callback; Prints user-specific
help information
.
*/
function
user_help_page
()
{
print
theme
(
'page'
,
user_help
(
'
admin
/help#user'
));
print
theme
(
'page'
,
user_help
(
'
user
/help#user'
));
}
/**
...
...
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