aboutsummaryrefslogtreecommitdiff
path: root/app/views/resources
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/resources')
-rw-r--r--app/views/resources/_common/_request_info.php2
-rw-r--r--app/views/resources/_common/_request_tr.php2
-rw-r--r--app/views/resources/admin/global_locks.php2
-rw-r--r--app/views/resources/booking/add_from_request.php2
-rw-r--r--app/views/resources/room_request/planning.php2
-rw-r--r--app/views/resources/room_request/resolve.php2
6 files changed, 6 insertions, 6 deletions
diff --git a/app/views/resources/_common/_request_info.php b/app/views/resources/_common/_request_info.php
index 8a0c7b4..c698fad 100644
--- a/app/views/resources/_common/_request_info.php
+++ b/app/views/resources/_common/_request_info.php
@@ -5,7 +5,7 @@
?>
<dl>
<dt><?= _('Termine') ?>:</dt>
- <dd><?= $request->getDateString() ?></dd>
+ <dd><?= htmlReady($request->getDateString()) ?></dd>
<dt><?= !empty($timesrooms_page) ? _('Rüstzeit vor dem Termin') : _('Rüstzeit vor der Buchung') ?>:</dt>
<dd>
<? $preparation_time_minutes = intval($request->preparation_time / 60) ?>
diff --git a/app/views/resources/_common/_request_tr.php b/app/views/resources/_common/_request_tr.php
index 8f0510e..7c18ed1 100644
--- a/app/views/resources/_common/_request_tr.php
+++ b/app/views/resources/_common/_request_tr.php
@@ -49,7 +49,7 @@
</td>
<? $intervals = $request->getTimeIntervals() ?>
<td data-sort-value="<?= htmlReady(isset($intervals[0]) ? $intervals[0]['begin'] : '') ?>">
- <?= $request->getTypeString() ?>
+ <?= htmlReady($request->getTypeString()) ?>
<? if ($request->isSimpleRequest()): ?>
<?
$begin = $request->getStartDate();
diff --git a/app/views/resources/admin/global_locks.php b/app/views/resources/admin/global_locks.php
index ef6bccd..6f44630 100644
--- a/app/views/resources/admin/global_locks.php
+++ b/app/views/resources/admin/global_locks.php
@@ -13,7 +13,7 @@
<tr>
<td><?= date('d.m.Y H:i', $lock->begin) ?></td>
<td><?= date('d.m.Y H:i', $lock->end) ?></td>
- <td><?= $lock->getTypeString() ?></td>
+ <td><?= htmlReady($lock->getTypeString()) ?></td>
<td class="actions">
<?= ActionMenu::get()->setContext(
sprintf(
diff --git a/app/views/resources/booking/add_from_request.php b/app/views/resources/booking/add_from_request.php
index e7c3d37..f5b5573 100644
--- a/app/views/resources/booking/add_from_request.php
+++ b/app/views/resources/booking/add_from_request.php
@@ -12,7 +12,7 @@
<legend><?= _('Details zur Anfrage') ?></legend>
<h3><?= _('Angefragte Zeiträume')?></h3>
<ul>
- <? $appointments = explode("\n", $request->getDateString()) ?>
+ <? $appointments = $request->getDateString(true) ?>
<? foreach ($appointments as $appointment): ?>
<li><?= htmlReady($appointment) ?></li>
<? endforeach ?>
diff --git a/app/views/resources/room_request/planning.php b/app/views/resources/room_request/planning.php
index 8011dee..1b6c6a3 100644
--- a/app/views/resources/room_request/planning.php
+++ b/app/views/resources/room_request/planning.php
@@ -285,7 +285,7 @@
<? endif ?>
</td>
<td>
- <?= $request->getTypeString() ?>
+ <?= htmlReady($request->getTypeString()) ?>
</td>
</tr>
<? endforeach ?>
diff --git a/app/views/resources/room_request/resolve.php b/app/views/resources/room_request/resolve.php
index 8156dc2..9d4aab8 100644
--- a/app/views/resources/room_request/resolve.php
+++ b/app/views/resources/room_request/resolve.php
@@ -125,7 +125,7 @@
<dd>
<? $dates = $request->getDateString(true, false) ?>
<? if ($dates) : ?>
- <?= implode('<br>', $dates) ?>
+ <?= implode('<br>', array_map('htmlReady', $dates)) ?>
<? else : ?>
<?= _('Keine') ?>
<? endif ?>