summaryrefslogtreecommitdiff
path: root/src/application/views/view_post.php
diff options
context:
space:
mode:
authorJonas Kohl2024-10-11 15:08:31 +0200
committerJonas Kohl2024-10-11 15:08:31 +0200
commit72061dac58ee44ebd5c26efacb00790ef11aa136 (patch)
treece1c2cc8cb435d02d168f12f064dd922f9ec6597 /src/application/views/view_post.php
parent0fb99f2ebb773bbede609946cc1c19955d06b0be (diff)
Switch from Glyphicons to Fork Awesome
Diffstat (limited to 'src/application/views/view_post.php')
-rw-r--r--src/application/views/view_post.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/application/views/view_post.php b/src/application/views/view_post.php
index 0f86896..b41f418 100644
--- a/src/application/views/view_post.php
+++ b/src/application/views/view_post.php
@@ -38,7 +38,7 @@ $is_op = $postAuthor?->id === $topicAuthor?->id && $postAuthor?->id !== null;
</div>
<div class="media-body">
<div class="well icon-well text-warning">
- <span class="glyphicon glyphicon-exclamation-sign text-warning" aria-hidden="true"></span>
+ <span class="fa fa-exclamation-triangle text-warning" aria-hidden="true"></span>
<em><?= __("This post has been deleted") ?></em>
</div>
</div>
@@ -66,17 +66,17 @@ $is_op = $postAuthor?->id === $topicAuthor?->id && $postAuthor?->id !== null;
<div class="panel-title h3">
<?php if (!$hide_actions): ?>
<div class="pull-right">
- <a href="#post-<?= htmlentities(urlencode($post->id)) ?>" class="btn btn-default"><span class="glyphicon glyphicon-link" aria-hidden="true"></span><span class="sr-only"><?= __("Permalink") ?></span></a>
+ <a href="#post-<?= htmlentities(urlencode($post->id)) ?>" class="btn btn-default"><span class="fa fa-link" aria-hidden="true"></span><span class="sr-only"><?= __("Permalink") ?></span></a>
<?php if ($canReply): ?>
- <button data-post-id="<?= htmlentities($post->id) ?>" class="btn btn-default js-only _reply-post"><span class="glyphicon glyphicon-share-alt" aria-hidden="true"></span><span class="sr-only"><?= __("Reply to post") ?></span></button>
+ <button data-post-id="<?= htmlentities($post->id) ?>" class="btn btn-default js-only _reply-post"><span class="fa fa-comment" aria-hidden="true"></span><span class="sr-only"><?= __("Reply to post") ?></span></button>
<?php endif; ?>
<?php if ($canEdit): ?>
- <button data-post-id="<?= htmlentities($post->id) ?>" class="btn btn-default js-only _edit-post"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span><span class="sr-only"><?= __("Edit post") ?></span></button>
+ <button data-post-id="<?= htmlentities($post->id) ?>" class="btn btn-default js-only _edit-post"><span class="fa fa-pencil" aria-hidden="true"></span><span class="sr-only"><?= __("Edit post") ?></span></button>
<?php endif; ?>
<?php if ($canDelete): ?>
<form action="?_action=deletepost" method="post" class="seamless-inline">
<input type="hidden" name="post" value="<?= htmlentities($post->id) ?>">
- <button type="submit" class="btn btn-danger"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span><span class="sr-only"><?= __("Delete post") ?></span></button>
+ <button type="submit" class="btn btn-danger"><span class="fa fa-trash" aria-hidden="true"></span><span class="sr-only"><?= __("Delete post") ?></span></button>
</form>
<?php endif; ?>
</div>
@@ -87,7 +87,7 @@ $is_op = $postAuthor?->id === $topicAuthor?->id && $postAuthor?->id !== null;
<?php else: ?>
<a href="?_action=viewuser&amp;user=<?= htmlentities(urlencode($postAuthor->id)) ?>"><?= htmlentities($postAuthor->displayName) ?></a>
<?php if ($is_op): ?>
- <span title="<?= __("Created this topic") ?>" class="text-info glyphicon glyphicon-comment"></span>
+ <span title="<?= __("Created this topic") ?>" class="text-info fa fa-user-circle"></span>
<?php endif; ?>
<?php endif; ?>
<?php if ($your_are_the_author): ?>
@@ -115,9 +115,9 @@ $is_op = $postAuthor?->id === $topicAuthor?->id && $postAuthor?->id !== null;
<a class="image-attachment attachment<?php if (str_starts_with($attachment->mimeType, "video/")): ?> video-attachment<?php endif; ?>" href="?_action=attachment&amp;attachment=<?= htmlentities(urlencode($attachment->id)) ?>" title="<?= htmlentities($attachment->name) ?>" data-attachment-id="<?= htmlentities($attachment->id) ?>">
<img class="image-attachment-image" src="?_action=thumb&amp;attachment=<?= htmlentities(urlencode($attachment->id)) ?>" alt="" width="100">
<?php if (!$canViewAttachments): ?>
- <span class="attachment-lock glyphicon glyphicon-ban-circle" aria-hidden="true"></span>
+ <span class="attachment-lock fa fa-ban" aria-hidden="true"></span>
<?php elseif (str_starts_with($attachment->mimeType, "video/")): ?>
- <span class="video-player-icon glyphicon glyphicon-play-circle" aria-hidden="true"></span>
+ <span class="video-player-icon fa fa-play-circle" aria-hidden="true"></span>
<?php endif; ?>
</a>
<?php endif; ?>
@@ -134,7 +134,7 @@ $is_op = $postAuthor?->id === $topicAuthor?->id && $postAuthor?->id !== null;
<?php else: ?>
<a class="btn btn-default attachment" href="?_action=attachment&amp;attachment=<?= htmlentities(urlencode($attachment->id)) ?>">
<?php if (!$canViewAttachments): ?>
- <span class="glyphicon glyphicon-ban-circle" aria-hidden="true"></span>
+ <span class="fa fa-ban" aria-hidden="true"></span>
<?php endif; ?>
<?= htmlentities($attachment->name) ?>
</a>