comment: Add <a name> tag in threaded mode
This commit is contained in:
committed by
Chris Morgan
parent
89299baded
commit
4297db9786
@@ -359,8 +359,10 @@ class Comment {
|
|||||||
Comment::view_app_comment($oRow);
|
Comment::view_app_comment($oRow);
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
echo '<li><a href="commentview.php?iAppId='.$oRow->appId.'&iVersionId='.$oRow->versionId.'&iThreadId='.$oRow->parentId.'"> '.
|
echo "<li><a href=\"commentview.php?iAppId={$oRow->appId}&iVersionId=".
|
||||||
$oRow->subject.' </a> by '.forum_lookup_user($oRow->userId).' on '.$oRow->time.' </li>'."\n";
|
"{$oRow->versionId}&iThreadId={$oRow->parentId}\" ".
|
||||||
|
"name=\"Comment-{$oRow->commentId}\"> ".
|
||||||
|
$oRow->subject.' </a> by '.forum_lookup_user($oRow->userId).' on '.$oRow->time.' </li>'."\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
$hResult2 = Comment::grab_comments($oRow->versionId, $oRow->commentId);
|
$hResult2 = Comment::grab_comments($oRow->versionId, $oRow->commentId);
|
||||||
|
|||||||
Reference in New Issue
Block a user