aboutsummaryrefslogtreecommitdiff
path: root/templates/admin/institute_search.php
blob: e1504de01361b76c5e3ed36d75db08803695afa7 (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
<form name="links_admin_search" action="<?= URLHelper::getLink(Request::path()) ?>" method="post" class="default">
    <?= CSRFProtection::tokenTag() ?>

    <fieldset>
        <legend><?= _('Anzuzeigende Einrichtung') ?></legend>
        <label>
            <?= _('Einrichtung') ?>
            <select name="cid" required class="nested-select">
                <option value="" class="is-placeholder">
                    <?= _('-- Bitte Einrichtung auswählen --') ?>
                </option>
            <? foreach ($institutes as $institute): ?>
                <option value="<?= htmlReady($institute['Institut_id']) ?>"
                        class="<?= $institute['is_fak'] ? 'nested-item-header' : 'nested-item' ?>">
                    <?= htmlReady(my_substr($institute['Name'],0,80)) ?>
                </option>
            <? endforeach; ?>
            </select>
        </label>
    </fieldset>
    <footer>
        <?= Studip\Button::create(_('Einrichtung auswählen')) ?>
    </footer>
</form>