aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin/courses/additional_inputs.php
blob: 54c32e931fb04a8ef1c851ae7c0f51b892bd5ced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/**
 * @var string $colspan
 * @var string $selected_action
 * @var string $selected_action
 * @var array $values
 */
?>
<tr>
    <th colspan="<?= $colspan ?>" style="text-align: right">
        <? switch ($selected_action) {
            case 8 :
                echo $this->render_partial('admin/courses/lock_preselect.php', compact('values', 'semid'));
                break;
            default:
            case 9:
                echo '<label>', _('Alle auswählen'), '<input title="', _('Alle auswählen'), '"
                                type="checkbox" name="all" value="1" data-proxyfor=".course-admin td:last-child :checkbox" aria-label="',
                _('Alle auswählen'), '"/></label>';
                break;
            case 10:
                echo $this->render_partial('admin/courses/aux_preselect.php', compact('values', 'semid'));
                break;
            case 16:
                echo '<label>', _('Alle auswählen'), '<input title="', _('Alle auswählen'), '"
                                type="checkbox" name="all" value="1" data-proxyfor=":checkbox[name^=archiv_sem]" aria-label="',
                _('Alle auswählen'), '"/></label>';
                break;
            case 17:
                echo '<label>', _('Alle auswählen'), '<input title="', _('Alle auswählen'), '"
                                type="checkbox" name="all" value="1" data-proxyfor=":checkbox[name^=admission_locked]" aria-label="',
                _('Alle auswählen'), '"/></label>';
                break;
        }?>
    </th>
</tr>