summaryrefslogtreecommitdiff
path: root/modules/queue.module
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-02 19:13:45 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-02 19:13:45 +0000
commita4b5005640228b8f5cec843e46c152080f9ff523 (patch)
treed94ebdbc76f5c238d34220685256274d810375a3 /modules/queue.module
parentc3a36313aca1468b0e224f47d7f22d0025a8c798 (diff)
downloadbrdo-a4b5005640228b8f5cec843e46c152080f9ff523.tar.gz
brdo-a4b5005640228b8f5cec843e46c152080f9ff523.tar.bz2
- merged block and box modules. modules/box.module should be removed
or disabled as it will cause errors otherwise. - split status into status and custom. Status will turn the block on/off, and custom defined if the user can change the status. Requires sql update. - reintroduced user page to configure blocks.
Diffstat (limited to 'modules/queue.module')
-rw-r--r--modules/queue.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/queue.module b/modules/queue.module
index a37cf49dd..1d266b7dc 100644
--- a/modules/queue.module
+++ b/modules/queue.module
@@ -84,7 +84,7 @@ function queue_overview() {
$output .= " <tr><th>". t("Subject") ."</th><th>". t("Author") ."</th><th>". t("Type") ."</th><th>". t("Score") ."</th></tr>";
while ($node = db_fetch_object($result)) {
if ($user->uid == $node->uid || field_get($node->users, $user->uid)) {
- $output .= " <tr><td>". la(check_output($node->title), array("mod" => "queue", "op" => "view", "id" => $node->nid)) ."</td><td align=\"center\">". format_name($node) ."</td><td align=\"center\">". module_invoke($node->type, "node", "name") ."</td><td align=\"center\">". queue_score($node->nid) ."</td></tr>";
+ $output .= " <tr><td>". lm(check_output($node->title), array("mod" => "queue", "op" => "view", "id" => $node->nid)) ."</td><td align=\"center\">". format_name($node) ."</td><td align=\"center\">". module_invoke($node->type, "node", "name") ."</td><td align=\"center\">". queue_score($node->nid) ."</td></tr>";
}
else {
$output .= " <tr><td>". lm(check_output($node->title), array("mod" => "queue", "op" => "view", "id" => $node->nid)) ."</td><td align=\"center\">". format_name($node) ."</td><td align=\"center\">". module_invoke($node->type, "node", "name") ."</td><td align=\"center\">". lm(t("vote"), array("mod" => "queue", "op" => "view", "id" => $node->nid)) ."</td></tr>";