mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Revert "MDL-33575 choice module: add label to checkbox element when privacy of results is set to publish full results"
This reverts commit 440821205aa03cf1a415f491296a0022abe64a8b.
This commit is contained in:
parent
7e1afba2ae
commit
bd1fdb6a1b
@ -214,7 +214,7 @@ class mod_choice_renderer extends plugin_renderer_base {
|
||||
}
|
||||
|
||||
if ($choices->viewresponsecapability && $choices->deleterepsonsecapability && $optionid > 0) {
|
||||
$attemptaction = html_writer::checkbox('attemptid[]', $user->id,'', null, array('id' => 'attempt-user'.$user->id));
|
||||
$attemptaction = html_writer::checkbox('attemptid[]', $user->id,'');
|
||||
$data .= html_writer::tag('div', $attemptaction, array('class'=>'attemptaction'));
|
||||
}
|
||||
$userimage = $this->output->user_picture($user, array('courseid'=>$choices->courseid));
|
||||
@ -222,7 +222,6 @@ class mod_choice_renderer extends plugin_renderer_base {
|
||||
|
||||
$userlink = new moodle_url('/user/view.php', array('id'=>$user->id,'course'=>$choices->courseid));
|
||||
$name = html_writer::tag('a', fullname($user, $choices->fullnamecapability), array('href'=>$userlink, 'class'=>'username'));
|
||||
$name = html_writer::label($name, 'attempt-user'.$user->id);
|
||||
$data .= html_writer::tag('div', $name, array('class'=>'fullname'));
|
||||
$data .= html_writer::tag('div','', array('class'=>'clearfloat'));
|
||||
$optionusers .= html_writer::tag('div', $data, array('class'=>'user'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user