Lines Matching full:file
22 <label class="col-form-label col-sm-2" for="file-location">
23 <?= I18N::translate('Media file') ?>
26 <select class="form-select" id="file-location" name="file_location">
28 <?= I18N::translate('A file on your computer') ?>
32 <?= I18N::translate('A file on the server') ?>
42 <div class="row file-location file-location-upload mb-3 <?= $media_file instanceof MediaFile ? 'd-n…
43 <label class="col-form-label col-sm-2" for="file">
44 <?= I18N::translate('A file on your computer') ?>
47 <input class="form-control" id="file" name="file" type="file">
55 <div class="row file-location file-location-upload mb-3 <?= $media_file instanceof MediaFile && $me…
71 …"new_file" type="text" placeholder="<?= I18N::translate('Same as uploaded file') ?>" value="<?= e(…
86 <div class="row file-location file-location-unused mb-3 d-none">
88 <?= I18N::translate('A file on the server') ?>
97 <div class="row file-location file-location-url mb-3 <?= $media_file && $media_file->isExternal() ?…
126 document.getElementById('file-location').addEventListener('change', function () {
127 document.querySelectorAll('.file-location').forEach((e) => e.classList.add('d-none'));
128 …document.querySelectorAll('.file-location-' + this.value).forEach((e) => e.classList.remove('d-non…