$folders * @var string $format * @var array $formats * @var LinkedRecordService $linked_record_service * @var int $max * @var Collection $media_objects * @var ModuleListInterface $module * @var int $page * @var int $pages * @var string $subdirs * @var string $title * @var Tree $tree */ ?>

'folder', 'selected' => $folder, 'options' => $folders]) ?> /* I18N: Label for check-box */ I18N::translate('Include subfolders'), 'name' => 'subdirs', 'checked' => $subdirs === '1']) ?>
'max', 'selected' => $max, 'options' => [10, 20, 30, 40, 50, 75, 100, 150, 200]]) ?>
'format', 'id' => 'format', 'selected' => $format, 'options' => ['' => ''] + $formats]) ?>

isNotEmpty()) : ?> $module, 'page' => $page, 'pages' => $pages, 'folder' => $folder, 'subdirs' => $subdirs, 'filter' => $filter, 'format' => $format, 'max' => $max, 'tree' => $tree]) ?>
$media_object) : ?>
mediaFiles() as $media_file) : ?> displayImage(300, 200, 'contain', ['class' => 'img-fluid']) ?> mediaFiles()->first() ?>

type(); if ($media_file->type() !== '') { $element = Registry::elementFactory()->make('OBJE:FILE:FORM:TYPE'); echo $element->labelValue($media_file->type(), $media_object->tree()); } foreach ($media_object->facts(['SOUR']) as $fact) { echo view('fact-gedcom-fields', ['gedcom' => $fact->gedcom(), 'parent' => $media_object->tag(), 'tree' => $tree]); } foreach ($media_object->facts(['NOTE']) as $fact) { echo view('fact-gedcom-fields', ['gedcom' => $fact->gedcom(), 'parent' => $media_object->tag(), 'tree' => $tree]); } if ($media_file->isExternal()) { echo Registry::elementFactory()->make('OBJE:FILE')->labelValue($media_file->filename(), $media_object->tree()); } elseif ($media_file->fileExists($data_filesystem)) { if (Auth::isEditor($tree)) { echo Registry::elementFactory()->make('OBJE:FILE')->labelValue($media_file->filename(), $media_object->tree()); foreach ($media_file->attributes($data_filesystem) as $label => $value) { $label = '' . $label . ''; $value = '' . $value . ''; echo '

' . I18N::translate(/* I18N: e.g. "Occupation: farmer" */ '%1$s: %2$s', $label, $value) . '
'; } } } else { echo '

', /* I18N: %s is a filename */ I18N::translate('The file ā€œ%sā€ does not exist.', e($media_file->filename())), '

'; } ?>

$module, 'page' => $page, 'pages' => $pages, 'folder' => $folder, 'subdirs' => $subdirs, 'filter' => $filter, 'format' => $format, 'max' => $max, 'tree' => $tree]) ?>