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
30fb2345
Commit
30fb2345
authored
Jan 05, 2004
by
Dries
Browse files
- Changed some boxes to fieldsets/lengeds.
parent
c2151b52
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/user.module
View file @
30fb2345
...
...
@@ -682,6 +682,8 @@ function user_login($edit = array(), $msg = "") {
}
$output
.
=
theme
(
"item_list"
,
$items
);
$output
=
form_group
(
t
(
'User login'
),
$output
);
return
form
(
$output
,
"post"
,
url
(
"user"
));
}
...
...
@@ -768,7 +770,7 @@ function user_pass($edit = array()) {
$items
[]
=
l
(
t
(
"Create new account"
),
"user/register"
);
}
$output
.
=
theme
(
"item_list"
,
$items
);
$output
=
form_group
(
t
(
'Request new password'
),
$output
);
return
form
(
$output
,
"post"
,
url
(
"user"
));
}
}
...
...
@@ -897,6 +899,7 @@ function user_register($edit = array()) {
$items
[]
=
l
(
t
(
"Request new password"
),
"user/password"
);
$items
[]
=
l
(
t
(
"Log in"
),
"user/login"
);
$output
.
=
theme
(
"item_list"
,
$items
);
$output
=
form_group
(
t
(
'Create new user account'
),
$output
);
return
form
(
$output
);
}
...
...
@@ -1032,11 +1035,11 @@ function user_view($uid = 0) {
print
theme
(
"page"
,
$output
,
$account
->
name
);
}
else
{
$output
=
theme
(
"box"
,
t
(
"User login"
),
user_login
()
)
;
$output
=
user_login
();
if
(
variable_get
(
"user_register"
,
1
))
{
$output
.
=
theme
(
"box"
,
t
(
"Create new user account"
),
user_register
()
)
;
$output
.
=
user_register
();
}
$output
.
=
theme
(
"box"
,
t
(
"Request new password"
),
user_pass
()
)
;
$output
.
=
user_pass
();
print
theme
(
"page"
,
$output
,
t
(
"User login"
));
}
...
...
modules/user/user.module
View file @
30fb2345
...
...
@@ -682,6 +682,8 @@ function user_login($edit = array(), $msg = "") {
}
$output
.
=
theme
(
"item_list"
,
$items
);
$output
=
form_group
(
t
(
'User login'
),
$output
);
return
form
(
$output
,
"post"
,
url
(
"user"
));
}
...
...
@@ -768,7 +770,7 @@ function user_pass($edit = array()) {
$items
[]
=
l
(
t
(
"Create new account"
),
"user/register"
);
}
$output
.
=
theme
(
"item_list"
,
$items
);
$output
=
form_group
(
t
(
'Request new password'
),
$output
);
return
form
(
$output
,
"post"
,
url
(
"user"
));
}
}
...
...
@@ -897,6 +899,7 @@ function user_register($edit = array()) {
$items
[]
=
l
(
t
(
"Request new password"
),
"user/password"
);
$items
[]
=
l
(
t
(
"Log in"
),
"user/login"
);
$output
.
=
theme
(
"item_list"
,
$items
);
$output
=
form_group
(
t
(
'Create new user account'
),
$output
);
return
form
(
$output
);
}
...
...
@@ -1032,11 +1035,11 @@ function user_view($uid = 0) {
print
theme
(
"page"
,
$output
,
$account
->
name
);
}
else
{
$output
=
theme
(
"box"
,
t
(
"User login"
),
user_login
()
)
;
$output
=
user_login
();
if
(
variable_get
(
"user_register"
,
1
))
{
$output
.
=
theme
(
"box"
,
t
(
"Create new user account"
),
user_register
()
)
;
$output
.
=
user_register
();
}
$output
.
=
theme
(
"box"
,
t
(
"Request new password"
),
user_pass
()
)
;
$output
.
=
user_pass
();
print
theme
(
"page"
,
$output
,
t
(
"User login"
));
}
...
...
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