diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-08-25 16:57:55 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-08-25 16:57:55 +0000 |
commit | 2e22798a8d2fdda43c43936aef8e37c62314aee4 (patch) | |
tree | ee4553a77e97b8491f7977f81c2890c6bf4d8db5 /modules/queue.module | |
parent | 9abe339c99a5596c8c3503fa62ecd17e4bcb74ab (diff) | |
download | brdo-2e22798a8d2fdda43c43936aef8e37c62314aee4.tar.gz brdo-2e22798a8d2fdda43c43936aef8e37c62314aee4.tar.bz2 |
- More help system updates by Michael F.
Diffstat (limited to 'modules/queue.module')
-rw-r--r-- | modules/queue.module | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/modules/queue.module b/modules/queue.module index e79db77f2..4324cd61f 100644 --- a/modules/queue.module +++ b/modules/queue.module @@ -2,9 +2,26 @@ // $Id$ function queue_system($field){ - $system["description"] = t("Enables content to be moderated by the community."); - $system["admin_help"] = t("The queue provides a way for your users to vote on submitted content. This is called <b>moderation</b>. Users can moderate a post up (give it a point), or down (subtract a point). The settings below give you control over how many points are required for the status of a post to be automatically changed. See individual items for details."); - return $system[$field]; + $output = ""; + + if ($field == "description") {$output = queue_help("admin/system/modules"); } + else if ($field == "admin_help") {$output = queue_help("admin/system/modules/queue"); }; + + return $output; +} + +function queue_help($section) { + $output = ""; + + switch ($section) { + case 'admin/system/modules': + $output = "Enables content to be moderated by the community."; + break; + case 'admin/system/modules/queue': + $output = "The queue provides a way for your users to vote on submitted content. This is called <b>moderation</b>. Users can moderate a post up (give it a point), or down (subtract a point). The settings below give you control over how many points are required for the status of a post to be automatically changed. See individual items for details."; + break; + } + return t($output); } function queue_settings() { |