MDL-57415 user: Add missing bootstrap classes to participants page
This commit is contained in:
+10
-4
@@ -830,17 +830,23 @@ if ($bulkoperations) {
|
||||
$showalllink = false;
|
||||
}
|
||||
|
||||
echo html_writer::start_tag('div', array('class' => 'btn-group'));
|
||||
if ($perpage < $matchcount) {
|
||||
// Select all users, refresh page showing all users and mark them all selected.
|
||||
$label = get_string('selectalluserswithcount', 'moodle', $matchcount);
|
||||
echo '<input type="button" id="checkall" value="' . $label . '" data-showallink="' . $showalllink . '" /> ';
|
||||
echo html_writer::tag('input', "", array('type' => 'button', 'id' => 'checkall', 'class' => 'btn btn-secondary',
|
||||
'value' => $label, 'data-showallink' => $showalllink));
|
||||
// Select all users, mark all users on page as selected.
|
||||
echo '<input type="button" id="checkallonpage" value="' . get_string('selectallusersonpage') . '" /> ';
|
||||
echo html_writer::tag('input', "", array('type' => 'button', 'id' => 'checkallonpage', 'class' => 'btn btn-secondary',
|
||||
'value' => get_string('selectallusersonpage')));
|
||||
} else {
|
||||
echo '<input type="button" id="checkallonpage" value="' . get_string('selectall') . '" /> ';
|
||||
echo html_writer::tag('input', "", array('type' => 'button', 'id' => 'checkallonpage', 'class' => 'btn btn-secondary',
|
||||
'value' => get_string('selectall')));
|
||||
}
|
||||
|
||||
echo '<input type="button" id="checknone" value="'.get_string('deselectall').'" /> ';
|
||||
echo html_writer::tag('input', "", array('type' => 'button', 'id' => 'checknone', 'class' => 'btn btn-secondary',
|
||||
'value' => get_string('deselectall')));
|
||||
echo html_writer::end_tag('div');
|
||||
$displaylist = array();
|
||||
$displaylist['messageselect.php'] = get_string('messageselectadd');
|
||||
if (!empty($CFG->enablenotes) && has_capability('moodle/notes:manage', $context) && $context->id != $frontpagectx->id) {
|
||||
|
||||
Reference in New Issue
Block a user