aboutsummaryrefslogtreecommitdiff
path: root/app/views/files/_files_thead.php
blob: a7f79c716f03b5e1341b9d6635ee4f6a0f3273cc (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 (!empty($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 (!empty($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 (!empty($show_bulk_checkboxes)) : ?>
                <th data-sort="false">
                    <input type="checkbox"
                           <?= !empty($table_id)
                             ? 'data-proxyfor="table.documents[data-table_id=\'' . htmlReady($table_id) . '\'] tbody :checkbox"'
                             : 'data-proxyfor="table.documents tbody :checkbox"'
                           ?>
                           <?= !empty($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 (!empty($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 (isset($topFolder) && $topFolder instanceof FolderType) : ?>
            <? foreach ($topFolder->getAdditionalColumns() as $column_name) : ?>
                <th data-sort="htmldata" class="responsive-hidden"><?=htmlReady($column_name) ?></th>
            <? endforeach ?>
        <? endif ?>
            <th data-sort="false"><?= _('Aktionen') ?></th>
        </tr>
    </thead>