aboutsummaryrefslogtreecommitdiff
path: root/app/views/files/_files_thead.php
blob: 4bad9f793b01ef94843d75e0aaf4e08ff93761f9 (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
37
38
39
40
41
42
43
44
45
46
<colgroup>
    <? if ($show_bulk_checkboxes) : ?>
        <col width="30px" data-filter-ignore>
    <? endif ?>
        <col width="20px" data-filter-ignore>
        <col>
        <col width="100px" class="responsive-hidden" data-filter-ignore>
    <? if ($show_downloads) : ?>
        <col width="100px" class="responsive-hidden" data-filter-ignore>
    <? endif; ?>
        <col width="150px" class="responsive-hidden">
        <col width="120px" class="responsive-hidden" data-filter-ignore>
        <col width="80px" data-filter-ignore>
    </colgroup>
    <thead>
        <tr class="sortable">
            <? if ($show_bulk_checkboxes) : ?>
                <th data-sort="false">
                    <input type="checkbox"
                           <?= $table_id
                             ? 'data-proxyfor="table.documents[data-table_id=\'' . htmlReady($table_id) . '\'] tbody :checkbox"'
                             : 'data-proxyfor="table.documents tbody :checkbox"'
                           ?>
                           <?= $table_id
                             ? 'data-activates="table.documents[data-table_id=\'' . htmlReady($table_id) . '\'] tfoot .multibuttons .button"'
                             : 'data-activates="table.documents tfoot .multibuttons .button"'
                           ?>
                    >
                </th>
            <? endif ?>
            <th data-sort="htmldata"><?= _('Typ') ?></th>
            <th data-sort="text"><?= _('Name') ?></th>
            <th data-sort="htmldata" class="responsive-hidden"><?= _('Größe') ?></th>
        <? if ($show_downloads) : ?>
            <th data-sort="htmldata" class="responsive-hidden"><?= _('Downloads') ?></th>
        <? endif ?>
            <th data-sort="text" class="responsive-hidden"><?= _('Autor/-in') ?></th>
            <th data-sort="htmldata" class="responsive-hidden"><?= _('Datum') ?></th>
            <? if ($topFolder) : ?>
                <? foreach ($topFolder->getAdditionalColumns() as $index => $column_name) : ?>
                    <th data-sort="htmldata" class="responsive-hidden"><?=htmlReady($column_name) ?></th>
                <? endforeach ?>
            <? endif ?>
            <th data-sort="false"><?= _('Aktionen') ?></th>
        </tr>
    </thead>