diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-06-06 15:23:50 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-06-06 15:23:50 +0000 |
| commit | d1dd262f831db070ad5c1e6e179d2e3099556383 (patch) | |
| tree | f457a8b8498f9c31fd5c9e9dd589c443178425dd /phpBB/adm/admin_ranks.php | |
| parent | 8a09c0d75f1da62d40b71cb67f74de9ac005d5a7 (diff) | |
| download | forums-d1dd262f831db070ad5c1e6e179d2e3099556383.tar forums-d1dd262f831db070ad5c1e6e179d2e3099556383.tar.gz forums-d1dd262f831db070ad5c1e6e179d2e3099556383.tar.bz2 forums-d1dd262f831db070ad5c1e6e179d2e3099556383.tar.xz forums-d1dd262f831db070ad5c1e6e179d2e3099556383.zip | |
Various updates and fixes ... no doubt there are new bugs but where would the fun be without them?
git-svn-id: file:///svn/phpbb/trunk@4090 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm/admin_ranks.php')
| -rw-r--r-- | phpBB/adm/admin_ranks.php | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/phpBB/adm/admin_ranks.php b/phpBB/adm/admin_ranks.php index 48b7bcb45f..7899e3bd27 100644 --- a/phpBB/adm/admin_ranks.php +++ b/phpBB/adm/admin_ranks.php @@ -277,9 +277,7 @@ function update_image_dimensions() </tr> <?php - // // Show the default page - // $sql = "SELECT * FROM " . RANKS_TABLE . " ORDER BY rank_min ASC, rank_special ASC"; $result = $db->sql_query($sql); @@ -329,37 +327,4 @@ function update_image_dimensions() break; } -// --------- -// FUNCTIONS -// -function filelist($rootdir, $dir = '', $type = 'gif|jpg|jpeg|png') -{ - static $images = array(); - - $dh = opendir($rootdir . $dir); - - while ($fname = readdir($dh)) - { - if (is_file($rootdir . $dir . '/' . $fname) && - preg_match('#\.' . $type . '$#i', $fname) && - filesize($rootdir . $dir . '/' . $fname)) - { - $images[] = array('path' => $dir, 'file' => $fname); - } - else if ($fname != '.' && $fname != '..' && - !is_file($rootdir . $dir . '/' . $fname) && - !is_link($rootdir . $dir . '/' . $fname)) - { - filelist($rootdir, $dir . '/'. $fname, $type); - } - } - - closedir($dh); - - return $images; -} -// -// FUNCTIONS -// --------- - ?>
\ No newline at end of file |
