diff options
Diffstat (limited to 'app/views/admin/banner/edit.php')
| -rw-r--r-- | app/views/admin/banner/edit.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/views/admin/banner/edit.php b/app/views/admin/banner/edit.php index 9bf48f5..b99e108 100644 --- a/app/views/admin/banner/edit.php +++ b/app/views/admin/banner/edit.php @@ -18,6 +18,8 @@ <fieldset> <label> + <?= _('Banner:') ?><br> + <? if ($banner['banner_path']) : ?> <?= $banner->toImg(['style' => 'max-width:500px']) ?> <? else : ?> @@ -32,6 +34,22 @@ </label> <label> + <?= _('Mobiles Banner (optional):') ?><br> + + <? if ($banner['banner_mobile_path']) : ?> + <?= $banner->toImg(['style' => 'max-width:500px'], true) ?> + <? else : ?> + <?= _('Noch kein Bild hochgeladen') ?> + <? endif; ?><br> + + <label class="file-upload"> + <?= _('Bilddatei auswählen') ?> + <input id="imgfile_mobile" name="imgfile_mobile" type="file" accept="image/*"> + <input type="hidden" name="banner_mobile_path" value="<?= $banner['banner_mobile_path'] ?>"> + </label> + </label> + + <label> <?= _('Beschreibung:') ?> <input type="text" id="description" name="description" value="<?= htmlReady($banner['description']) ?>" size="40" maxlength="254"> </label> |
