mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'MDL-71375-master' of git://github.com/lameze/moodle
This commit is contained in:
commit
2fe27fe564
1 changed files with 2 additions and 2 deletions
|
@ -1207,7 +1207,7 @@ class flexible_table {
|
||||||
'data-action' => 'show',
|
'data-action' => 'show',
|
||||||
'data-column' => $column);
|
'data-column' => $column);
|
||||||
return html_writer::link($this->baseurl->out(false, array($this->request[TABLE_VAR_SHOW] => $column)),
|
return html_writer::link($this->baseurl->out(false, array($this->request[TABLE_VAR_SHOW] => $column)),
|
||||||
$OUTPUT->pix_icon('t/switch_plus', get_string('show')), $linkattributes);
|
$OUTPUT->pix_icon('t/switch_plus', null), $linkattributes);
|
||||||
|
|
||||||
} else if ($this->headers[$index] !== NULL) {
|
} else if ($this->headers[$index] !== NULL) {
|
||||||
$linkattributes = array('title' => get_string('hide') . ' ' . strip_tags($this->headers[$index]),
|
$linkattributes = array('title' => get_string('hide') . ' ' . strip_tags($this->headers[$index]),
|
||||||
|
@ -1216,7 +1216,7 @@ class flexible_table {
|
||||||
'data-action' => 'hide',
|
'data-action' => 'hide',
|
||||||
'data-column' => $column);
|
'data-column' => $column);
|
||||||
return html_writer::link($this->baseurl->out(false, array($this->request[TABLE_VAR_HIDE] => $column)),
|
return html_writer::link($this->baseurl->out(false, array($this->request[TABLE_VAR_HIDE] => $column)),
|
||||||
$OUTPUT->pix_icon('t/switch_minus', get_string('hide')), $linkattributes);
|
$OUTPUT->pix_icon('t/switch_minus', null), $linkattributes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue