Browse Source

Fix some line lengths for coding guidelines.

nwp90-nwp90-allsessionsreport
Dan Marsden 5 years ago
parent
commit
1f76cc463c
  1. 6
      renderer.php

6
renderer.php

@ -1575,11 +1575,13 @@ class mod_attendance_renderer extends plugin_renderer_base {
if ($reportdata->pageparams->sessiondetailspos == 'left') { if ($reportdata->pageparams->sessiondetailspos == 'left') {
$params['sessiondetailspos'] = 'right'; $params['sessiondetailspos'] = 'right';
$url = $reportdata->att->url_report($params); $url = $reportdata->att->url_report($params);
$text .= $this->output->action_icon($url, new pix_icon('t/right', get_string('moveright', 'attendance')), null, null); $text .= $this->output->action_icon($url, new pix_icon('t/right', get_string('moveright', 'attendance')),
null, null);
} else { } else {
$params['sessiondetailspos'] = 'left'; $params['sessiondetailspos'] = 'left';
$url = $reportdata->att->url_report($params); $url = $reportdata->att->url_report($params);
$text = $this->output->action_icon($url, new pix_icon('t/left', get_string('moveleft', 'attendance')), null, null) . $text; $text = $this->output->action_icon($url, new pix_icon('t/left', get_string('moveleft', 'attendance')),
null, null) . $text;
} }
$row->cells[] = $this->build_header_cell($text, '', true, $colspan); $row->cells[] = $this->build_header_cell($text, '', true, $colspan);

Loading…
Cancel
Save