From 8511d9fb45bb2f5a016f0dd13b22a67d448c0d37 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 6 Jan 2001 11:39:43 +0000 Subject: 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() --- modules/drupal.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/drupal.module') diff --git a/modules/drupal.module b/modules/drupal.module index 3eb6d4455..0417c11c3 100644 --- a/modules/drupal.module +++ b/modules/drupal.module @@ -22,7 +22,7 @@ function drupal_page() { "; $handle = opendir("drupal"); - while ($file = readdir($handle)) if (ereg(".jpg", $file)) $output .= "
  • $file
  • \n"; + while ($file = readdir($handle)) if (ereg(".jpg", $file) || ereg(".gif", $file)) $output .= "
  • $file
  • \n"; closedir($handle); $theme->header(); -- cgit v1.2.3