summaryrefslogtreecommitdiff
path: root/modules/drupal/drupal.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-01-06 11:39:43 +0000
committerDries Buytaert <dries@buytaert.net>2001-01-06 11:39:43 +0000
commit8511d9fb45bb2f5a016f0dd13b22a67d448c0d37 (patch)
treecde1eb77e8ef1f1f55818182a108d5997125f379 /modules/drupal/drupal.module
parentb604c438945f6d94472a470d2b09ad2b63c58651 (diff)
downloadbrdo-8511d9fb45bb2f5a016f0dd13b22a67d448c0d37.tar.gz
brdo-8511d9fb45bb2f5a016f0dd13b22a67d448c0d37.tar.bz2
A batch of patches:
- configuration: + renamed $db_name to $db_user + renamed $db_base to $db_name - fixed small diary glitch - fixed initial-comment-score problem - fixed comment rating bug: improved the API and updated the themes - removed some tabs from Steven ;) - fixed backend warnings and improved robustness I'm not happy yet with the headline grabber - it generates too many SQL errors. - some small cosmetic changes in comment.module - fixed minor glitch in format_interval()
Diffstat (limited to 'modules/drupal/drupal.module')
-rw-r--r--modules/drupal/drupal.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/drupal/drupal.module b/modules/drupal/drupal.module
index 3eb6d4455..0417c11c3 100644
--- a/modules/drupal/drupal.module
+++ b/modules/drupal/drupal.module
@@ -22,7 +22,7 @@ function drupal_page() {
";
$handle = opendir("drupal");
- while ($file = readdir($handle)) if (ereg(".jpg", $file)) $output .= " <LI><SMALL><A HREF=\"drupal/$file\">$file</A></SMALL></LI>\n";
+ 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->header();