Changeset 513
- Timestamp:
- 02/22/06 00:26:05 (7 years ago)
- File:
-
- 1 edited
-
bureau/admin/browseforfolder.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bureau/admin/browseforfolder.php
r150 r513 42 42 $nextstr=substr($curdir,$pos+1,$next-$pos-1); 43 43 $c=opendir($root.$rot); 44 while ($r=readdir($c)) { 45 if (is_dir($root.$rot."/".$r) && $r!="." && $r!="..") { 44 $i=0; 45 while ($r=readdir($c)) { 46 if (is_dir($root.$rot."/".$r) && $r!="." && $r!="..") { $tmp[$i++]=$r; } 47 } 48 sort($tmp); 49 foreach ($tmp as $r) { 46 50 /* Ajout */ 47 51 $brlist[]=array("dir"=>$r,"level"=>$level,"put"=> ife($curdir==$rot."/".$r."/","",$rot."/".$r)); … … 49 53 _subbrowse($curdir,$next,$level+1); 50 54 } 51 }52 55 } 53 56 }
Note: See TracChangeset
for help on using the changeset viewer.
