17 include_once (
"FDL/Class.Doc.php");
18 include_once (
"FDL/Lib.Dir.php");
27 $dirid = GetHttpVars(
"id");
30 $action->parent->AddJsRef($action->GetParam(
"CORE_JSURL") .
"/subwindow.js");
32 $tb = $bdoc->getChildFam();
33 foreach ($tb as $k => $v) {
34 $tb[$k][
"iconsrc"] = $bdoc->
getIcon($v[
"icon"]);
37 $la = $fa->getActionAttributes();
40 foreach (
$la as $ka => $va) {
41 $ta[] = $va->getLabel();
44 $tb[$k][
"actions"] = implode(
",<br>", $ta);
47 $action->lay->setBlockData(
"BATCHFAMS", $tb);
48 $action->lay->set(
"dirid", urlencode(
$dirid));
freedom_applybatch(Action &$action)
new_Doc($dbaccess, $id= '', $latest=false)
getIcon($name, $text, $width="", $height="")