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 @@
<?= CSRFProtection::tokenTag() ?>
<fieldset>
<legend>
<?= _('Darstellung des Stundenplans ändern') ?>
<?= _('Angezeigter Zeitraum') ?>
</legend>
<section>
<?= _('Angezeigter Zeitraum') ?>
<section class="hgroup">
<label>
<?= _('von') ?>
......@@ -22,8 +21,12 @@
<?= _('Uhr') ?><br>
</section>
</section>
<section class='settings'>
</fieldset>
<fieldset>
<legend>
<?= _('Angezeigte Wochentage') ?>
</legend>
<section class='settings'>
<? foreach ([1, 2, 3, 4, 5, 6, 0] as $day) : ?>
<label>
<input type="checkbox" name="days[]" value="<?= $day ?>"
......
......@@ -38,7 +38,7 @@ if ($folder_id) {
<?= Icon::create('computer')->asImg(50) ?>
<?= _('Mein Computer') ?>
</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) ?>
<?= _('Webadresse') ?>
</a>
......
......@@ -13,25 +13,25 @@
value="<?= htmlReady(Request::get('name')) ?>">
</label>
<label>
<?= _('Zugriffsart') ?>
</label>
</fieldset>
<fieldset>
<legend><?= _('Zugriffsart') ?></legend>
<label>
<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')?>
</label>
<label>
<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')?>
</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>
<?= Studip\Button::createAccept(_('Speichern'), 'store') ?>
<?= 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