From de5b9a168daeef12b6f7bcf6e43b767a2d7f35d8 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Mon, 22 Apr 2002 09:05:36 +0000 Subject: - bug fixes: * fixed mails not being parsed properly. * tracker now shows user name when you view your own recent comments. * link to submission queue now points to the right place. * fixed jabber module. * theme is now activated when changed. - applied Gerhards coding style patch. --- modules/queue.module | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/queue.module') diff --git a/modules/queue.module b/modules/queue.module index 00de652d3..a37cf49dd 100644 --- a/modules/queue.module +++ b/modules/queue.module @@ -9,8 +9,8 @@ function queue_conf_options() { $output .= form_select(t("Post threshold"), "queue_threshold_post", variable_get("queue_threshold_post", 4), $threshold_post, t("If new submissions are subject to moderation, select a post threshold.")); $output .= form_select(t("Dump threshold"), "queue_threshold_dump", variable_get("queue_threshold_dump", -2), $threshold_dump, t("If new submissions are subject to moderation, select a dump threshold.")); - $output .= form_select(t("Expiration threshold"),"queue_threshold_expire", variable_get("queue_threshold_expire", 8), $threshold_expire, t("If new submissions are subject to moderation, select an expiration threshold.")); - $output .= form_select(t("Show comments"),"queue_show_comments", variable_get("queue_show_comments", 1), array(0 => "Disabled", 1 => "Enabled"), t("If enabled comments will be shown below the moderation form.")); + $output .= form_select(t("Expiration threshold"), "queue_threshold_expire", variable_get("queue_threshold_expire", 8), $threshold_expire, t("If new submissions are subject to moderation, select an expiration threshold.")); + $output .= form_select(t("Show comments"), "queue_show_comments", variable_get("queue_show_comments", 1), array(0 => "Disabled", 1 => "Enabled"), t("If enabled comments will be shown below the moderation form.")); return $output; } @@ -21,7 +21,7 @@ function queue_perm() { function queue_link($type) { if ($type == "menu.view" && user_access("access submission queue")) { - $links[] = la(t("view submissions"), array("mod" => "queue"), t("Moderate the content in the submission queue."))." (". queue_count() .")"; + $links[] = lm(t("view submissions"), array("mod" => "queue"), t("Moderate the content in the submission queue.")) ." (". queue_count() .")"; } return $links ? $links : array(); @@ -84,10 +84,10 @@ function queue_overview() { $output .= " ". t("Subject") ."". t("Author") ."". t("Type") ."". t("Score") .""; while ($node = db_fetch_object($result)) { if ($user->uid == $node->uid || field_get($node->users, $user->uid)) { - $output .= " ".la(check_output($node->title), array("mod" => "queue", "op" => "view", "id" => $node->nid))."". format_name($node) ."". module_invoke($node->type, "node", "name") ."". queue_score($node->nid) .""; + $output .= " ". la(check_output($node->title), array("mod" => "queue", "op" => "view", "id" => $node->nid)) ."". format_name($node) ."". module_invoke($node->type, "node", "name") ."". queue_score($node->nid) .""; } else { - $output .= " ".lm(check_output($node->title), array("mod" => "queue", "op" => "view", "id" => $node->nid))."". format_name($node) ."". module_invoke($node->type, "node", "name") ."".lm(t("vote"), array("mod" => "queue", "op" => "view", "id" => $node->nid)).""; + $output .= " ". lm(check_output($node->title), array("mod" => "queue", "op" => "view", "id" => $node->nid)) ."". format_name($node) ."". module_invoke($node->type, "node", "name") ."". lm(t("vote"), array("mod" => "queue", "op" => "view", "id" => $node->nid)) .""; } if ($node->teaser) { -- cgit v1.2.3