19 include_once (
"Class.SubForm.php");
20 include_once (
"Class.Action.php");
28 $appl_id =
$action->Read(
"action_appl_id");
32 $action->lay->Set(
"short_name",
"");
33 $action->lay->Set(
"long_name",
"");
40 if (
$action->HasPermission(
"ADMIN")) {
42 }
else if (
$action->HasPermission(
"DOMAIN_MASTER")) {
43 $seldom =
$action->ActionCour->iddomain;
45 $action->info(
"Not Allowed Access Attempt");
47 $action->lay->set(
"openaccess",
"");
51 $action->lay->Set(
"name", $ActionCour->name);
52 $action->lay->Set(
"short_name", $ActionCour->short_name);
53 $action->lay->Set(
"long_name", $ActionCour->long_name);
54 $action->lay->Set(
"acl", $ActionCour->acl);
55 $action->lay->Set(
"root", $ActionCour->root);
56 $action->lay->Set(
"toc", $ActionCour->toc);
59 $action->lay->set(
"openaccess", $ActionCour->openaccess);
63 if ($ActionCour->available ==
'Y') {
64 $tab[0][
"selected"] =
"selected";
65 $tab[1][
"selected"] =
"";
67 $tab[0][
"selected"] =
"";
68 $tab[1][
"selected"] =
"selected";
70 $tab[0][
"available"] =
"Y";
71 $tab[1][
"available"] =
"N";
73 $action->lay->SetBlockData(
"SELECTAVAILABLE", $tab);
76 $action->parent->AddJsRef(
"APPMNG/Layout/action_control.js");