mirror of
https://github.com/moodle/moodle.git
synced 2025-05-04 15:27:34 +02:00
Choice MDL-23089 use correct strings - thanks to Brian Gray for report/fix
This commit is contained in:
parent
ffe5025874
commit
9b854b2d21
@ -83,4 +83,5 @@ $string['spacesleft'] = 'spaces available';
|
||||
$string['taken'] = 'Taken';
|
||||
$string['timerestrict'] = 'Restrict answering to this time period';
|
||||
$string['viewallresponses'] = 'View {$a} responses';
|
||||
$string['withselected'] = 'With selected';
|
||||
$string['yourselection'] = 'Your selection';
|
||||
|
@ -543,11 +543,11 @@ function choice_show_results($choice, $course, $cm, $allresponses, $forcepublish
|
||||
/// Print "Select all" etc.
|
||||
if ($viewresponses and has_capability('mod/choice:deleteresponses',$context)) {
|
||||
echo '<tr><td></td><td>';
|
||||
echo '<a href="javascript:select_all_in(\'DIV\',null,\'tablecontainer\');">'.get_string('selectall', 'quiz').'</a> / ';
|
||||
echo '<a href="javascript:deselect_all_in(\'DIV\',null,\'tablecontainer\');">'.get_string('selectnone', 'quiz').'</a> ';
|
||||
echo '<a href="javascript:select_all_in(\'DIV\',null,\'tablecontainer\');">'.get_string('selectall').'</a> / ';
|
||||
echo '<a href="javascript:deselect_all_in(\'DIV\',null,\'tablecontainer\');">'.get_string('deselectall').'</a> ';
|
||||
echo ' ';
|
||||
echo html_writer::label(get_string('withselected', 'quiz'), 'menuaction');
|
||||
echo html_writer::select(array('delete' => get_string('delete')), 'action', '', array(''=>get_string('moveselectedcoursesto')), array('id'=>'menuaction'));
|
||||
echo html_writer::label(get_string('withselected', 'choice'), 'menuaction');
|
||||
echo html_writer::select(array('delete' => get_string('delete')), 'action', '', array(''=>get_string('withselectedusers')), array('id'=>'menuaction'));
|
||||
$PAGE->requires->js_init_call('M.util.init_select_autosubmit', array('attemptsform', 'menuaction', ''));
|
||||
echo '<noscript id="noscriptmenuaction" style="display:inline">';
|
||||
echo '<div>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user