diff --git a/templates/PhotoPage.php b/templates/PhotoPage.php index 3f34e3df..f68acf52 100644 --- a/templates/PhotoPage.php +++ b/templates/PhotoPage.php @@ -32,8 +32,8 @@ class PhotoPage extends Template echo '

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

'; - $this->taggedPeople(); - $this->linkNewTags(); + $this->printTags('Album', 'Album', false); + $this->printTags('Tagged People', 'Person', true); echo ' @@ -118,26 +118,40 @@ class PhotoPage extends Template '; } - private function taggedPeople() + private function printTags($header, $tagKind, $allowLinkingNewTags) { echo ' -

Tags

-