PhotoPage: change previous/next icons

This commit is contained in:
2023-03-11 14:13:29 +01:00
parent 021df2df93
commit 812c7a4f20
2 changed files with 8 additions and 10 deletions

View File

@@ -84,17 +84,17 @@ class PhotoPage extends Template
{
if ($this->previous_photo_url)
echo '
<a href="', $this->previous_photo_url, '" id="previous_photo"><em>Previous photo</em></a>';
<a href="', $this->previous_photo_url, '" id="previous_photo"><i class="bi bi-arrow-left"></i></a>';
else
echo '
<span id="previous_photo"><em>Previous photo</em></span>';
<span id="previous_photo"><i class="bi bi-arrow-left"></i></span>';
if ($this->next_photo_url)
echo '
<a href="', $this->next_photo_url, '" id="next_photo"><em>Next photo</em></a>';
<a href="', $this->next_photo_url, '" id="next_photo"><i class="bi bi-arrow-right"></i></a>';
else
echo '
<span id="next_photo"><em>Next photo</em></span>';
<span id="next_photo"><i class="bi bi-arrow-right"></i></span>';
}
private function photoMeta()