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
297
Merge Requests
297
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
a185443e
Commit
a185443e
authored
Oct 12, 2004
by
Steven Wittens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#11503
: consistency improvements by Stefan
parent
2c4a82bd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
modules/comment.module
modules/comment.module
+2
-2
modules/comment/comment.module
modules/comment/comment.module
+2
-2
modules/user.module
modules/user.module
+1
-1
modules/user/user.module
modules/user/user.module
+1
-1
No files found.
modules/comment.module
View file @
a185443e
...
...
@@ -955,7 +955,7 @@ function comment_admin_edit($cid) {
$form
.
=
form_textfield
(
t
(
'Subject'
),
'subject'
,
$comment
->
subject
,
70
,
128
);
$form
.
=
form_textarea
(
t
(
'Comment'
),
'comment'
,
$comment
->
comment
,
70
,
15
,
''
);
$form
.
=
filter_form
(
'format'
,
$comment
->
format
);
$form
.
=
form_radios
(
t
(
'Status'
),
'status'
,
$comment
->
status
,
array
(
t
(
'
published'
),
t
(
'n
ot published'
)));
$form
.
=
form_radios
(
t
(
'Status'
),
'status'
,
$comment
->
status
,
array
(
t
(
'
Published'
),
t
(
'N
ot published'
)));
$form
.
=
form_hidden
(
'cid'
,
$cid
);
$form
.
=
form_submit
(
t
(
'Submit'
));
print
theme
(
'page'
,
form
(
$form
));
...
...
@@ -1030,7 +1030,7 @@ function comment_admin_overview($type = 'new') {
$rows
[]
=
array
(
l
(
$comment
->
subject
,
"node/
$comment->nid
"
,
array
(
'title'
=>
htmlspecialchars
(
truncate_utf8
(
$comment
->
comment
,
128
))),
NULL
,
"comment-
$comment->cid
"
)
.
" "
.
(
node_is_new
(
$comment
->
nid
,
$comment
->
timestamp
)
?
theme
(
'mark'
)
:
''
),
format_name
(
$comment
),
(
$comment
->
status
==
0
?
t
(
'
published'
)
:
t
(
'n
ot published'
)),
(
$comment
->
status
==
0
?
t
(
'
Published'
)
:
t
(
'N
ot published'
)),
format_date
(
$comment
->
timestamp
,
'small'
),
l
(
t
(
'edit'
),
"admin/comment/edit/
$comment->cid
"
),
l
(
t
(
'delete'
),
"admin/comment/delete/
$comment->cid
"
)
...
...
modules/comment/comment.module
View file @
a185443e
...
...
@@ -955,7 +955,7 @@ function comment_admin_edit($cid) {
$form
.
=
form_textfield
(
t
(
'Subject'
),
'subject'
,
$comment
->
subject
,
70
,
128
);
$form
.
=
form_textarea
(
t
(
'Comment'
),
'comment'
,
$comment
->
comment
,
70
,
15
,
''
);
$form
.
=
filter_form
(
'format'
,
$comment
->
format
);
$form
.
=
form_radios
(
t
(
'Status'
),
'status'
,
$comment
->
status
,
array
(
t
(
'
published'
),
t
(
'n
ot published'
)));
$form
.
=
form_radios
(
t
(
'Status'
),
'status'
,
$comment
->
status
,
array
(
t
(
'
Published'
),
t
(
'N
ot published'
)));
$form
.
=
form_hidden
(
'cid'
,
$cid
);
$form
.
=
form_submit
(
t
(
'Submit'
));
print
theme
(
'page'
,
form
(
$form
));
...
...
@@ -1030,7 +1030,7 @@ function comment_admin_overview($type = 'new') {
$rows
[]
=
array
(
l
(
$comment
->
subject
,
"node/
$comment->nid
"
,
array
(
'title'
=>
htmlspecialchars
(
truncate_utf8
(
$comment
->
comment
,
128
))),
NULL
,
"comment-
$comment->cid
"
)
.
" "
.
(
node_is_new
(
$comment
->
nid
,
$comment
->
timestamp
)
?
theme
(
'mark'
)
:
''
),
format_name
(
$comment
),
(
$comment
->
status
==
0
?
t
(
'
published'
)
:
t
(
'n
ot published'
)),
(
$comment
->
status
==
0
?
t
(
'
Published'
)
:
t
(
'N
ot published'
)),
format_date
(
$comment
->
timestamp
,
'small'
),
l
(
t
(
'edit'
),
"admin/comment/edit/
$comment->cid
"
),
l
(
t
(
'delete'
),
"admin/comment/delete/
$comment->cid
"
)
...
...
modules/user.module
View file @
a185443e
...
...
@@ -1393,7 +1393,7 @@ function user_admin_perm($edit = array()) {
}
// Render role/permission overview:
$header
=
array_merge
(
array
(
t
(
'
p
ermission'
)),
$role_names
);
$header
=
array_merge
(
array
(
t
(
'
P
ermission'
)),
$role_names
);
foreach
(
module_list
()
as
$module
)
{
if
(
$perms
=
module_invoke
(
$module
,
'perm'
))
{
...
...
modules/user/user.module
View file @
a185443e
...
...
@@ -1393,7 +1393,7 @@ function user_admin_perm($edit = array()) {
}
// Render role/permission overview:
$header
=
array_merge
(
array
(
t
(
'
p
ermission'
)),
$role_names
);
$header
=
array_merge
(
array
(
t
(
'
P
ermission'
)),
$role_names
);
foreach
(
module_list
()
as
$module
)
{
if
(
$perms
=
module_invoke
(
$module
,
'perm'
))
{
...
...
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