Skip to content
Snippets Groups Projects
Commit e57aea00 authored by Michaela Brückner's avatar Michaela Brückner :unicorn:
Browse files

fixes #4224

Closes #4224

Merge request studip/studip!3056
parent 062a7f9a
No related branches found
No related tags found
No related merge requests found
...@@ -2,10 +2,9 @@ ...@@ -2,10 +2,9 @@
<?= CSRFProtection::tokenTag() ?> <?= CSRFProtection::tokenTag() ?>
<fieldset> <fieldset>
<legend> <legend>
<?= _('Darstellung des Stundenplans ändern') ?> <?= _('Angezeigter Zeitraum') ?>
</legend> </legend>
<section> <section>
<?= _('Angezeigter Zeitraum') ?>
<section class="hgroup"> <section class="hgroup">
<label> <label>
<?= _('von') ?> <?= _('von') ?>
...@@ -22,8 +21,12 @@ ...@@ -22,8 +21,12 @@
<?= _('Uhr') ?><br> <?= _('Uhr') ?><br>
</section> </section>
</section> </section>
<section class='settings'> </fieldset>
<fieldset>
<legend>
<?= _('Angezeigte Wochentage') ?> <?= _('Angezeigte Wochentage') ?>
</legend>
<section class='settings'>
<? foreach ([1, 2, 3, 4, 5, 6, 0] as $day) : ?> <? foreach ([1, 2, 3, 4, 5, 6, 0] as $day) : ?>
<label> <label>
<input type="checkbox" name="days[]" value="<?= $day ?>" <input type="checkbox" name="days[]" value="<?= $day ?>"
......
...@@ -38,7 +38,7 @@ if ($folder_id) { ...@@ -38,7 +38,7 @@ if ($folder_id) {
<?= Icon::create('computer')->asImg(50) ?> <?= Icon::create('computer')->asImg(50) ?>
<?= _('Mein Computer') ?> <?= _('Mein Computer') ?>
</a> </a>
<a href="<?= $controller->link_for('file/add_url/' . $folder_id, array_merge($options, ['from_plugin' => ""])) ?>" data-dialog> <a href="<?= $controller->link_for('file/add_url/' . $folder_id, array_merge($options, ['from_plugin' => ""])) ?>" data-dialog="size=medium">
<?= Icon::create('globe')->asImg(50) ?> <?= Icon::create('globe')->asImg(50) ?>
<?= _('Webadresse') ?> <?= _('Webadresse') ?>
</a> </a>
......
...@@ -13,25 +13,25 @@ ...@@ -13,25 +13,25 @@
value="<?= htmlReady(Request::get('name')) ?>"> value="<?= htmlReady(Request::get('name')) ?>">
</label> </label>
<label> </fieldset>
<?= _('Zugriffsart') ?> <fieldset>
</label> <legend><?= _('Zugriffsart') ?></legend>
<label> <label>
<input type="radio" name="access_type" value="redirect" <input type="radio" name="access_type" value="redirect"
<? if (Request::option('access_type') !== 'proxy') echo 'checked'; ?>> <? if (Request::option('access_type') !== 'proxy') echo 'checked'; ?>>
<?= _('Direktlink')?> <?= _('Direktlink')?>
</label> </label>
<label> <label>
<input type="radio" name="access_type" value="proxy" <input type="radio" name="access_type" value="proxy"
<? if (Request::option('access_type') === 'proxy') echo 'checked'; ?>> <? if (Request::option('access_type') === 'proxy') echo 'checked'; ?>>
<?= _('Link über Proxy')?> <?= _('Link über Proxy')?>
</label> </label>
<?= $this->render_partial('file/_terms_of_use_select.php', [
'content_terms_of_use_entries' => $content_terms_of_use_entries,
'selected_terms_of_use_id' => $content_terms_of_use_id,
]) ?>
</fieldset>
</fieldset>
<?= $this->render_partial('file/_terms_of_use_select.php', [
'content_terms_of_use_entries' => $content_terms_of_use_entries,
'selected_terms_of_use_id' => $content_terms_of_use_id,
]) ?>
<footer data-dialog-button> <footer data-dialog-button>
<?= Studip\Button::createAccept(_('Speichern'), 'store') ?> <?= Studip\Button::createAccept(_('Speichern'), 'store') ?>
<?= Studip\LinkButton::createCancel( <?= Studip\LinkButton::createCancel(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment