aboutsummaryrefslogtreecommitdiff
path: root/templates/elearning/_new_module_form.php
blob: 90a392167f70d4f9d71255aa3c062811ff1323d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php use Studip\Button, Studip\LinkButton; ?>
<form method="POST" action="<?=URLHelper::getLink()?>#anker">
<?=CSRFProtection::tokenTag()?>
<?=ELearningUtils::getHeader(_("Neues Lernmodul erstellen"));?>
<? foreach($cms_types as $name => $value) : ?>
    <input type="HIDDEN" name="<?=$name?>" value="<?=htmlReady($value)?>">
<? endforeach ?>
<table border="0" cellspacing=0 cellpadding=6 width = "100%">
<tr><td>
    <font size="-1">
    <?=sprintf(_("Typ für neues Lernmodul: %s"), ELearningUtils::getTypeSelectbox($cms))?>
    </font>
</td>
<td align="right" valign="middle">
    <? if (count($types) > 1) : ?>
        <?=Button::create(_('Auswählen'), 'choose')?>
    <? endif ?>
    <?=$link?>
</td></tr></table>
</form>