17 include_once (
"FDL/Class.Doc.php");
18 include_once (
"GENERIC/generic_util.php");
24 $action->parent->AddJsRef($action->GetParam(
"CORE_JSURL") .
"/resizeimg.js");
28 if (!$fdoc->isAlive()) {
30 redirect($action,
"GENERIC",
"GENERIC_LOGO", $action->GetParam(
"CORE_STANDURL"));
33 $action->lay->set(
"famtitle", $fdoc->getHTMLTitle());
34 $action->lay->set(
"famid", $fdoc->id);
35 $action->lay->eset(
"dirid",
$dirid);
36 $action->lay->set(
"onefam", urlencode($onefamOrigin));
38 if ($tabletters ==
'Y') $action->lay->set(
"lettercheck",
"checked");
39 else $action->lay->set(
"lettercheck",
"");
42 if ($inh ==
'N') $action->lay->set(
"inhcheck",
"");
43 else $action->lay->set(
"inhcheck",
"checked");
45 $fchild = $fdoc->GetChildFam();
46 $action->lay->set(
"viewinh", (count($fchild) > 0));
47 if (count($fchild) > 0) {
49 foreach ($fchild as $k => $v) {
50 $tftitle[] = $v[
"title"];
52 $action->lay->set(
"ftitle", implode(
", ", $tftitle));
58 $action->lay->set(
"iconsrc", $fdoc->getIcon());
59 $action->lay->set(
"dispocheck1",
"");
60 $action->lay->set(
"dispocheck2",
"");
61 $action->lay->set(
"dispocheck3",
"");
62 $action->lay->set(
"dispocheck4",
"");
63 if (($viewmode ==
'abstract') && ($splitmode ==
'V')) $action->lay->set(
"dispocheck1",
"checked");
64 if (($viewmode ==
'column') && ($splitmode ==
'H')) $action->lay->set(
"dispocheck2",
"checked");
65 if (($viewmode ==
'column') && ($splitmode ==
'V')) $action->lay->set(
"dispocheck3",
"checked");
66 if (($viewmode ==
'abstract') && ($splitmode ==
'H')) $action->lay->set(
"dispocheck4",
"checked");
getSplitMode(Action &$action, $famid="")
getViewMode(Action &$action, $famid="")
generic_prefs(Action &$action)
getTabLetter(Action &$action, $famid="")
static getArgument($k, $def= '')
getInherit(Action &$action, $famid="")