getSubFolders(), $user, M_READ); $documents = filterAccess($folder->getDocuments(), $user, M_READ); if ($level+1 < count($path)) $nextFolderID = $path[$level+1]->getID(); else $nextFolderID = -1; print "
0) print " background=\"".getImgPath("down.gif")."\""; print "> 0) printImgPath("right_in_to_down.gif"); else printImgPath("right_in.gif"); print "\" border=0> | \n"; print ""; print "".$folder->getName()." | \n"; print "||||
"; else print " | "; print " | ";
if ($subFolders[$i]->getID() == $nextFolderID)
printTree($path, $level+1);
else {
$subFolders_ = filterAccess($subFolders[$i]->getSubFolders(), $user, M_READ);
$documents_ = filterAccess($subFolders[$i]->getDocuments(), $user, M_READ);
print "
| ";
print "|||
"; else print " | "; print " | ";
print "
| ";
print "