52 $next_class = $this->ctrl->getNextClass($this);
53 $cmd = $this->ctrl->getCmd();
71 "Services/Container");
73 $type_ordering = array(
74 "cat",
"fold",
"crs",
"icrs",
"icla",
"grp",
"chat",
"frm",
"lres",
75 "glo",
"webr",
"file",
"exc",
76 "tst",
"svy",
"mep",
"qpl",
"spl");
78 $childs = $tree->getChilds(
$_GET[
"ref_id"]);
79 foreach($childs as $child)
81 if (in_array($child[
"type"], array(
"lm",
"dbk",
"sahs",
"htlm")))
87 $cnt[$child[
"type"]]++;
92 $tpl->setVariable(
"TXT_HELP_HEADER", $lng->txt(
"help"));
93 foreach($type_ordering as $type)
95 $tpl->setCurrentBlock(
"row");
96 $tpl->setVariable(
"ROWCOL",
"tblrow".((($i++)%2)+1));
99 $tpl->setVariable(
"TYPE", $lng->txt(
"objs_".$type).
100 " (".((int)$cnt[$type]).
")");
104 $tpl->setVariable(
"TYPE", $lng->txt(
"learning_resources").
105 " (".((int)$cnt[
"lres"]).
")");
107 $tpl->setVariable(
"TXT_LINK",
"[list-".$type.
"]");
108 $tpl->parseCurrentBlock();