summaryrefslogtreecommitdiff
path: root/modules/queue.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-04-14 20:46:41 +0000
committerDries Buytaert <dries@buytaert.net>2002-04-14 20:46:41 +0000
commitd8cd54969c856531e002136f52bc52e7cbcbf49f (patch)
tree8af1ccc6b65d736855ffa81ce2fe3957725d44c6 /modules/queue.module
parente5fd6713078d2db7145aac80b4743048a2432fc8 (diff)
downloadbrdo-d8cd54969c856531e002136f52bc52e7cbcbf49f.tar.gz
brdo-d8cd54969c856531e002136f52bc52e7cbcbf49f.tar.bz2
- Added Marco's long-awaited taxonmy module and patches - a replacement
for the meta system. The patches add some extra functionality to the comment system (for example, comments can be set read-only) and fix a couple of small problems. + I integrated the required SQL updates from the varius *.mysql files into the "update.php" script. Upgrading should be easy ... + I did not apply/commit the "user.diff" as requested by Marco ... + I didn't know what to do with "forum.module" and "forum2.module": what do you want me to do with it Marco? Which one should go in? + Can we remove "node_index()" now; both from "node.module" and the themes? + Thanks Marco!
Diffstat (limited to 'modules/queue.module')
-rw-r--r--modules/queue.module14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/queue.module b/modules/queue.module
index f5bd3dbdc..81cbcd562 100644
--- a/modules/queue.module
+++ b/modules/queue.module
@@ -121,28 +121,28 @@ function queue_view($nid) {
/*
** If it is a valid vote, record it.
*/
-
+
queue_vote($node, $edit["vote"]);
-
+
$output = t("Your vote has been recorded.");
}
else {
/*
** Display some explanation or voting guidelines:
*/
-
+
$output .= "<p>". t("When new content get submitted it goes to the submission queue. Most, if not all, registered users can access this queue and can vote whether they think the content should be approved or not. When enough people vote to approve the content, it is pushed over the threshold and up it goes. On the other hand, when too many people voted to drop some content, the content will get trashed.") ."</p>";
-
+
/*
** Display a voting form:
*/
-
+
$output .= form_select(t("Your vote"), "vote", "", $votes);
$output .= form_hidden("id", $node->nid);
$output .= form_submit(t("Vote"));
-
+
$output = form($output);
- }
+ }
}
$theme->header();