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
ce3b6d4e
Commit
ce3b6d4e
authored
Sep 15, 2005
by
Dries
Browse files
- Patch
#28301
by jjeff: show tooltip when hovering over a permission. Temoprary
solution until we have a better permission page.
parent
5971f1e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/user.module
View file @
ce3b6d4e
...
...
@@ -1604,7 +1604,7 @@ function user_admin_perm() {
foreach
(
$permissions
as
$perm
)
{
$row
[]
=
array
(
'data'
=>
t
(
$perm
),
'class'
=>
'permission'
);
foreach
(
$role_names
as
$rid
=>
$name
)
{
$row
[]
=
form_checkbox
(
''
,
"
$rid
][
$perm
"
,
1
,
strstr
(
$role_permissions
[
$rid
],
$perm
));
$row
[]
=
form_checkbox
(
''
,
"
$rid
][
$perm
"
,
1
,
strstr
(
$role_permissions
[
$rid
],
$perm
)
,
NULL
,
array
(
'title'
=>
$name
.
': '
.
t
(
$perm
))
);
}
$rows
[]
=
$row
;
unset
(
$row
);
...
...
modules/user/user.module
View file @
ce3b6d4e
...
...
@@ -1604,7 +1604,7 @@ function user_admin_perm() {
foreach
(
$permissions
as
$perm
)
{
$row
[]
=
array
(
'data'
=>
t
(
$perm
),
'class'
=>
'permission'
);
foreach
(
$role_names
as
$rid
=>
$name
)
{
$row
[]
=
form_checkbox
(
''
,
"
$rid
][
$perm
"
,
1
,
strstr
(
$role_permissions
[
$rid
],
$perm
));
$row
[]
=
form_checkbox
(
''
,
"
$rid
][
$perm
"
,
1
,
strstr
(
$role_permissions
[
$rid
],
$perm
)
,
NULL
,
array
(
'title'
=>
$name
.
': '
.
t
(
$perm
))
);
}
$rows
[]
=
$row
;
unset
(
$row
);
...
...
Write
Preview
Supports
Markdown
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