/webtrees/app/Services/ |
H A D | HomePageService.php | 169 * @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 D | MapDataService.php | 75 * @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 D | GedcomImportService.php | 474 $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 D | locations-table.phtml | 73 <?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 D | MapDataEdit.php | 68 $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 D | TomSelectLocation.php | 62 $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 D | MapDataImportAction.php | 167 $location = new PlaceLocation($place['name']); 168 $exists = $location->exists(); 185 ->where('id', '=', $location->id())
|
/webtrees/app/Module/ |
H A D | ClippingsCartModule.php | 549 $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 D | PlaceHierarchyListModule.php | 250 $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 D | PlacesModule.php | 136 $location = new PlaceLocation($fact->place()->gedcomName()); 144 $latitude = $location->latitude(); 145 $longitude = $location->longitude();
|
H A D | PedigreeMapModule.php | 229 $location = new PlaceLocation($fact->place()->gedcomName()); 237 $latitude = $location->latitude(); 238 $longitude = $location->longitude();
|
/webtrees/app/ |
H A D | Auth.php | 309 * @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 D | location-edit.phtml | 35 <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 D | select-location.phtml | 33 <?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 D | treeview.js | 91 document.location = document.location;
|
H A D | webtrees.js | 1041 document.location = target.dataset.wtReloadUrl; 1044 document.location.reload();
|
/webtrees/resources/views/selects/ |
H A D | location.phtml | 12 <?= $location->fullName() ?>
|
/webtrees/public/ckeditor-4.15.1-custom/plugins/wsc/dialogs/ |
H A D | wsc.js | 48 …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 D | wsc_ie.js | 7 …Number(),d="cke_frame_"+b,g="cke_data_"+b,h="cke_error_"+b,e,b=document.location.protocol||"http:"…
|
/webtrees/public/js/ |
H A D | webtrees.min.js | 1 …location=t.dataset.wtReloadUrl:document.location.reload()})).catch((function(e){alert(e)})),"wtFul…
|
/webtrees/public/ckeditor-4.15.1-custom/plugins/link/dialogs/ |
H A D | link.js | 20 …atusBar,setup:d,commit:e}]},{type:"hbox",children:[{type:"checkbox",id:"location",label:b.popupLoc…
|
/webtrees/app/Factories/ |
H A D | ImageFactory.php | 93 …return $this->imageResponse(data: $filesystem->read(location: $path), mime_type: $mime_type, filen…
|
/webtrees/resources/lang/en-GB/ |
H A D | messages.po | 4056 #: 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 D | messages.po | 4056 #: 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 D | messages.po | 4038 #: 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 …]
|