| @@ 102-106 (lines=5) @@ | ||
| 99 | $this->set_header($column++, get_lang('BestScore'), false); |
|
| 100 | $this->set_header($column++, get_lang('Average'), false); |
|
| 101 | ||
| 102 | if (!empty($cats)) { |
|
| 103 | if ($this->exportToPdf == false) { |
|
| 104 | $this->set_header($column++, get_lang('Actions'), false); |
|
| 105 | } |
|
| 106 | } |
|
| 107 | } |
|
| 108 | ||
| 109 | // Deactivates the odd/even alt rows in order that the +/- buttons work see #4047 |
|
| @@ 122-132 (lines=11) @@ | ||
| 119 | 'deleted' => get_lang('DeleteSelected') |
|
| 120 | ) |
|
| 121 | ); |
|
| 122 | } else { |
|
| 123 | if (empty($_GET['selectcat']) && !$this->teacherView) { |
|
| 124 | if ($this->exportToPdf == false) { |
|
| 125 | $this->set_header( |
|
| 126 | $column++, |
|
| 127 | get_lang('Certificates'), |
|
| 128 | false |
|
| 129 | ); |
|
| 130 | } |
|
| 131 | } |
|
| 132 | } |
|
| 133 | } |
|
| 134 | ||
| 135 | /** |
|