aboutsummaryrefslogtreecommitdiff
path: root/app/views/privacy/print.php
blob: 968c86bae791ab12d8f4a577671d8683b5da3549 (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
<h1><?= sprintf(_('Personenbezogene Daten von %s'), htmlReady($user_fullname)); ?></h1>
<? foreach ($plugin_data as $label => $tabledata) : ?>
    <? if ($tabledata['table_content']) : ?>
        <h3><?= htmlReady($label) ?></h3>
        <? foreach ($tabledata['table_content'] as $row) : ?>
            <table border="1">
                <tbody>
                <? foreach ($row as $key => $value) : ?>
                    <tr>
                        <th><?= htmlReady($key) ?></th>
                        <td>
                        <? if ($tabledata['table_name'] === 'log_events' && $key === 'readable_entry') : ?>
                            <?= $value ?>
                        <? else: ?>
                            <?= htmlReady($value) ?>
                        <? endif; ?>
                        </td>
                    </tr>
                <? endforeach; ?>
                </tbody>
            </table>
            <br>
        <? endforeach; ?>
    <? endif; ?>
<? endforeach; ?>