MDL-63573 core_user: remove 'With selected users...' help icon.

This commit is contained in:
Luca Bösch 2018-10-08 10:26:20 +02:00
parent c092f75791
commit 8df785f9e9
2 changed files with 6 additions and 7 deletions

View File

@ -2166,8 +2166,6 @@ $string['withchosenfiles'] = 'With chosen files';
$string['withdisablednote'] = '{$a} (disabled)';
$string['withoutuserdata'] = 'without user data';
$string['withselectedusers'] = 'With selected users...';
$string['withselectedusers_help'] = '* Send message - For sending a message to one or more participants
* Add a new note - For adding a note to a selected participant';
$string['withuserdata'] = 'with user data';
$string['wordforstudent'] = 'Your word for Student';
$string['wordforstudenteg'] = 'eg Student, Participant etc';

View File

@ -262,7 +262,7 @@ if ($perpage == SHOW_ALL_PAGE_SIZE && $participanttable->totalrows > DEFAULT_PAG
}
if ($bulkoperations) {
echo '<br /><div class="buttons">';
echo '<br /><div class="buttons"><div class="form-inline">';
if ($participanttable->get_page_size() < $participanttable->totalrows) {
$perpageurl = clone($baseurl);
@ -337,15 +337,16 @@ if ($bulkoperations) {
}
}
echo $OUTPUT->help_icon('withselectedusers');
echo html_writer::tag('label', get_string("withselectedusers"), array('for' => 'formactionid'));
echo html_writer::select($displaylist, 'formaction', '', array('' => 'choosedots'), array('id' => 'formactionid'));
echo html_writer::tag('div', html_writer::tag('label', get_string("withselectedusers"),
array('for' => 'formactionid', 'class' => 'col-form-label d-inline')) .
html_writer::select($displaylist, 'formaction', '', array('' => 'choosedots'), array('id' => 'formactionid')),
array('class' => 'ml-2'));
echo '<input type="hidden" name="id" value="'.$course->id.'" />';
echo '<noscript style="display:inline">';
echo '<div><input type="submit" value="'.get_string('ok').'" /></div>';
echo '</noscript>';
echo '</div></div>';
echo '</div></div></div>';
echo '</form>';
$options = new stdClass();