Home
last modified time | relevance | path

Searched refs:location (Results 1 – 25 of 101) sorted by relevance

12345

/webtrees/app/Services/
H A DHomePageService.php169 * @param string $location "main" or "side"
173 public function treeBlocks(Tree $tree, UserInterface $user, string $location): Collection argument
177 ->where('location', '=', $location)
197 … foreach ([ModuleBlockInterface::MAIN_BLOCKS, ModuleBlockInterface::SIDE_BLOCKS] as $location) {
198 … foreach (ModuleBlockInterface::DEFAULT_TREE_PAGE_BLOCKS[$location] as $block_order => $class) {
204 'location' => $location,
219 * @param string $location "main" or "side"
223 public function userBlocks(Tree $tree, UserInterface $user, string $location): Collection argument
227 ->where('location', '=', $location)
247 … foreach ([ModuleBlockInterface::MAIN_BLOCKS, ModuleBlockInterface::SIDE_BLOCKS] as $location) {
[all …]
H A DMapDataService.php75 * @param PlaceLocation $location
79 public function activePlaces(PlaceLocation $location): array argument
81 $parents = $this->placeIdsForLocation($location);
154 foreach ($missing as $location) {
155 (new PlaceLocation($location))->id();
188 foreach ($location_query->get() as $location) {
191 ->where('p_place', '=', $location->place)
195 … FlashMessages::addMessage(I18N::translate('“%s” has been deleted.', e($location->place)));
198 ->where('id', '=', $location->id)
202 $this->deleteUnusedLocations((int) $location->id, $place_ids);
[all …]
H A DGedcomImportService.php474 $location = new PlaceLocation($place_name);
476 if ($location->latitude() === null && $location->longitude() === null) {
478 ->where('id', '=', $location->id())
511 $location = new PlaceLocation($place_name);
513 if ($location->latitude() === null && $location->longitude() === null) {
515 ->where('id', '=', $location->id())
/webtrees/resources/views/lists/
H A Dlocations-table.phtml73 <?php foreach ($locations as $location) : ?>
74 …<tr class="<?= $location->isPendingAddition() ? 'wt-new' : '' ?> <?= $location->isPendingDeletion(…
76 <td data-sort="<?= e($location->sortName()) ?>">
77 <a href="<?= e($location->url()) ?>">
78 <?= $location->fullName() ?>
83 … <td class="text-center" data-sort="<?= $count_individuals[$location->xref()] ?? 0 ?>">
84 <?= I18N::number($count_individuals[$location->xref()] ?? 0) ?>
88 <td class="text-center" data-sort="<?= $count_families[$location->xref()] ?? 0 ?>">
89 <?= I18N::number($count_families[$location->xref()] ?? 0) ?>
93 <td data-sort="<?= $location->lastChangeTimestamp()->timestamp() ?>">
[all …]
/webtrees/app/Http/RequestHandlers/
H A DMapDataEdit.php68 $location = $this->map_data_service->findById($location_id);
69 $default_url = route(MapDataList::class, ['parent_id' => $location->parent()->id()]);
72 if ($location->id() === null) {
76 $title = e($location->locationName()) . ' — ' . I18N::translate('Edit');
81 $tmp = $location;
91 $latitude = $location->latitude();
92 $longitude = $location->longitude();
93 $map_bounds = $location->boundingRectangle();
112 'location' => $location,
117 'parent' => $location->parent(),
H A DTomSelectLocation.php62 $location = Registry::locationFactory()->make($query, $tree);
64 if ($location instanceof Location) {
65 $results = new Collection([$location]);
71 return $results->map(static fn (Location $location): array => [
72 'text' => view('selects/location', ['location' => $location]),
73 'value' => $at . $location->xref() . $at,
H A DMapDataImportAction.php167 $location = new PlaceLocation($place['name']);
168 $exists = $location->exists();
185 ->where('id', '=', $location->id())
/webtrees/app/Module/
H A DClippingsCartModule.php549 $location = Registry::locationFactory()->make($xref, $tree);
550 $location = Auth::checkLocationAccess($location);
551 $name = $location->fullName();
561 'record' => $location,
571 $location = Registry::locationFactory()->make($xref, $tree);
572 $location = Auth::checkLocationAccess($location);
574 $this->addLocationToCart($location);
576 return redirect($location->url());
810 protected function addLocationToCart(Location $location): void argument
815 $tree = $location->tree()->name();
[all …]
H A DPlaceHierarchyListModule.php250 $location = new PlaceLocation($child->gedcomName());
254 … $edit_url = route(MapDataEdit::class, ['location_id' => $location->id(), 'url' => $this_url]);
259 if ($location->latitude() === null || $location->longitude() === null) {
268 'coordinates' => [$location->longitude(), $location->latitude()],
275 'latitude' => $location->latitude(),
276 'longitude' => $location->longitude(),
H A DPlacesModule.php136 $location = new PlaceLocation($fact->place()->gedcomName());
144 $latitude = $location->latitude();
145 $longitude = $location->longitude();
H A DPedigreeMapModule.php229 $location = new PlaceLocation($fact->place()->gedcomName());
237 $latitude = $location->latitude();
238 $longitude = $location->longitude();
/webtrees/app/
H A DAuth.php309 * @param Location|null $location
316 … public static function checkLocationAccess(Location|null $location, bool $edit = false): Location argument
320 if ($location === null) {
324 if ($edit && $location->canEdit()) {
325 $location->lock();
327 return $location;
330 if ($location->canShow()) {
331 return $location;
/webtrees/resources/views/admin/
H A Dlocation-edit.phtml35 <input type="hidden" name="place_id" value="<?= $location->id() ?>">
41 …<input type="text" id="new_place_name" name="new_place_name" value="<?= e($location->locationName(…
79 const add_place = <?= json_encode($location->id() === null, JSON_THROW_ON_ERROR) ?>;
117 query: <?= json_encode($location->locationName(), JSON_THROW_ON_ERROR) ?>,
/webtrees/resources/views/components/
H A Dselect-location.phtml33 <?php if (($location ?? null) instanceof Location) : ?>
34 <option value="<?= e($at . $location->xref() . $at) ?>">
35 <?= view('selects/location', ['location' => $location]) ?>
/webtrees/resources/js/
H A Dtreeview.js91 document.location = document.location;
H A Dwebtrees.js1041 document.location = target.dataset.wtReloadUrl;
1044 document.location.reload();
/webtrees/resources/views/selects/
H A Dlocation.phtml12 <?= $location->fullName() ?>
/webtrees/public/ckeditor-4.15.1-custom/plugins/wsc/dialogs/
H A Dwsc.js48 …ryName;a.defaultLanguage=CKEDITOR.config.defaultLanguage;var c="file:"==document.location.protocol?
49 "http:":document.location.protocol,c=b.config.wsc_customLoaderScript||c+"//www.webspellchecker.net/…
62 document.location.protocol&&this.disable()},onClick:function(){this.getElement().focus();"file:"==d…
64 ….id);"file:"==document.location.protocol&&this.disable()},onClick:function(){this.getElement().foc…
H A Dwsc_ie.js7 …Number(),d="cke_frame_"+b,g="cke_data_"+b,h="cke_error_"+b,e,b=document.location.protocol||"http:"…
/webtrees/public/js/
H A Dwebtrees.min.js1location=t.dataset.wtReloadUrl:document.location.reload()})).catch((function(e){alert(e)})),"wtFul…
/webtrees/public/ckeditor-4.15.1-custom/plugins/link/dialogs/
H A Dlink.js20 …atusBar,setup:d,commit:e}]},{type:"hbox",children:[{type:"checkbox",id:"location",label:b.popupLoc…
/webtrees/app/Factories/
H A DImageFactory.php93 …return $this->imageResponse(data: $filesystem->read(location: $path), mime_type: $mime_type, filen…
/webtrees/resources/lang/en-GB/
H A Dmessages.po4056 #: resources/views/modals/create-location.phtml:16
4057 msgid "Create a location"
4058 msgstr "Create a location"
7583 …vidual, when it should be linked to a fact or event, then you can move it to the correct location."
7584 …vidual, when it should be linked to a fact or event, then you can move it to the correct location."
8550 #: resources/views/admin/location-edit.phtml:44
8813 #: resources/views/admin/location-edit.phtml:51
8870 msgid "Maidenhead location code"
8871 msgstr "Maidenhead location code"
9978 #: resources/views/modals/location-fields.phtml:11
[all …]
/webtrees/resources/lang/en-AU/
H A Dmessages.po4056 #: resources/views/modals/create-location.phtml:16
4057 msgid "Create a location"
4058 msgstr "Create a location"
7583 …vidual, when it should be linked to a fact or event, then you can move it to the correct location."
7584 …vidual, when it should be linked to a fact or event, then you can move it to the correct location."
8550 #: resources/views/admin/location-edit.phtml:44
8813 #: resources/views/admin/location-edit.phtml:51
8870 msgid "Maidenhead location code"
8871 msgstr "Maidenhead location code"
9978 #: resources/views/modals/location-fields.phtml:11
[all …]
/webtrees/resources/lang/tt/
H A Dmessages.po4038 #: resources/views/modals/create-location.phtml:16
4039 msgid "Create a location"
7566 …vidual, when it should be linked to a fact or event, then you can move it to the correct location."
8533 #: resources/views/admin/location-edit.phtml:44
8796 #: resources/views/admin/location-edit.phtml:51
8853 msgid "Maidenhead location code"
9962 #: resources/views/modals/location-fields.phtml:11
10321 #: resources/views/components/select-location.phtml:27
10532 #: resources/views/admin/location-edit.phtml:119
10974 msgid "Parent location"
[all …]

12345