blob: 7ee7bed65bdddceb3ceec08b47e560ebbfb763a4 (
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
47
48
49
50
|
<p><?= _('Sie können hier einen Teil der Logging-Funktionen direkt verändern.') ?></p>
<table class="default">
<thead>
<tr>
<th><?= _('Name') ?></th>
<th><?= _('Beschreibung') ?></th>
<th><?= _('Template') ?></th>
<th><?= _('Anzahl') ?></th>
<th><?= _('Aktiv?') ?></th>
<th><?= _('Ablaufzeit') ?></th>
<th></th>
</tr>
</thead>
<tbody>
<? foreach ($log_actions as $log_action): ?>
<tr>
<td><?= htmlReady($log_action['name']) ?></td>
<td>
<?= htmlReady($log_action['description']) ?>
</td>
<td>
<?= htmlReady($log_action['info_template']) ?>
</td>
<td>
<?= $log_action['log_count'] ?>
</td>
<td>
<? if ($log_action['active']): ?>
<?= Icon::create('accept', Icon::ROLE_STATUS_GREEN) ?>
<? else: ?>
<?= Icon::create('decline', Icon::ROLE_STATUS_RED) ?>
<? endif ?>
</td>
<td style="white-space: nowrap;">
<? if ($log_action['expires'] > 0): ?>
<?= $log_action['expires'] / 86400 ?> <?= _('Tage') ?>
<? else: ?>
<?= Icon::create('decline', Icon::ROLE_STATUS_RED) ?>
<? endif ?>
</td>
<td>
<a href="<?= $controller->edit($log_action['action_id']) ?>" data-dialog="size=auto">
<?= Icon::create('edit') ?>
</a>
</td>
</tr>
<? endforeach ?>
</tbody>
</table>
|