= I18N::translate('Media file') ?> canEdit()) : ?> |
isExternal()) : ?>
= Registry::elementFactory()->make('OBJE:FILE')->labelValue($media_file->filename(), $media->tree()) ?>
tree())) :?>
fileExists($data_filesystem)) : ?>
= I18N::translate('The file “%s” does not exist.', e($media_file->filename())) ?> = Registry::elementFactory()->make('OBJE:FILE')->labelValue($media_file->filename(), $media->tree()) ?> = Registry::elementFactory()->make('OBJE:FILE:TITL')->labelValue($media_file->title(), $media->tree()) ?> = Registry::elementFactory()->make('OBJE:FILE:FORM:TYPE')->labelValue($media_file->type(), $media->tree()) ?> = Registry::elementFactory()->make('OBJE:FILE:FORM')->labelValue($media_file->format(), $media->tree()) ?>
isExternal()) : ?>
mimeType())[0] === 'audio') : ?>
mimeType())[0] === 'video') : ?>
= $media_file->displayImage(200, 150, 'contain', []) ?>
tree()->getPreference('SHOW_MEDIA_DOWNLOAD') >= Auth::accessLevel($media->tree()) && $media_file->fileExists($data_filesystem)) : ?>
= I18N::translate('Download file') ?> |
---|---|
= I18N::translate('Source') ?> | = I18N::translate('Add a source citation') ?> |
= I18N::translate('Shared note') ?> | = I18N::translate('Add a shared note') ?> |
= I18N::translate('Restriction') ?> | = I18N::translate('Add a restriction') ?> |
= I18N::translate('Media file') ?> | = I18N::translate('Add a media file') ?> |