aboutsummaryrefslogtreecommitdiff
path: root/app/views/resources/room_planning/_sidebar_date_selection.php
blob: d1ac876f293537dbd6936e1afe8f72a4a09dd850 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
if (!isset($date)) {
    $date = new DateTime();
}
?>
<?= \Studip\LinkButton::create(
        _('Heute'),
        URLHelper::getURL('', ['defaultDate' => date('Y-m-d')])
    ); ?>

<input id="booking-plan-jmpdate" type="text"
 name="booking-plan-jmpdate" value="<?= $date->format('d.m.Y') ?>">