comment: Add <a name> tag in threaded mode

This commit is contained in:
Alexander Nicolaysen Sørnes
2008-01-20 17:44:48 +01:00
committed by Chris Morgan
parent 89299baded
commit 4297db9786

View File

@@ -359,7 +359,9 @@ class Comment {
Comment::view_app_comment($oRow);
} else
{
echo '<li><a href="commentview.php?iAppId='.$oRow->appId.'&amp;iVersionId='.$oRow->versionId.'&iThreadId='.$oRow->parentId.'"> '.
echo "<li><a href=\"commentview.php?iAppId={$oRow->appId}&amp;iVersionId=".
"{$oRow->versionId}&iThreadId={$oRow->parentId}\" ".
"name=\"Comment-{$oRow->commentId}\"> ".
$oRow->subject.' </a> by '.forum_lookup_user($oRow->userId).' on '.$oRow->time.' </li>'."\n";
}