22 include_once (
'FDL/Class.Doc.php');
23 include_once (
'FDL/Class.Dir.php');
37 while (list($k, $v) = each($lfather)) {
39 if ($lprev == 0) $lmax = $lfather[$k][
"level"];
40 $lfather[$k][
"level"] = - ($v[
"level"] - $lmax) * 15;
45 $action->lay->SetBlockData(
"IFLD", $lfather);
52 $flds =
$doc->getParentFolderIds();
54 if (count($flds) > 0) {
56 foreach ($flds as $pfldid) {
58 if (!in_array($pfldid, $lfldid)) {
61 if ($fld->Control(
"view") ==
"") {
65 "ftitle" => $fld->title,