aboutsummaryrefslogtreecommitdiff
path: root/app/views/search/studiengaenge/_studiengang.php
blob: baa53616f1784c0b204c0ffae62bbf9af39f1a0c (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
<dt class="<?= $cycle_class ?>" id="<?= $category->getId() ?>">
    <a href="<?= $controller->url_for('search/studiengang/info/' . $category->getId() . '#' . $modul->getId()) ?>">
        <?= htmlReady($modul->getDisplayName() . ' (' . $modul->responsible_institute->institute->getDisplayName() . ')'); ?>
    </a>
</dt>
<dd class="odd">
    <? if ($details_id == $modul->getId()) : ?>
    <div>
        <? if ($semester_select) : ?> 
        <div style="width: 50%; float:left;">
            <form name="semesterSelect" action="<?= $controller->url_for('search/module/overview/' . $modul->getId() . '#' . $modul->getId()) ?>" method="GET">
                <?= _('Semesterauswahl') ?>:
                <select name="sem_select" class="submit-upon-select">
                <? foreach ($semester_select as $sem) : ?>
                    <option value="<?= $sem->getId() ?>"<?= $sem->getId() == $selected_semester ? ' selected' : '' ?>>
                        <?= htmlReady($sem->name) ?>
                    </option>
                <? endforeach; ?>
                </select>
                <?= Icon::create('accept', 'clickable')->asInput(); ?>
            </form>
        </div>
        <div style="text-align:right;">
            <a data-dialog href="<?= $controller->url_for('search/module/description/' . $modul->getId()) ?>">
            <?= _('Vollständige Modulbeschreibung') ?>
            </a>
        </div>
        <? else : ?>
        <div style="text-align:right;">
            <a href="<?= $controller->url_for('search/module/overview/' . $modul->getId()) ?>">
            <?= _('Modulübersicht') ?>
            </a>
        </div>
        <? endif; ?>
        <?= $modul_content ?>
    </div>
    <? endif; ?>
</dd>