blob: 53b66a85f9b9a7f7b9a89041f79fff5ce4415334 (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
<article class="studip">
<header>
<h1><?= _('Grunddaten') ?></h1>
</header>
<section>
<dl style="margin: 0">
<? if ($institute->strasse) : ?>
<dt><?= _('Straße') ?></dt>
<dd><?= htmlReady($institute->strasse) ?></dd>
<? endif ?>
<? if ($institute->Plz) : ?>
<dt><?= _('Ort') ?></dt>
<dd><?= htmlReady($institute->Plz) ?></dd>
<? endif ?>
<? if ($institute->telefon) : ?>
<dt><?=_('Telefon')?></dt>
<dd><?= htmlReady($institute->telefon) ?></dd>
<? endif ?>
<? if ($institute->fax) : ?>
<dt><?= _('Fax') ?></dt>
<dd><?= htmlReady($institute->fax) ?></dd>
<? endif ?>
<? if ($institute->url) : ?>
<dt><?= _('Homepage') ?></dt>
<dd><?= htmlReady($institute->url) ?></dd>
<? endif ?>
<? if ($institute->email) : ?>
<dt><?= _('E-Mail') ?></dt>
<dd><?= htmlReady($institute->email) ?></dd>
<? endif ?>
<? if ($institute->fakultaets_id) : ?>
<dt><?= _('Fakultät') ?></dt>
<dd><?= htmlReady($institute->faculty->name) ?></dd>
<? endif ?>
<? foreach ($institute->datafields->getTypedDatafield() as $entry): ?>
<? if ($entry->isVisible() && $entry->getValue()): ?>
<dt><?= htmlReady($entry->getName()) ?></dt>
<dd><?= $entry->getDisplayValue() ?></dd>
<? endif?>
<? endforeach ?>
</dl>
</section>
</article>
<?= $news ?>
<?= $questionnaires ?>
<?
// display plugins
$plugins = PluginEngine::getPlugins(StandardPlugin::class, $institute_id);
$layout = $GLOBALS['template_factory']->open('shared/index_box');
foreach ($plugins as $plugin) {
$template = $plugin->getInfoTemplate($institute_id);
if ($template) {
echo $template->render(layout: $layout);
$layout->clear_attributes();
}
}
|