diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-01-21 09:26:06 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-01-21 09:26:06 +0000 |
commit | 7cc7b405e323f36037dab894b69d6fd739915d5d (patch) | |
tree | c06aa86ab4fa2987abea3ef682114446122aa7d5 /modules/drupal.module | |
parent | ccb69d763b2517207e13136007fad973b61ecd26 (diff) | |
download | brdo-7cc7b405e323f36037dab894b69d6fd739915d5d.tar.gz brdo-7cc7b405e323f36037dab894b69d6fd739915d5d.tar.bz2 |
- fixed some bugs in the new comment/discussion code and added a few
enhancements
Diffstat (limited to 'modules/drupal.module')
-rw-r--r-- | modules/drupal.module | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/drupal.module b/modules/drupal.module index 113cbe95e..8e7cc249c 100644 --- a/modules/drupal.module +++ b/modules/drupal.module @@ -6,7 +6,7 @@ include_once "includes/common.inc"; include_once "includes/comment.inc"; function drupal_render($id, $cid) { - global $theme, $threshold, $mode, $order, $user; + global $theme, $user; $output = " <P>Drupal is the English pronunciation for the Dutch word 'druppel' which stands for 'drop'. Drupal is a full-featured content management/discussion engine suitable to setup a news-driven community or portal site. Drupal aims towards easy installation, excessive configuration and fine-grained maintenance capabilities. Due to its modular design drupal is flexible and easy to adapt or extend.</P>\n"; $output .= " <P>Drupal is primarily written by Dries Buytaert (dries_at_drop.org) and build after Slash (<A HREF=\"http://slashcode.com/\">http://slashcode.com/</A>) and Scoop (<A HREF=\"http://scoop.kuro5hin.org/\">http://scoop.kuro5hin.org/</A>). The source code is available under terms of GNU General Public License (GPL).</P>\n"; @@ -35,9 +35,6 @@ function drupal_render($id, $cid) { print "<H3>Comments</H3>\n"; - // Display 'comment control'-box: - if ($user->id) $theme->controls($threshold, $mode, $order); - // Display comments: comment_render($id, $cid); } @@ -59,7 +56,7 @@ function drupal_page() { comment_reply($pid, $id); $theme->footer(); break; - case "Update": + case "Update settings": comment_settings($mode, $order, $threshold); $theme->header(); drupal_render($id, $cid); |