From be909bf54dd4e3e2b5a5901a58a2b0bc12be2da4 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Sat, 1 Apr 2023 14:41:24 +0200 Subject: [PATCH] PhotosIndex: rename 'row' layout to 'landscapes' --- models/PhotoMosaic.php | 2 +- templates/PhotosIndex.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/models/PhotoMosaic.php b/models/PhotoMosaic.php index 7cf1baa..901e8a0 100644 --- a/models/PhotoMosaic.php +++ b/models/PhotoMosaic.php @@ -169,6 +169,6 @@ class PhotoMosaic if ($num_portrait > $num_landscape) return [$photos, 'portraits']; else - return [$photos, 'row']; + return [$photos, 'landscapes']; } } diff --git a/templates/PhotosIndex.php b/templates/PhotosIndex.php index ee6e8c2..499038b 100644 --- a/templates/PhotosIndex.php +++ b/templates/PhotosIndex.php @@ -229,7 +229,7 @@ class PhotosIndex extends Template '; } - protected function row(array $photos) + protected function landscapes(array $photos) { echo '
';