18 include_once (
"ONEFAM/onefam_root.php");
22 $action->lay->set(
"APP_TITLE", _($action->parent->description));
24 $nbcol = intval($action->getParam(
"ONEFAM_LWIDTH", 1));
27 if ($action->read(
"navigator") ==
"EXPLORER") $delta = 10;
29 $iz = $action->getParam(
"CORE_ICONSIZE");
33 $izpx = intval($action->getParam(
"SIZE_IMG-SMALL")) + 2;
34 $action->lay->set(
"wcols", $izpx * $nbcol + $delta);
35 $action->lay->set(
"Title", _($action->parent->short_name));
37 $openfam = $action->getParam(
"ONEFAM_FAMOPEN");
40 $action->lay->set(
"OPENFAM",
true);
41 $action->lay->set(
"openfam", $openfam);
43 $action->lay->set(
"OPENFAM",
false);
45 $action->lay->
Set(
"oneBgColor", (($action->getParam(
"ONEFAM_BGCOLOR") !=
'inherit') && ($action->getParam(
"ONEFAM_BGCOLOR") !=
'')));
47 $action->parent->AddJsRef($action->
GetParam(
"CORE_JSURL") .
"/subwindow.js");
48 $action->parent->AddJsRef($action->
GetParam(
"CORE_JSURL") .
"/resizeimg.js");
50 $action->parent->AddJsRef(
"lib/jquery/jquery.js",
false);
51 $action->parent->AddJsRef(
"ONEFAM/Layout/onefam_ng.js");
52 $action->parent->AddJsRef(
"FDL:underscore.js",
true);
53 $action->parent->AddJsRef(
"FDL:backbone.js",
true);
54 $action->parent->AddJsRef(
"FDL:multidoc.js",
true);
56 $iz = $action->getParam(
"CORE_ICONSIZE");
57 $izpx = intval($action->getParam(
"SIZE_IMG-SMALL"));
60 if (($action->
GetParam(
"ONEFAM_IDS") !=
"") && ($action->
GetParam(
"ONEFAM_MIDS") !=
"")) {
61 $action->lay->SetBlockData(
"SEPARATOR", array(
69 $action->lay->SetBlockData(
"CHOOSEUSERFAMILIES", array(
77 $action->lay->SetBlockData(
"CHOOSEMASTERFAMILIES", array(
84 $action->lay->set(
"izpx", $izpx);
90 $action->parent->AddCssRef(
"WHAT/Layout/HB.css");
94 $action->parent->AddCssRef(
"WHAT/Layout/inverse.css");
99 $action->parent->AddCssRef(
"ONEFAM:onefam_ng.css",
true);