Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 117) sorted by relevance

12345

/webtrees/app/Http/RequestHandlers/
H A DEditMediaFileAction.php97 $file = $remote;
104 $file = $new_file;
106 $file = $folder . '/' . $new_file;
112 $file = $media_file->filename();
117 $new = $file;
127 …s been renamed to %2$s.', Html::filename($media_file->filename()), Html::filename($file)), 'info');
130 …not be renamed to %2$s.', Html::filename($media_file->filename()), Html::filename($file)), 'info');
131 $file = $old;
139 $gedcom = $this->media_file_service->createMediaFileGedcom($file, $type, $title, '');
H A DManageMediaData.php223 ->map(static fn (string $file): array => (array) $file);
334 * @param string $file
338 private function mediaFileInfo(FilesystemOperator $data_filesystem, string $file): string argument
342 $html .= '<dd>' . e($file) . '</dd>';
345 $file_exists = $data_filesystem->fileExists($file);
352 $size = $data_filesystem->fileSize($file);
365 $imgsize = getimagesizefromstring($data_filesystem->read($file));
H A DCreateMediaObjectFromFile.php57 $file = Validator::parsedBody($request)->string('file');
62 $file = Registry::elementFactory()->make('OBJE:FILE')->canonical($file);
67 …$gedcom = "0 @@ OBJE\n" . $this->media_file_service->createMediaFileGedcom($file, $type, $title, $…
H A DAddMediaFileAction.php73 $file = $this->media_file_service->uploadFile($request);
75 if ($file === '') {
81 $gedcom = $this->media_file_service->createMediaFileGedcom($file, $type, $title, '');
H A DCreateMediaObjectAction.php76 $file = $this->media_file_service->uploadFile($request);
87 if ($file === '') {
91 …$gedcom = "0 @@ OBJE\n" . $this->media_file_service->createMediaFileGedcom($file, $type, $title, $…
/webtrees/app/Services/
H A DMediaFileService.php197 $file = $new_file;
199 $file = $uploaded_file->getClientFilename();
210 if ($auto === '1' || $tree->mediaFilesystem()->fileExists($folder . $file)) {
213 $file = sha1((string) $uploaded_file->getStream()) . '.' . $extension;
217 … $tree->mediaFilesystem()->writeStream($folder . $file, $uploaded_file->getStream()->detach());
219 return $folder . $file;
233 * @param string $file
240 …public function createMediaFileGedcom(string $file, string $type, string $title, string $note): st… argument
242 $gedcom = '1 FILE ' . $file;
244 if (str_contains($file, '://')) {
[all …]
H A DGedcomImportService.php744 $file = $match[1] ?? '';
777 ->where('multimedia_file_refn', '=', mb_substr($file, 0, 248))
784 $gedcom = '0 @' . $xref . "@ OBJE\n1 FILE " . $file;
823 'multimedia_file_refn' => mb_substr($file, 0, 248),
/webtrees/public/ckeditor-4.15.1-custom/skins/moono/
H A Dreadme.md24 - **editor.css**: the main CSS file. It's simply loading several other files, for easier maintenanc…
25 - **mainui.css**: the file contains styles of entire editor outline structures,
26 - **toolbar.css**: the file contains styles of the editor toolbar space (top),
27 - **richcombo.css**: the file contains styles of the rich combo ui elements on toolbar,
28 - **panel.css**: the file contains styles of the rich combo drop-down, it's not loaded
30 - **elementspath.css**: the file contains styles of the editor elements path bar (bottom),
31 - **menu.css**: the file contains styles of all editor menus including context menu and button drop…
34 - **reset.css**: the file defines the basis of style resets among all editor UI spaces,
35 - **preset.css**: the file defines the default styles of some UI elements reflecting the skin prefe…
/webtrees/app/Module/
H A DModuleCustomTrait.php97 …return Registry::cache()->file()->remember($this->name() . '-latest-version', function (): string {
152 $file = $this->resourcesFolder() . $asset;
155 $hash = filemtime($file);
185 $file = $this->resourcesFolder() . $asset;
187 if (!file_exists($file)) {
188 throw new HttpNotFoundException(e($file));
191 $content = file_get_contents($file);
/webtrees/
H A DREADME.md112 1. Download the .ZIP file for latest stable version from [github.com](https://github.com/fisharebes…
120 If you have a GEDCOM file, you can import it into the tree. If not, just start
150 file **data/offline.txt**. While this file exists, visitors will see a
152 4. Unzip the .ZIP file, and upload the files to your web server, overwriting the existing files.
153 5. Delete the file **data/offline.txt**.
181 You will need to re-run the second of these any time you modify the file `webtrees.js`.
185 When you import a family tree (GEDCOM) file in **webtrees** the
186 data from the file is transferred to the database tables. The file itself
189 will not change this file
192 necessary to delete your GEDCOM file or database from **webtrees** and start
[all …]
/webtrees/app/Report/
H A DReportBaseImage.php28 public string $file; variable in Fisharebest\\Webtrees\\Report\\ReportBaseImage
51 * @param string $file Filename of the image
59 …public function __construct(string $file, float $x, float $y, float $w, float $h, string $align, s… argument
61 $this->file = $file;
H A DReportHtmlImage.php54 …echo '<img src="', $this->file, '" style="width:', $this->width, 'pt;height:', $this->height, "pt;…
58 …echo '<img src="', $this->file, '" style="width:', $this->width, 'pt;height:', $this->height, "pt;…
62 …echo '<img src="', $this->file, '" style="width:', $this->width, 'pt;height:', $this->height, "pt;…
65 …echo '<img src="', $this->file, '" style="position:absolute;', $renderer->alignRTL, ':', $this->x,…
H A DReportParserGenerate.php56 use function file; alias
1171 $lines = file($this->report);
1370 $lines = file($this->report);
1760 $file = $attrs['file'] ?? '';
1762 if ($file === '@FILE') {
1787 if (file_exists($file) && preg_match('/(jpg|jpeg|png|gif)$/i', $file)) {
1788 $size = getimagesize($file);
1799 … $image = $this->report_root->createImage($file, $left, $top, $width, $height, $align, $ln);
2287 $lines = file($this->report);
2513 $lines = file($this->report);
H A DReportPdfImage.php64 $this->file,
78 $this->file,
H A DPdfRenderer.php490 * @param string $file Filename
500 …public function createImage(string $file, float $x, float $y, float $w, float $h, string $align, s… argument
502 return new ReportPdfImage($file, $x, $y, $w, $h, $align, $ln);
H A DHtmlRenderer.php307 * @param string $file Filename
317 …public function createImage(string $file, float $x, float $y, float $w, float $h, string $align, s… argument
319 return new ReportHtmlImage($file, $x, $y, $w, $h, $align, $ln);
H A DAbstractRenderer.php274 * @param string $file Filename
284 …abstract public function createImage(string $file, float $x, float $y, float $w, float $h, string … argument
/webtrees/app/Http/Middleware/
H A DPublicFiles.php48 $file = Webtrees::ROOT_DIR . $path;
50 if (file_exists($file)) {
51 $content = file_get_contents($file);
52 $extension = strtoupper(pathinfo($file, PATHINFO_EXTENSION));
H A DEmitResponse.php95 if (headers_sent($file, $line)) {
96 $message = sprintf('Headers already sent at %s:%d', $file, $line);
/webtrees/resources/views/admin/
H A Dmap-import-form.phtml47 <?php foreach ($files as $file) : ?>
48 <option value="<?= e($file) ?>">
49 <?= e($file) ?>
/webtrees/resources/lang/it/
H A Dmessages.po89 #. I18N: …from the .ZIP file, %2$s is a (fractional) number of seconds
92 msgid "%1$s file was extracted in %2$s seconds."
94 msgstr[0] "%1$s file è stato estratto in %2$s secondi."
95 msgstr[1] "%1$s file sono stati estratti in %2$s secondi."
172 #. I18N: size of file in KB
536 msgstr "(include file media)"
662 #: resources/views/modals/media-file-fields.phtml:36
718 #: resources/views/modals/media-file-fields.phtml:32
719 #: resources/views/modals/media-file-fields.phtml:88
720 msgid "A file on the server"
[all …]
/webtrees/resources/css/
H A D_mime-type-icons.css17 * Icons for file types
20 * https://www.flaticon.com/packs/file-formats-3"
/webtrees/resources/lang/en-GB/
H A Dmessages.po84 #. I18N: …from the .ZIP file, %2$s is a (fractional) number of seconds
87 msgid "%1$s file was extracted in %2$s seconds."
89 msgstr[0] "%1$s file was extracted in %2$s seconds."
167 #. I18N: size of file in KB
657 #: resources/views/modals/media-file-fields.phtml:36
713 #: resources/views/modals/media-file-fields.phtml:32
714 #: resources/views/modals/media-file-fields.phtml:88
715 msgid "A file on the server"
716 msgstr "A file on the server"
721 #: resources/views/modals/media-file-fields.phtml:28
[all …]
/webtrees/resources/lang/en-AU/
H A Dmessages.po84 #. I18N: …from the .ZIP file, %2$s is a (fractional) number of seconds
87 msgid "%1$s file was extracted in %2$s seconds."
89 msgstr[0] "%1$s file was extracted in %2$s seconds."
167 #. I18N: size of file in KB
657 #: resources/views/modals/media-file-fields.phtml:36
713 #: resources/views/modals/media-file-fields.phtml:32
714 #: resources/views/modals/media-file-fields.phtml:88
715 msgid "A file on the server"
716 msgstr "A file on the server"
721 #: resources/views/modals/media-file-fields.phtml:28
[all …]
/webtrees/resources/lang/id/
H A Dmessages.po89 #. I18N: …from the .ZIP file, %2$s is a (fractional) number of seconds
92 msgid "%1$s file was extracted in %2$s seconds."
94 msgstr[0] "%1$s file telah terurai dalam %2$s seconds."
171 #. I18N: size of file in KB
644 #: resources/views/modals/media-file-fields.phtml:36
700 #: resources/views/modals/media-file-fields.phtml:32
701 #: resources/views/modals/media-file-fields.phtml:88
702 msgid "A file on the server"
703 msgstr "Sebuah file di server"
708 #: resources/views/modals/media-file-fields.phtml:28
[all …]

12345