From 7cc7b405e323f36037dab894b69d6fd739915d5d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 21 Jan 2001 09:26:06 +0000 Subject: - fixed some bugs in the new comment/discussion code and added a few enhancements --- modules/drupal/drupal.module | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'modules/drupal') diff --git a/modules/drupal/drupal.module b/modules/drupal/drupal.module index 113cbe95e..8e7cc249c 100644 --- a/modules/drupal/drupal.module +++ b/modules/drupal/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 = "

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.

\n"; $output .= "

Drupal is primarily written by Dries Buytaert (dries_at_drop.org) and build after Slash (http://slashcode.com/) and Scoop (http://scoop.kuro5hin.org/). The source code is available under terms of GNU General Public License (GPL).

\n"; @@ -35,9 +35,6 @@ function drupal_render($id, $cid) { print "

Comments

\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); -- cgit v1.2.3