From d17d98a8387367d0e32e381d7fc3405d830ce967 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Thu, 11 Jan 2024 19:20:46 +0100 Subject: [PATCH] PhotoPage: move user actions inside photo description box --- templates/PhotoPage.php | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/templates/PhotoPage.php b/templates/PhotoPage.php index 2decf31..3f34e3d 100644 --- a/templates/PhotoPage.php +++ b/templates/PhotoPage.php @@ -24,8 +24,12 @@ class PhotoPage extends Template echo '
-
-
+
+
'; + + $this->userActions(); + + echo '

', $this->photo->getTitle(), '

'; $this->taggedPeople(); @@ -34,10 +38,9 @@ class PhotoPage extends Template echo '
-
'; +
'; $this->photoMeta(); - $this->userActions(); echo '
@@ -218,13 +221,13 @@ class PhotoPage extends Template return; echo ' -
-

Actions

- Edit photo +
+ + Edit Delete photo + '"> Delete
'; } }