- Patch #351444 by David_Rothstein: chameleon and marvin themes did not show comment signatures.

merge-requests/26/head
Dries Buytaert 2008-12-27 10:09:14 +00:00
parent 445823f6bb
commit 89e53ea6c3
1 changed files with 2 additions and 2 deletions

View File

@ -165,10 +165,10 @@ function chameleon_comment($comment, $node, $links = array()) {
$output = "<div class=\"comment" . ' ' . $comment->status . "\">\n";
$output .= " <h3 class=\"title\">" . l($comment->subject, $_GET['q'], array('fragment' => "comment-$comment->cid")) . "</h3>\n";
$output .= " <div class=\"content\">" . $comment->comment;
if (!empty($signature)) {
if (!empty($comment->signature)) {
$output .= " <div class=\"clear-block\">";
$output .= "<div>—</div>\n";
$output .= $signature . "\n";
$output .= $comment->signature . "\n";
$output .= " </div>\n";
}
$output .= " </div>\n";