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
cd31f113
Commit
cd31f113
authored
Mar 10, 2003
by
Dries
Browse files
- Fixed request 583. Patch by Al.
parent
34aeff6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/user.module
View file @
cd31f113
...
@@ -1019,7 +1019,7 @@ function user_view($uid = 0) {
...
@@ -1019,7 +1019,7 @@ function user_view($uid = 0) {
if
(
$user
->
uid
&&
$user
->
uid
==
$uid
)
{
if
(
$user
->
uid
&&
$user
->
uid
==
$uid
)
{
$output
=
form_item
(
t
(
"Name"
),
"
$user->name
(
$user->init
)"
);
$output
=
form_item
(
t
(
"Name"
),
"
$user->name
(
$user->init
)"
);
$output
.
=
form_item
(
t
(
"E-mail address"
),
$user
->
mail
);
$output
.
=
form_item
(
t
(
"E-mail address"
),
$user
->
mail
,
"Please note that only you can see your own e-mail address - it is not publicly visible."
);
foreach
(
module_list
()
as
$module
)
{
foreach
(
module_list
()
as
$module
)
{
if
(
module_hook
(
$module
,
"user"
))
{
if
(
module_hook
(
$module
,
"user"
))
{
...
...
modules/user/user.module
View file @
cd31f113
...
@@ -1019,7 +1019,7 @@ function user_view($uid = 0) {
...
@@ -1019,7 +1019,7 @@ function user_view($uid = 0) {
if
(
$user
->
uid
&&
$user
->
uid
==
$uid
)
{
if
(
$user
->
uid
&&
$user
->
uid
==
$uid
)
{
$output
=
form_item
(
t
(
"Name"
),
"
$user->name
(
$user->init
)"
);
$output
=
form_item
(
t
(
"Name"
),
"
$user->name
(
$user->init
)"
);
$output
.
=
form_item
(
t
(
"E-mail address"
),
$user
->
mail
);
$output
.
=
form_item
(
t
(
"E-mail address"
),
$user
->
mail
,
"Please note that only you can see your own e-mail address - it is not publicly visible."
);
foreach
(
module_list
()
as
$module
)
{
foreach
(
module_list
()
as
$module
)
{
if
(
module_hook
(
$module
,
"user"
))
{
if
(
module_hook
(
$module
,
"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