aboutsummaryrefslogtreecommitdiff
path: root/templates/admin/adminList.php
blob: ee4cccda7f70c6f520c88909b809debfdd75ca78 (plain)
1
2
3
4
5
6
7
8
<form action="<? URLHelper::getLink("?#admin_top_links", ['cid' => null]) ?>" method="get">
    <select class="text-top" aria-label="<?= _("Wählen Sie ein Seminar aus Ihrer letzten Seminarsuche aus, um dieses zu bearbeiten.") ?>" name="cid" onKeyDown="if (event.keyCode === 13) { jQuery(this).closest('form')[0].submit(); }" onClick="jQuery(this).closest('form')[0].submit();" size="10" style="max-width: 200px;cursor:pointer">
    <? foreach ($adminList as $seminar) : ?>
        <option title="<?= htmlReady($seminar['VeranstaltungsNummer'] . ' ' . $seminar['Name']) ?>" value="<?= htmlReady($seminar['Seminar_id']) ?>"<?= ($seminar['Seminar_id'] === $course_id ? " selected" : "") ?>><?= htmlReady(my_substr($seminar['Name'],0,30)) ?></option>
    <? endforeach ?>
    </select>
    <?= Icon::create('accept', 'accept', ['title' => _('Auswählen')])->asInput(["class" => 'text-top']) ?>
</form>