blob: 6173bcce5883ef8459f43d38494befdfdc193a88 (
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
|
<?php
/**
* @var string $needle
* @var array $sections
* @var array $open_section
* @var array $only_section
*/
?>
<section class="contentbox">
<header>
<h1>
<?= _('Globale Systemkonfigurationen') ?>
<? if ($needle): ?>
/ <?= _('Suchbegriff:') ?> "<em><?= htmlReady($needle) ?></em>"
<? endif ?>
</h1>
</header>
<? foreach ($sections as $section => $configs): ?>
<?php $id = md5(uniqid($section));?>
<article id="<?= $id?>" <? if ($open_section === $section || $only_section || $needle) echo 'class="open"'; ?>>
<header>
<h1>
<a href="<?= URLHelper::getURL("?#{$id}")?>">
<?= $section ?: '- ' . _('Ohne Kategorie') . ' -' ?>
(<?= count($configs) ?>)
</a>
</h1>
</header>
<section>
<table class="default">
<?= $this->render_partial('admin/configuration/table-header.php') ?>
<? foreach ($configs as $config): ?>
<?= $this->render_partial('admin/configuration/table-row.php', $config) ?>
<? endforeach ?>
</table>
</section>
</article>
<? endforeach ?>
</section>
|