Revision 384
Added by Matthias almost 18 years ago
rename.php | ||
---|---|---|
71 | 71 |
} |
72 | 72 |
$temp_id = 0; |
73 | 73 |
if(isset($DIR)) { |
74 |
sort($DIR); |
|
74 | 75 |
foreach($DIR AS $name) { |
75 | 76 |
$temp_id++; |
76 | 77 |
if($file_id == $temp_id) { |
... | ... | |
80 | 81 |
} |
81 | 82 |
} |
82 | 83 |
if(isset($FILE)) { |
84 |
sort($FILE); |
|
83 | 85 |
foreach($FILE AS $name) { |
84 | 86 |
$temp_id++; |
85 | 87 |
if($file_id == $temp_id) { |
Also available in: Unified diff
Added List sorting in admin area (thanks to rsmith)