From f96ab144ef17abc3f5fd31dbbd45f6f699a1e595 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Sun, 4 Sep 2016 11:23:08 +0200 Subject: [PATCH] WIP: adding tags to photos. --- templates/PhotoPage.php | 45 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/templates/PhotoPage.php b/templates/PhotoPage.php index 9ee2a09..2499bcb 100644 --- a/templates/PhotoPage.php +++ b/templates/PhotoPage.php @@ -26,6 +26,7 @@ class PhotoPage extends SubTemplate

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

'; $this->taggedPeople(); + $this->linkNewTags(); echo ' '; @@ -131,6 +132,50 @@ class PhotoPage extends SubTemplate '; } + private function linkNewTags() + { + echo ' +
+

Link tags

+ +
+ + + '; + } + public function setExif(EXIF $exif) { $this->exif = $exif;