Leave out labels on photo index pages.

They were pretty much only displaying filenames, so not adding much.
This commit is contained in:
2017-11-09 15:55:23 +01:00
parent 9fe8acc747
commit ee9bdd45c0
2 changed files with 6 additions and 13 deletions

View File

@@ -19,7 +19,7 @@ class PhotosIndex extends SubTemplate
const PANORAMA_HEIGHT = null;
const PORTRAIT_WIDTH = 400;
const PORTRAIT_HEIGHT = 640;
const PORTRAIT_HEIGHT = 645;
const LANDSCAPE_WIDTH = 850;
const LANDSCAPE_HEIGHT = 640;
@@ -31,9 +31,9 @@ class PhotosIndex extends SubTemplate
const SINGLE_HEIGHT = 412;
const TILE_WIDTH = 400;
const TILE_HEIGHT = 267;
const TILE_HEIGHT = 300;
public function __construct(PhotoMosaic $mosaic, $show_edit_buttons = false, $show_labels = true, $show_headers = true)
public function __construct(PhotoMosaic $mosaic, $show_edit_buttons = false, $show_labels = false, $show_headers = true)
{
$this->mosaic = $mosaic;
$this->show_edit_buttons = $show_edit_buttons;