blob: c5f7fbf0c4ea071cf575b04ae9394f7f8efd0c28 (
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
|
<?php
/**
* @var Admin_LoginStyleController $controller
*/
?>
<form class="default" action="<?= $controller->add_pic() ?>" method="post" enctype="multipart/form-data">
<?= CSRFProtection::tokenTag() ?>
<fieldset>
<legend>
<?= _('Bild(er) hinzufügen') ?>
</legend>
<label>
<?= _('Bild(er) hochladen') ?>
<input type="file"
name="pictures[]"
style="display: none;"
accept="image/gif,image/jpeg,image/png"
required
multiple>
<?= Icon::create('upload')->asImg(['class' => 'text-bottom upload']) ?>
</label>
<label>
<input type="checkbox" name="desktop" value="1" checked>
<?= _('aktiv in Desktopansicht') ?>
</label>
<label>
<input type="checkbox" name="mobile" value="1" checked>
<?= _('aktiv in Mobilansicht') ?>
</label>
</fieldset>
<footer data-dialog-button>
<?= CSRFProtection::tokenTag() ?>
<?= Studip\Button::createAccept(_('Speichern'), 'store') ?>
<?= Studip\LinkButton::createCancel(_('Abbrechen'), $controller->indexURL()) ?>
</footer>
</form>
|