mirror of
https://github.com/moodle/moodle.git
synced 2025-05-14 04:06:39 +02:00
MDL-68464 user: Remove legacy selectall
This commit is contained in:
parent
31ffacb020
commit
6754ceae3a
@ -230,7 +230,6 @@ $baseurl = new moodle_url('/user/index.php', array(
|
|||||||
'perpage' => $perpage));
|
'perpage' => $perpage));
|
||||||
|
|
||||||
$participanttable = new \core_user\table\participants("user-index-participants-{$course->id}");
|
$participanttable = new \core_user\table\participants("user-index-participants-{$course->id}");
|
||||||
$participanttable->set_selectall($selectall);
|
|
||||||
$participanttable->define_baseurl($baseurl);
|
$participanttable->define_baseurl($baseurl);
|
||||||
|
|
||||||
// Manage enrolments.
|
// Manage enrolments.
|
||||||
@ -415,7 +414,7 @@ if ($bulkoperations) {
|
|||||||
'data-action' => 'toggle',
|
'data-action' => 'toggle',
|
||||||
'data-togglegroup' => 'participants-table',
|
'data-togglegroup' => 'participants-table',
|
||||||
'data-toggle' => 'action',
|
'data-toggle' => 'action',
|
||||||
'disabled' => empty($selectall)
|
'disabled' => 'disabled'
|
||||||
);
|
);
|
||||||
$label = html_writer::tag('label', get_string("withselectedusers"),
|
$label = html_writer::tag('label', get_string("withselectedusers"),
|
||||||
['for' => 'formactionid', 'class' => 'col-form-label d-inline']);
|
['for' => 'formactionid', 'class' => 'col-form-label d-inline']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user