22 include_once (
"FDL/Class.Doc.php");
23 include_once (
"FDL/Class.DocAttr.php");
25 include_once (
"FDL/freedom_util.php");
39 $listattr =
$doc->GetNormalAttributes();
41 while (list($k, $v) = each($listattr)) {
46 if ($v->mvisibility !=
"H") {
48 if (($abstract) && ($v->abstract !=
"Y")) {
49 $action->lay->Set(
"V_" . $v->id,
"");
50 $action->lay->Set(
"L_" . $v->id,
"");
52 $action->lay->Set(
"V_" . strtoupper($v->id) , $htmlval ?
$doc->GetHtmlValue($v,
$value,
"_self", $htmllink) :
$value);
53 $action->lay->Set(
"L_" . strtoupper($v->id) , $v->getLabel());
58 $listattr =
$doc->GetFieldAttributes();
60 while (list($k, $v) = each($listattr)) {
62 $action->lay->Set(
"L_" . strtoupper($v->id) , $v->getLabel());