Skip to content
Browse files

MDL-29690 fix usage of select all/deselect all in choice reports

  • Loading branch information...
1 parent 3d765bc commit 470e0cea2bc530c25207a470c122ab0c5db9c35e @danmarsden danmarsden committed with Sam Hemelryk Oct 7, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0 mod/choice/renderer.php
View
9 mod/choice/renderer.php
@@ -204,12 +204,21 @@ public function display_publish_name_vertical($choices) {
if ($choices->viewresponsecapability && $choices->deleterepsonsecapability) {
$selecturl = new moodle_url('#');
+<<<<<<< HEAD
$selectallactions = new component_action('click',"select_all_in", array('div',null,'tablecontainer'));
$selectall = new action_link($selecturl, get_string('selectall', 'quiz'), $selectallactions);
$actiondata .= $this->output->render($selectall) . ' / ';
$deselectallactions = new component_action('click',"deselect_all_in", array('div',null,'tablecontainer'));
$deselectall = new action_link($selecturl, get_string('selectnone', 'quiz'), $deselectallactions);
+=======
+ $selectallactions = new component_action('click',"checkall");
+ $selectall = new action_link($selecturl, get_string('selectall'), $selectallactions);
+ $actiondata .= $this->output->render($selectall) . ' / ';
+
+ $deselectallactions = new component_action('click',"checknone");
+ $deselectall = new action_link($selecturl, get_string('deselectall'), $deselectallactions);
+>>>>>>> c9b8a78... MDL-29690 fix usage of select all/deselect all in choice reports
$actiondata .= $this->output->render($deselectall);
$actiondata .= html_writer::tag('label', ' ' . get_string('withselected', 'quiz') . ' ', array('for'=>'menuaction'));

0 comments on commit 470e0ce

Please sign in to comment.
Something went wrong with that request. Please try again.