aboutsummaryrefslogtreecommitdiff
path: root/app/views/course/topics/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/course/topics/edit.php')
-rw-r--r--app/views/course/topics/edit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/course/topics/edit.php b/app/views/course/topics/edit.php
index 88b5316..a6b897e 100644
--- a/app/views/course/topics/edit.php
+++ b/app/views/course/topics/edit.php
@@ -26,7 +26,7 @@
<label>
<? $folder = $topic->folders->first() ?>
<? if ($folder) : ?>
- <?= Icon::create('accept', Icon::ROLE_ACCEPT)->asSvg(['class' => 'text-bottom']) ?>
+ <?= Icon::create('accept', Icon::ROLE_ACCEPT)->asImg(['class' => 'text-bottom']) ?>
<?= _('Dateiordner vorhanden') ?>
<? else : ?>
<input type="checkbox" name="folder" id="topic_folder" value="1">
@@ -38,7 +38,7 @@
<? if ($forum_activated) : ?>
<label>
<? if ($topic->forum_thread_url) : ?>
- <?= Icon::create('accept', Icon::ROLE_ACCEPT)->asSvg(['class' => 'text-bottom']) ?>
+ <?= Icon::create('accept', Icon::ROLE_ACCEPT)->asImg(['class' => 'text-bottom']) ?>
<?= _('Forenthema vorhanden') ?>
<? else : ?>
<input type="checkbox" name="forumthread" id="topic_forumthread" value="1">
@@ -52,14 +52,14 @@
<label>
<input type="checkbox" name="date[<?= htmlReady($date->id) ?>]" value="1" class="text-bottom"
<? if (in_array($date->id, $date_ids)) echo 'checked'; ?>>
- <?= Icon::create('date', Icon::ROLE_INFO)->asSvg(['class' => 'text-bottom']) ?>
+ <?= Icon::create('date', Icon::ROLE_INFO)->asImg(['class' => 'text-bottom']) ?>
<?= floor($date['date'] / 86400) !== floor($date['end_time'] / 86400) ? date("d.m.Y, H:i", $date['date'])." - ".date("d.m.Y, H:i", $date['end_time']) : date("d.m.Y, H:i", $date['date'])." - ".date("H:i", $date['end_time']) ?>
<? if (count($date->topics) > 0) : ?>
(
<? foreach ($date->topics as $key => $localtopic) : ?>
<a href="<?= $controller->index(['open' => $localtopic->id]) ?>">
- <?= Icon::create('topic')->asSvg(['class' => 'text-bottom']) ?>
+ <?= Icon::create('topic')->asImg(['class' => 'text-bottom']) ?>
<?= htmlReady($localtopic->title) ?>
</a>
<? endforeach ?>