blob: fd57331171aa5c1b0e52ddf81a6e8f9167503817 (
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
|
<tr>
<td>
<a data-dialog href="<?= $controller->link_for($linkchunk, compact('field')) ?>">
<?= htmlReady($field) ?>
</a>
<? if (!empty($description)): ?>
<br><small><?= htmlReady($description) ?></small>
<? endif; ?>
</td>
<td class="wrap-content">
<? if ($type === 'string' || $type === 'i18n'): ?>
<em><?= htmlReady($value) ?></em>
<? elseif ($type === 'integer'): ?>
<?= (int)$value ?>
<? elseif ($type === 'boolean'): ?>
<? if ($value): ?>
<?= Icon::create('accept', Icon::ROLE_STATUS_GREEN, ['title' => _('TRUE')]) ?>
<? else : ?>
<?= Icon::create('decline', Icon::ROLE_STATUS_RED, ['title' => _('FALSE')]) ?>
<? endif; ?>
<? endif; ?>
</td>
<td><?= htmlReady($type) ?></td>
<td class="actions">
<a data-dialog="size=auto" href="<?= $controller->link_for($linkchunk, compact('field')) ?>">
<?= Icon::create('edit')->asImg(['title' => _('Konfigurationsparameter bearbeiten')]) ?>
</a>
</td>
</tr>
|