Revision 384
Added by Matthias almost 19 years ago
| browse.php | ||
|---|---|---|
| 99 | 99 | 
    $temp_id = 0;  | 
| 100 | 100 | 
    $row_bg_color = 'EEEEEE';  | 
| 101 | 101 | 
    	if(isset($DIR)) {
   | 
| 102 | 
    sort($DIR);  | 
|
| 102 | 103 | 
    		foreach($DIR AS $name) {
   | 
| 103 | 104 | 
    			$link_name = str_replace(' ', '%20', $name);
   | 
| 104 | 105 | 
    $temp_id++;  | 
| ... | ... | |
| 122 | 123 | 
    }  | 
| 123 | 124 | 
    }  | 
| 124 | 125 | 
    	if(isset($FILE)) {
   | 
| 126 | 
    sort($FILE);  | 
|
| 125 | 127 | 
    		foreach($FILE AS $name) {
   | 
| 126 | 128 | 
    $temp_id++;  | 
| 127 | 129 | 
    $template->set_var(array(  | 
Also available in: Unified diff
Added List sorting in admin area (thanks to rsmith)