17 include_once (
"FDL/Class.Doc.php");
18 include_once (
"FDL/Lib.Dir.php");
19 include_once (
"GENERIC/generic_util.php");
24 $docid = GetHttpVars(
"id");
29 $toa =
$doc->getNormalAttributes();
32 $tpref = explode(
";", $pref);
36 foreach ($toa as $k => $oa) {
37 if ($oa->type ==
"array")
continue;
40 $tabname = $framename =
false;
41 if (($before != $oa->fieldSet->id) && ($before != $oa->fieldSet->type =
'frame')) {
42 $newframe = ($before != $oa->fieldSet->id);
43 $framename = $oa->fieldSet->getLabel();
45 if ($oa->fieldSet->fieldSet && ($oa->fieldSet->fieldSet->type ==
'tab')) {
46 $newtab = ($beforetab != $oa->fieldSet->fieldSet->id);
47 $beforetab = $oa->fieldSet->fieldSet->id;
48 $tabname = $oa->fieldSet->fieldSet->getLabel();
53 "newframe" => $newframe,
55 "need" => $oa->needed,
56 "hidden" => $oa->visibility ==
'H',
57 "selected" => in_array($oa->id, $tpref) ,
58 "tabname" => $tabname,
59 "framename" => $framename,
60 "attrname" => $oa->getLabel()
62 $before = $oa->fieldSet->id;
65 $action->lay->setBlockData(
"ATTRS", $tattr);
66 $action->lay->set(
"famid",
$doc->id);
67 $action->lay->set(
"famtitle",
$doc->getTitle());
68 $action->lay->set(
"famicon",
$doc->getIcon());
exitError($texterr, $exit=true, $code="")
getFamilyParameter(&$action, $famid, $key, $def="")
editexportchoosecols(Action &$action)