46 include_once (
"Class.Action.php");
52 $act = $_GET[
"action"];
60 $c->Set($act, $appcalled);
65 $toc[$ito][
"base"] =
$c->parent->Getparam(
"CORE_BASEURL");
66 $toc[$ito][
"appl"] =
$c->parent->name;
67 $toc[$ito][
"name"] =
$c->name;
68 $toc[$ito][
"style"] =
"tocitem0on";
69 if (substr(
$c->short_name, 0, 1) ==
'&') {
70 $sn = substr(
$c->short_name, 1, strlen(
$c->short_name));
71 $toc[$ito][
"descr"] =
$c->text($sn);
73 $toc[$ito][
"descr"] =
$c->short_name;
76 $action->log->debug(
"Current node : {$c->name}, father id {$c->father}");
79 $query->basic_elem->sup_where = array(
80 "id='" .
$c->father .
"'"
82 $query->Query(0, 0,
"TABLE");
85 $c->Set(
$query->list[0]->name, $appcalled);
91 $toc[$ito][
"base"] = $appcalled->Getparam(
"CORE_BASEURL");
92 $toc[$ito][
"appl"] = $appcalled->name;
93 $toc[$ito][
"name"] =
"";
94 $toc[$ito][
"style"] =
"tocitem0on";
95 $toc[$ito][
"descr"] = $appcalled->name;
100 $toc2 = array_reverse($toc);
101 $action->lay->SetBlockCorresp(
"PATH",
"BASE",
"base");
102 $action->lay->SetBlockCorresp(
"PATH",
"APPL",
"appl");
103 $action->lay->SetBlockCorresp(
"PATH",
"NAME",
"name");
104 $action->lay->SetBlockCorresp(
"PATH",
"STYLE",
"style");
105 $action->lay->SetBlockCorresp(
"PATH",
"DESCR",
"descr");
106 $action->lay->SetBlockData(
"PATH", $toc2);
107 $action->lay->SetBlockData(
"PATHEMPTY", NULL);
109 $action->lay->SetBlockData(
"PATH", NULL);
110 $action->lay->SetBlockCorresp(
"PATHEMPTY",
"NOPCAR",
"nopcar");
111 $action->lay->SetBlockData(
"PATHEMPTY", array(