Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
cc59e1f1
Commit
cc59e1f1
authored
May 13, 2002
by
Kjartan Mannes
Browse files
- fixing bug
#179
parent
741a0cc5
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/tracker.module
View file @
cc59e1f1
...
...
@@ -37,7 +37,7 @@ function tracker_comments($id = 0) {
$output
.
=
"<ul>"
;
while
(
$comment
=
db_fetch_object
(
$cresult
))
{
$output
.
=
" <li>"
.
l
(
check_output
(
$comment
->
subject
),
array
(
"id"
=>
$node
->
nid
,
"cid"
=>
$comment
->
cid
,
"pid"
=>
$comment
->
pid
),
"node"
,
$comment
->
cid
)
.
" by "
.
format_name
(
$comment
->
name
)
.
" ("
.
t
(
"replies"
)
.
": "
.
comment_num_replies
(
$comment
->
cid
)
.
") "
.
(
comment_is_new
(
$comment
)
?
"<span style=
\"
color: red;
\"
>*</span>"
:
""
)
.
"</li>
\n
"
;
$output
.
=
" <li>"
.
l
(
check_output
(
$comment
->
subject
),
array
(
"id"
=>
$node
->
nid
,
"cid"
=>
$comment
->
cid
,
"pid"
=>
$comment
->
pid
),
"node"
,
$comment
->
cid
)
.
" by "
.
format_name
(
$comment
)
.
" ("
.
t
(
"replies"
)
.
": "
.
comment_num_replies
(
$comment
->
cid
)
.
") "
.
(
comment_is_new
(
$comment
)
?
"<span style=
\"
color: red;
\"
>*</span>"
:
""
)
.
"</li>
\n
"
;
}
$output
.
=
" </ul>
\n
"
;
}
...
...
modules/tracker/tracker.module
View file @
cc59e1f1
...
...
@@ -37,7 +37,7 @@ function tracker_comments($id = 0) {
$output
.
=
"<ul>"
;
while
(
$comment
=
db_fetch_object
(
$cresult
))
{
$output
.
=
" <li>"
.
l
(
check_output
(
$comment
->
subject
),
array
(
"id"
=>
$node
->
nid
,
"cid"
=>
$comment
->
cid
,
"pid"
=>
$comment
->
pid
),
"node"
,
$comment
->
cid
)
.
" by "
.
format_name
(
$comment
->
name
)
.
" ("
.
t
(
"replies"
)
.
": "
.
comment_num_replies
(
$comment
->
cid
)
.
") "
.
(
comment_is_new
(
$comment
)
?
"<span style=
\"
color: red;
\"
>*</span>"
:
""
)
.
"</li>
\n
"
;
$output
.
=
" <li>"
.
l
(
check_output
(
$comment
->
subject
),
array
(
"id"
=>
$node
->
nid
,
"cid"
=>
$comment
->
cid
,
"pid"
=>
$comment
->
pid
),
"node"
,
$comment
->
cid
)
.
" by "
.
format_name
(
$comment
)
.
" ("
.
t
(
"replies"
)
.
": "
.
comment_num_replies
(
$comment
->
cid
)
.
") "
.
(
comment_is_new
(
$comment
)
?
"<span style=
\"
color: red;
\"
>*</span>"
:
""
)
.
"</li>
\n
"
;
}
$output
.
=
" </ul>
\n
"
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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