blob: 0d5046747bc12ed3379066aca7eb55bddc48a67d (
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
40
41
42
43
44
45
46
47
48
49
|
<br>
<footer data-dialog-button>
<? if ($step !== 3) : ?>
<?= \Studip\LinkButton::create(
_('Zurück auf Anfang'),
$controller->url_for('course/room_requests/new_request/' . $request_id),
['data-dialog' => 'size=big']
) ?>
<? else: ?>
<?= \Studip\LinkButton::create(
_('Angaben bearbeiten'),
$controller->url_for('course/room_requests/request_find_available_properties/' . $request_id . '/1'),
['data-dialog' => 'size=big']
) ?>
<? endif ?>
<? if ($step === 1 || $step === 2) : ?>
<? if (
!isset($_SESSION[$request_id]['search_by'])
|| $_SESSION[$request_id]['search_by'] !== 'category'
) : ?>
<? \Studip\Button::create(_('Raum auswählen'), 'select_room') ?>
<? endif ?>
<? endif ?>
<? if (
(
$step === 1
&& !empty($_SESSION[$request_id]['room_category_id'])
)
|| $step === 2
) : ?>
<?= \Studip\Button::create(_('Weiter'), 'show_summary') ?>
<? endif ?>
<? if ($step === 3) : ?>
<?= \Studip\Button::create(_('Raumanfrage speichern'), 'save_request') ?>
<? endif ?>
<?= \Studip\LinkButton::createCancel(
_('Abbrechen'),
$controller->url_for('course/room_requests/index/' . $course_id),
[
'title' => _('Abbrechen')
]
) ?>
</footer>
</form>
|