Project

General

Profile

« Previous | Next » 

Revision 384

Added by Matthias almost 18 years ago

Added List sorting in admin area (thanks to rsmith)

View differences:

delete.php
72 72
	}
73 73
	$temp_id = 0;
74 74
	if(isset($DIR)) {
75
		sort($DIR);
75 76
		foreach($DIR AS $name) {
76 77
			$temp_id++;
77 78
			if(!isset($delete_file) AND $file_id == $temp_id) {
......
81 82
		}
82 83
	}
83 84
	if(isset($FILE)) {
85
		sort($FILE);
84 86
		foreach($FILE AS $name) {
85 87
			$temp_id++;
86 88
			if(!isset($delete_file) AND $file_id == $temp_id) {

Also available in: Unified diff