Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 31 additions & 4 deletions components/ILIAS/Table/classes/class.ilTable2GUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -2256,8 +2256,12 @@ public function fillActionRow(): void
$button["sel_var"],
$button["options"],
false,
true
true,
0,
"",
array("aria-label" => $lng->txt("action"))
)

);
$this->tpl->setVariable("MI_BTN_NAME", $button["cmd"]);
$this->tpl->setVariable("MI_BTN_VALUE", $button["text"]);
Expand All @@ -2272,8 +2276,12 @@ public function fillActionRow(): void
$button["sel_var"] . "_2",
$button["options"],
false,
true
true,
0,
"",
array("aria-label" => $lng->txt("action"))
)

);
$this->tpl->setVariable("MI_BTN_NAME", $button["cmd"]);
$this->tpl->setVariable("MI_BTN_VALUE", $button["text"]);
Expand All @@ -2299,8 +2307,18 @@ public function fillActionRow(): void
}
$this->tpl->setVariable(
"SELECT_CMDS",
ilLegacyFormElementsUtil::formSelect("", "selected_cmd", $sel, false, true)
ilLegacyFormElementsUtil::formSelect(
"", // selected
"selected_cmd2", // name
$sel, // options
false, // use_multi
true, // submit_after_change
0, // size
"", // css class
array("aria-label" => $lng->txt("action"))
)
);

$this->tpl->setVariable("TXT_EXECUTE", $lng->txt("execute"));
$this->tpl->parseCurrentBlock();
$arrow = true;
Expand All @@ -2320,7 +2338,16 @@ public function fillActionRow(): void
}
$this->tpl->setVariable(
"SELECT_CMDS",
ilLegacyFormElementsUtil::formSelect("", "selected_cmd2", $sel, false, true)
ilLegacyFormElementsUtil::formSelect(
"", // selected
"selected_cmd2", // name
$sel, // options
false, // use_multi
true, // submit_after_change
0, // size
"", // css class
array("aria-label" => $lng->txt("action"))
)
);
$this->tpl->setVariable("TXT_EXECUTE", $lng->txt("execute"));
$this->tpl->parseCurrentBlock();
Expand Down
Loading