summaryrefslogtreecommitdiff
path: root/modules/drupal
diff options
context:
space:
mode:
Diffstat (limited to 'modules/drupal')
-rw-r--r--modules/drupal/drupal.module16
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/drupal/drupal.module b/modules/drupal/drupal.module
index 64709d4aa..3ffbf1776 100644
--- a/modules/drupal/drupal.module
+++ b/modules/drupal/drupal.module
@@ -1,5 +1,13 @@
<?php
+function drupal_link($type) {
+ if ($type == "page") {
+ $links[] = "<a href=\"module.php?mod=drupal\">drupal engine</a>";
+ }
+
+ return $links ? $links : array();
+}
+
function drupal_page() {
global $theme, $user;
@@ -10,14 +18,6 @@ function drupal_page() {
$output .= " <P>We don't have a real demo site yet but Drupal is used by (and created for) <A HREF=\"http://drop.org/\">http://drop.org/</A>. Create an account, play with it for a bit, read the <A HREF=\"node.php?title=drupal+handbook\">documentation</A> and spend some time getting used to it.</P>\n";
$theme->box("Drupal", $output);
-/*
- unset($output);
- $handle = opendir("drupal");
- while ($file = readdir($handle)) if (ereg(".jpg", $file) || ereg(".gif", $file)) $output .= " <LI><SMALL><A HREF=\"drupal/$file\">$file</A></SMALL></LI>\n";
- closedir($handle);
- $theme->box("Screenshots", $output);
-*/
-
$output = "<H3>Download Drupal</H3>\n";
$output .= " <LI><A HREF=\"drupal/drupal-2.00.tgz\">Drupal 2.00</A> (2001/03/15 - latest version)</LI>\n";
$output .= " <LI>Drupal 1.00 (2001/01/15)</LI>\n";