Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
c5637a0a
Commit
c5637a0a
authored
May 31, 2003
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Small usability improvement by Al.
parent
8a9ff424
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/comment.module
modules/comment.module
+1
-1
modules/comment/comment.module
modules/comment/comment.module
+1
-1
No files found.
modules/comment.module
View file @
c5637a0a
...
...
@@ -647,7 +647,7 @@ function comment_link($type, $node = 0, $main = 0) {
if
(
$node
->
comment
==
2
)
{
if
(
user_access
(
"post comments"
))
{
$links
[]
=
l
(
t
(
"add new comment"
),
"comment/reply/
$node->nid
"
,
array
(
"title"
=>
t
(
"Share your thoughts and opinions related to this posting."
)));
$links
[]
=
l
(
t
(
"add new comment"
),
"comment/reply/
$node->nid
#comment
"
,
array
(
"title"
=>
t
(
"Share your thoughts and opinions related to this posting."
)));
}
else
{
$links
[]
=
theme
(
"comment_post_forbidden"
);
...
...
modules/comment/comment.module
View file @
c5637a0a
...
...
@@ -647,7 +647,7 @@ function comment_link($type, $node = 0, $main = 0) {
if
(
$node
->
comment
==
2
)
{
if
(
user_access
(
"post comments"
))
{
$links
[]
=
l
(
t
(
"add new comment"
),
"comment/reply/
$node->nid
"
,
array
(
"title"
=>
t
(
"Share your thoughts and opinions related to this posting."
)));
$links
[]
=
l
(
t
(
"add new comment"
),
"comment/reply/
$node->nid
#comment
"
,
array
(
"title"
=>
t
(
"Share your thoughts and opinions related to this posting."
)));
}
else
{
$links
[]
=
theme
(
"comment_post_forbidden"
);
...
...
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