9 require_once
"FDL/popupdoc.php";
22 $abstract = ($action->
getArgument(
"abstract",
'N') ==
"Y");
24 $js = ($action->
getArgument(
"js",
"true") ==
"true") ?
true :
false;
25 $css = ($action->
getArgument(
"css",
"true") ==
"true") ?
true :
false;
29 if ($zone ==
"") $specmenu =
$doc->specialmenu;
30 else $specmenu = $zone;
31 if (is_string($specmenu) && preg_match(
"/(.*):(.*)/", $specmenu, $reg)) {
33 $menuaction = $reg[2];
36 $menuaction =
"POPUPDOCDETAIL";
39 $action->lay->set(
"id",
$doc->id);
40 $action->lay->set(
"menuapp", $menuapp);
41 $action->lay->set(
"menuaction", $menuaction);
43 $action->parent->AddJsRef($action->GetParam(
"CORE_PUBURL") .
"/FDL/Layout/popupdoc.js");
44 $action->parent->AddJsRef($action->GetParam(
"CORE_PUBURL") .
"/FDL/Layout/popupdocmenu.js");
47 $action->parent->AddCssRef(
"FDL:POPUP.CSS",
true);
new_Doc($dbaccess, $id= '', $latest=false)
static getArgument($k, $def= '')