Revision 384
Added by Matthias almost 18 years ago
rename2.php | ||
---|---|---|
80 | 80 |
} |
81 | 81 |
$temp_id = 0; |
82 | 82 |
if(isset($DIR)) { |
83 |
sort($DIR); |
|
83 | 84 |
foreach($DIR AS $name) { |
84 | 85 |
$temp_id++; |
85 | 86 |
if($file_id == $temp_id) { |
... | ... | |
89 | 90 |
} |
90 | 91 |
} |
91 | 92 |
if(isset($FILE)) { |
93 |
sort($FILE); |
|
92 | 94 |
foreach($FILE AS $name) { |
93 | 95 |
$temp_id++; |
94 | 96 |
if($file_id == $temp_id) { |
Also available in: Unified diff
Added List sorting in admin area (thanks to rsmith)