From 38aaf5f35d8bc51f6792989a1a7732be5a1e7676 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 31 May 2002 20:29:30 +0000 Subject: - Added missing translations and the like. --- modules/comment/comment.module | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index baefa295c..0f11bec1d 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -332,14 +332,14 @@ function comment_threshold($threshold) { function comment_mode($mode) { global $cmodes; - foreach ($cmodes as $key => $value) $options .= " \n"; + foreach ($cmodes as $key => $value) $options .= " \n"; return "\n"; } function comment_order($order) { global $corder; - foreach ($corder as $key=>$value) $options .= " \n"; + foreach ($corder as $key=>$value) $options .= " \n"; return "\n"; } @@ -418,7 +418,7 @@ function comment_view($comment, $folded = 0) { $theme->comment($comment, $folded); } else { - print l(check_output($comment->subject), array("id" => $comment->nid, "cid" => $comment->cid), "node", $comment->cid) ." by ". format_name($comment) ."

"; + print l(check_output($comment->subject), array("id" => $comment->nid, "cid" => $comment->cid), "node", $comment->cid) ." ". t("by") ." ". format_name($comment) ."

"; } } @@ -518,10 +518,10 @@ function comment_render($nid, $cid = 0) { if ($mode == 1) { if (db_result($result)) { print "\n"; - print " \n"; + print " \n"; while ($comment = db_fetch_object($result)) { if (comment_visible($comment, $threshold)) { - print " \n"; + print " \n"; } } print "
SubjectAuthorDateScore
". t("Subject") ."". t("Author") ."". t("Date") ."
". l(check_output($comment->subject), array("id" => $comment->nid, "cid" => $comment->cid), "node", $comment->cid) ."". format_name($comment) ."". format_date($comment->timestamp, "small") ."$comment->score
". l(check_output($comment->subject), array("id" => $comment->nid, "cid" => $comment->cid), "node", $comment->cid) ."". format_name($comment) ."". format_date($comment->timestamp, "small") ."
\n"; @@ -702,7 +702,7 @@ function comment_page() { case t("Update settings"): global $mode, $order, $threshold; comment_settings(check_query($mode), check_query($order), check_query($threshold)); - drupal_goto(drupal_url(array("id" => $edit["nid"]), "node")); + drupal_goto(drupal_url(array("id" => $edit["nid"], "mode" => $mode, "order" => $order), "node")); break; default: } -- cgit v1.2.3