From eacfc0425d8e6905e048f3ab934e4baa00b0abb3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 30 Jun 2001 17:51:04 +0000 Subject: - Added 'drupal' link to pages. --- modules/drupal/drupal.module | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'modules/drupal') 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 @@ drupal engine"; + } + + return $links ? $links : array(); +} + function drupal_page() { global $theme, $user; @@ -10,14 +18,6 @@ function drupal_page() { $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"; $theme->box("Drupal", $output); -/* - unset($output); - $handle = opendir("drupal"); - while ($file = readdir($handle)) if (ereg(".jpg", $file) || ereg(".gif", $file)) $output .= "
  • $file
  • \n"; - closedir($handle); - $theme->box("Screenshots", $output); -*/ - $output = "

    Download Drupal

    \n"; $output .= "
  • Drupal 2.00 (2001/03/15 - latest version)
  • \n"; $output .= "
  • Drupal 1.00 (2001/01/15)
  • \n"; -- cgit v1.2.3