From 9f044b7b73cafdff9630ecc9d2bd9de77ba62a16 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 24 Mar 2001 15:50:24 +0000 Subject: - updated drupal page --- modules/drupal/drupal.module | 57 ++++++-------------------------------------- 1 file changed, 7 insertions(+), 50 deletions(-) (limited to 'modules/drupal/drupal.module') diff --git a/modules/drupal/drupal.module b/modules/drupal/drupal.module index b4687a899..040b432c2 100644 --- a/modules/drupal/drupal.module +++ b/modules/drupal/drupal.module @@ -2,12 +2,11 @@ $module = array("page" => "drupal_page"); -include_once "includes/common.inc"; -include_once "includes/comment.inc"; - -function drupal_render($id, $cid) { +function drupal_page() { global $theme, $user; + $theme->header(); + $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"; $output .= "

We don't have a real demo site yet but drupal is used by (and created for) http://drop.org/. Create an account, play with it for a bit, read the documentation and spend some time getting used to it.

\n"; @@ -25,58 +24,16 @@ function drupal_render($id, $cid) { closedir($handle); $theme->box("Screenshots", $output); - $output = "

Documentation

\n"; + $output = "

Documentation

\n"; $output .= "
  • documentation
  • \n"; $output .= "
  • wishlist
  • \n"; - $output .= "

    Mailing list

    \n"; + $output .= "

    Mailing list

    \n"; $output .= "

    The drupal-support@drop.org list discusses drupal development. All submissions relevant to that, such as bug reports, enhancement ideas, patches or reports that a patch fixed a bug are appropriate.

    \n"; $output .= "
  • To subscribe to the drupal-support@drop.org mailing list, send an e-mail to drupal-support-request@drop.org with no subject and put subscribe in the body of your message.
  • \n"; $output .= "
  • To unsubscribe from the drupal-support@drop.org mailing list, send an e-mail to drupal-support-request@drop.org and put unsubscribe in the body of your mail.\n"; $theme->box("Support and development", $output); - - print "

    Comments

    \n"; - - // Display comments: - comment_render($id, $cid); -} - -function drupal_page() { - global $cid, $comment, $id, $op, $pid, $lid, $link, $mode, $order, $subject, $theme, $threshold; - - switch($op) { - case t("Preview comment"): - $theme->header(); - comment_preview($pid, $id, $subject, $comment); - $theme->footer(); - break; - case t("Post comment"): - comment_post($pid, $id, $subject, $comment); - $theme->header(); - drupal_render($id, $cid); - $theme->footer(); - break; - case "reply": - $theme->header(); - comment_reply($pid, $id); - $theme->footer(); - break; - case t("Update settings"): - comment_settings($mode, $order, $threshold); - $theme->header(); - drupal_render($id, $cid); - $theme->footer(); - break; - case t("Moderate comments"): - comment_moderate($moderate); - $theme->header(); - drupal_render($id, $cid); - $theme->footer(); - break; - default: - $theme->header(); - drupal_render($id, $cid); - $theme->footer(); - } + + $theme->footer(); } ?> \ No newline at end of file -- cgit v1.2.3