/webtrees/resources/views/admin/ |
H A D | control-panel.phtml | 192 …<a href="#" class="btn btn-primary" data-wt-post-url="<?= e(route(CheckForNewVersionNow::class)) ?… 203 <a href="<?= e(route(UpgradeWizardPage::class)) ?>" class="alert-link"> 213 …<a href="#" class="btn btn-primary" data-wt-post-url="<?= e(route(CheckForNewVersionNow::class)) ?… 238 <a href="<?= e(route(SitePreferencesPage::class)) ?>"> 244 <a href="<?= e(route(EmailPreferencesPage::class)) ?>"> 250 <a href="<?= e(route(SiteRegistrationPage::class)) ?>"> 260 <a href="<?= e(route(SiteLogsPage::class)) ?>"> 266 <a href="<?= e(route(CleanDataFolder::class)) ?>"> 272 <a href="<?= e(route(PhpInformation::class)) ?>"> 282 <a href="<?= e(route(SiteTagsPage::class)) ?>"> [all …]
|
H A D | trees.phtml | 43 …<?= view('components/breadcrumbs', ['links' => [route(ControlPanel::class) => I18N::translate('Con… 80 …$("#import<?= $managed_tree->id() ?>").load("<?= route(GedcomLoad::class, ['tree' => $managed_tree… 92 … <a href="<?= e(route(TreePage::class, ['tree' => $managed_tree->name()])) ?>"> 101 … <a href="<?= e(route(TreePreferencesPage::class, ['tree' => $managed_tree->name()])) ?>"> 109 … <a href="<?= e(route(TreePrivacyPage::class, ['tree' => $managed_tree->name()])) ?>"> 118 … data-wt-post-url="<?= e(route(DeleteTreeAction::class, ['tree' => $managed_tree->name()])) ?>" da… 135 …<form method="post" action="<?= route(SelectDefaultTree::class, ['tree' => $managed_tree->name()])… 152 … <a href="<?= e(route(DataFixChoose::class, ['tree' => $managed_tree->name()])) ?>"> 168 … <a href="<?= e(route(FindDuplicateRecords::class, ['tree' => $managed_tree->name()])) ?>"> 176 … <a href="<?= e(route(MergeRecordsPage::class, ['tree' => $managed_tree->name()])) ?>"> [all …]
|
H A D | locations.phtml | 60 <a href="<?= e(route(MapDataList::class, ['parent_id' => $place->id])) ?>"> 94 …<a class="btn btn-primary" href="<?= e(route(MapDataEdit::class, ['location_id' => $place->id])) … 128 … <form method="post" action="<?= e(route(MapDataDelete::class, ['location_id' => $place->id])) ?>"> 144 … <a class="btn btn-primary" href="<?= e(route(MapDataAdd::class, ['parent_id' => $parent_id])) ?>"> 156 …<a class="dropdown-item" href="<?= e(route(MapDataExportCSV::class, ['parent_id' => $parent_id])) … 159 …<a class="dropdown-item" href="<?= e(route(MapDataExportGeoJson::class, ['parent_id' => $parent_id… 163 …<a class="btn btn-primary" href="<?= e(route(MapDataImportPage::class, ['parent_id' => $parent_id]… 171 … <form class="d-inline" method="post" action="<?= route(MapDataDeleteUnused::class) ?>">
|
H A D | data-fix-page.phtml | 26 …route(ControlPanel::class) => I18N::translate('Control panel'), route(ManageTrees::class, ['tree' … 82 …-bs-backdrop="static" data-bs-target="#wt-ajax-modal" data-wt-href="<?= e(route(HelpText::class, [… 158 …'url': <?= json_encode(route(DataFixData::class, ['tree' => $tree->name(), 'data_fix' => $data_fix… 178 …let url = addParamsToUrl(<?= json_encode(route(DataFixUpdateAll::class, ['tree' => $tree->name(), …
|
H A D | changes-log.phtml | 33 …ew('components/breadcrumbs', ['links' => [route(ControlPanel::class) => I18N::translate('Control p… 104 …<a href="<?= e(route(PendingChangesLogPage::class, ['tree' => $tree->name()])) ?>" type="submit" c… 108 …<a class="btn btn-secondary" href="<?= route(PendingChangesLogDownload::class, ['from' => $from, '… 113 …:translate('Permanently delete these records?') ?>" data-wt-post-url="<?= route(PendingChangesLogD… 125 …data-ajax="<?= route(PendingChangesLogData::class, ['from' => $from, 'to' => $to, 'type' => $type,…
|
H A D | users-cleanup.phtml | 23 route(ControlPanel::class) => I18N::translate('Control panel'), 24 route(UserListPage::class) => I18N::translate('User administration'), 30 <form method="post" action="<?= e(route(UsersCleanupAction::class)) ?>"> 38 <a href="<?= e(route(UserEditPage::class, ['user_id' => $user->id()])) ?>"> 57 <a href="<?= e(route(UserEditPage::class, ['user_id' => $user->id()])) ?>">
|
/webtrees/resources/views/ |
H A D | calendar-page.phtml | 47 …<a <?= $d === $cal_date->day() ? 'class="error"' : '' ?> href="<?= e(route(CalendarPage::class, ['… 52 …<a href="<?= e(route(CalendarPage::class, ['cal' => $cal, 'day' => $today->day(), 'month' => $toda… 63 …<a href="<?= e(route(CalendarPage::class, ['cal' => $cal, 'day' => $cal_date->day(), 'month' => $m… 71 …<a href="<?= e(route(CalendarPage::class, ['cal' => $cal, 'day' => min($cal_date->day(), $today->d… 82 …<form method="post" action="<?= e(route(CalendarAction::class, ['tree' => $tree->name(), 'view' =>… 90 …<a href="<?= e(route(CalendarPage::class, ['cal' => $cal, 'day' => $cal_date->day(), 'month' => $c… 96 …<a href="<?= e(route(CalendarPage::class, ['cal' => $cal, 'day' => $cal_date->day(), 'month' => $c… 100 …<a href="<?= e(route(CalendarPage::class, ['cal' => $cal, 'day' => $cal_date->day(), 'month' => $c… 114 …<form method="post" action="<?= e(route(CalendarAction::class, ['tree' => $tree->name(), 'view' =>… 138 …<a title="<?= I18N::translate('All individuals') ?>" href="<?= e(route(CalendarPage::class, ['cal'… [all …]
|
H A D | individual-page-menu.phtml | 43 …<a class="dropdown-item" href="<?= e(route(AddNewFact::class, ['tree' => $record->tree()->name(), … 49 …<a class="dropdown-item" href="<?= e(route(ReorderNamesPage::class, ['tree' => $record->tree()->na… 63 …<a class="dropdown-item" href="<?= e(route(AddNewFact::class, ['fact' => 'SEX', 'tree' => $record-… 71 …<a class="dropdown-item" href="<?= e(route(EditFactPage::class, ['xref' => $record->xref(), 'fact_… 81 …<a class="dropdown-item" href="<?= e(route(ReorderFamiliesPage::class, ['tree' => $record->tree()-… 95 …<a class="dropdown-item" href="<?= e(route(AddNewFact::class, ['tree' => $record->tree()->name(), … 102 …<a class="dropdown-item" href="<?= e(route(ReorderMediaPage::class, ['tree' => $record->tree()->na… 121 …lete “%s”?', strip_tags($record->fullName())) ?>" data-wt-post-url="<?= e(route(DeleteRecord::clas… 127 …<a class="dropdown-item" href="<?= e(route(EditRawRecordPage::class, ['tree' => $record->tree()->n…
|
H A D | family-page-menu.phtml | 33 …<a class="dropdown-item" href="<?= e(route(ChangeFamilyMembersPage::class, ['tree' => $record->tre… 39 …<a class="dropdown-item" href="<?= e(route(AddSpouseToFamilyPage::class, ['tree' => $record->tree(… 46 …<a class="dropdown-item" href="<?= e(route(AddSpouseToFamilyPage::class, ['tree' => $record->tree(… 52 …<a class="dropdown-item" href="<?= e(route(AddChildToFamilyPage::class, ['tree' => $record->tree()… 58 …<a class="dropdown-item" href="<?= e(route(ReorderChildrenPage::class, ['tree' => $record->tree()-… 67 …<a class="dropdown-item" href="<?= e(route(AddNewFact::class, ['tree' => $record->tree()->name(), … 81 …re you sure you want to delete this family?') ?>" data-wt-post-url="<?= e(route(DeleteRecord::clas… 87 …<a class="dropdown-item" href="<?= e(route(EditRawRecordPage::class, ['tree' => $record->tree()->n…
|
H A D | media-page-menu.phtml | 32 …<a class="dropdown-item" href="#" data-wt-href="<?= e(route(AddMediaFileModal::class, ['tree' => $… 38 …<a class="dropdown-item" href="<?= route(ReorderMediaFilesPage::class, ['xref' => $record->xref(),… 58 …<a class="dropdown-item" href="#" data-wt-href="<?= e(route(LinkMediaToIndividualModal::class, ['t… 63 …<a class="dropdown-item" href="#" data-wt-href="<?= e(route(LinkMediaToFamilyModal::class, ['tree'… 68 …<a class="dropdown-item" href="#" data-wt-href="<?= e(route(LinkMediaToSourceModal::class, ['tree'… 76 …<a class="dropdown-item" href="<?= route(EditRecordPage::class, ['xref' => $record->xref(), 'tree'… 84 …lete “%s”?', strip_tags($record->fullName())) ?>" data-wt-post-url="<?= e(route(DeleteRecord::clas…
|
/webtrees/app/Module/ |
H A D | ModuleThemeTrait.php | 50 use function route; alias 201 $route = Validator::attributes($request)->route(); variable 203 if (Auth::check() && $route->name === UserPage::class) { 204 …return new Menu(I18N::translate('Customize this page'), route(UserPageEdit::class, ['tree' => $tre… 207 if (Auth::isManager($tree) && $route->name === TreePage::class) { 208 …return new Menu(I18N::translate('Customize this page'), route(TreePageEdit::class, ['tree' => $tre… 224 … return new Menu(I18N::translate('Control panel'), route(ControlPanel::class), 'menu-admin'); 228 …return new Menu(I18N::translate('Control panel'), route(ManageTrees::class, ['tree' => $tree->name… 247 'data-wt-post-url' => route(SelectLanguage::class, ['language' => $language_tag]), 274 $route = Validator::attributes($request)->route(); variable [all …]
|
H A D | TimelineChartModule.php | 39 use function route; alias 122 return route(static::class, [ 146 return redirect(route(static::class, [ 170 $remove_urls[$exclude->xref()] = route(static::class, [ 187 $reset_url = route(static::class, [ 192 $zoom_in_url = route(static::class, [ 198 $zoom_out_url = route(static::class, [ 204 $ajax_url = route(static::class, [
|
H A D | FrequentlyAskedQuestionsModule.php | 38 use function route; alias 99 return new Menu($this->title(), route('module', [ 127 …return redirect(route('module', ['module' => $this->name(), 'action' => 'Admin', 'tree' => $tree->… 130 return redirect(route(ControlPanel::class)); 156 'action' => route('module', ['module' => $this->name(), 'action' => 'Admin']), 174 return redirect(route('module', [ 194 $url = route('module', [ 367 $url = route('module', [
|
H A D | SiteMapModule.php | 50 use function route; alias 125 $sitemap_url = route('sitemap-index'); 169 $route = Validator::attributes($request)->route(); 171 if ($route->name === 'sitemap-style') { 179 if ($route->name === 'sitemap-index') { 260 'sitemap_xsl' => route('sitemap-style'), 292 'sitemap_xsl' => route('sitemap-style'),
|
/webtrees/app/Http/RequestHandlers/ |
H A D | UpgradeWizardPage.php | 34 use function route; alias 108 $route = route(UpgradeWizardStep::class, [ 113 …$export_steps[$route] = I18N::translate('Export all the family trees to GEDCOM files…') . ' ' . e(… 117 …route(UpgradeWizardStep::class, ['step' => self::STEP_CHECK]) => I18N::translate('Upgrade wizard… 118 …route(UpgradeWizardStep::class, ['step' => self::STEP_PREPARE]) => I18N::translate('Create a tempo… 119 …route(UpgradeWizardStep::class, ['step' => self::STEP_PENDING]) => I18N::translate('Check for pend… 121 …route(UpgradeWizardStep::class, ['step' => self::STEP_DOWNLOAD]) => I18N::translate('Download %s…'… 122 …route(UpgradeWizardStep::class, ['step' => self::STEP_UNZIP]) => I18N::translate('Unzip %s to a… 123 …route(UpgradeWizardStep::class, ['step' => self::STEP_COPY]) => I18N::translate('Copy files…'),
|
H A D | HomePage.php | 34 use function route; alias 68 return redirect(route(UserPage::class, ['tree' => $tree->name()])); 72 return redirect(route(TreePage::class, ['tree' => $tree->name()])); 76 return redirect(route(ManageTrees::class, ['tree' => $tree->name()])); 82 return redirect(route(CreateTreePage::class)); 91 return redirect(route(LoginPage::class, ['url' => '']));
|
H A D | MapDataEdit.php | 33 use function route; alias 69 $default_url = route(MapDataList::class, ['parent_id' => $location->parent()->id()]); 73 return redirect(route(MapDataList::class)); 83 … $breadcrumbs[route(MapDataList::class, ['parent_id' => $tmp->id()])] = e($tmp->locationName()); 88 $breadcrumbs[route(MapDataList::class)] = I18N::translate('Geographic data'); 89 $breadcrumbs[route(ControlPanel::class)] = I18N::translate('Control panel');
|
H A D | ManageMediaData.php | 50 use function route; alias 139 $url = route(AdminMediaFileThumbnail::class, ['path' => $path]); 145 $url = route(AdminMediaFileDownload::class, ['path' => $path]); 148 $url = route(AdminMediaFileThumbnail::class, ['path' => $path]); 236 $url = route(AdminMediaFileThumbnail::class, ['path' => $row[0]]); 242 $url = route(AdminMediaFileDownload::class, ['path' => $row[0]]); 251 …modal-create-media-from-file" data-file="' . e($tmp) . '" data-url="' . e(route(CreateMediaObjectF… 255 … sure you want to delete “%s”?', e($row[0])) . '" data-wt-post-url="' . e(route(DeletePath::class,…
|
/webtrees/resources/views/modules/faq/ |
H A D | config.phtml | 22 …ew('components/breadcrumbs', ['links' => [route(ControlPanel::class) => I18N::translate('Control p… 44 …<a href="<?= e(route('module', ['module' => 'faq', 'action' => 'AdminEdit', 'tree' => $tree->name(… 86 …<a href="#" data-wt-post-url="<?= e(route('module', ['module' => 'faq', 'action' => 'AdminMoveUp',… 93 …<a href="#" data-wt-post-url="<?= e(route('module', ['module' => 'faq', 'action' => 'AdminMoveDown… 99 …<a href="<?= e(route('module', ['module' => 'faq', 'action' => 'AdminEdit', 'block_id' => $faq->bl… 104 …<a href="#" data-wt-post-url="<?= e(route('module', ['module' => 'faq', 'action' => 'AdminDelete',…
|
/webtrees/resources/views/modules/sitemap/ |
H A D | sitemap-index-xml.phtml | 36 …<?= e(route('sitemap-file', ['tree' => $tree_name, 'type' => Family::RECORD_TYPE, 'page' => $i])) … 49 …<?= e(route('sitemap-file', ['tree' => $tree_name, 'type' => Individual::RECORD_TYPE, 'page' => $i… 62 …<?= e(route('sitemap-file', ['tree' => $tree_name, 'type' => Media::RECORD_TYPE, 'page' => $i])) ?> 75 … <?= e(route('sitemap-file', ['tree' => $tree_name, 'type' => Note::RECORD_TYPE, 'page' => $i])) ?> 88 …<?= e(route('sitemap-file', ['tree' => $tree_name, 'type' => Repository::RECORD_TYPE, 'page' => $i… 101 …<?= e(route('sitemap-file', ['tree' => $tree_name, 'type' => Source::RECORD_TYPE, 'page' => $i])) … 114 …<?= e(route('sitemap-file', ['tree' => $tree_name, 'type' => Submitter::RECORD_TYPE, 'page' => $i]…
|
/webtrees/resources/views/modules/relatives/ |
H A D | tab.phtml | 95 …<a href="<?= e(route(ReorderFamiliesPage::class, ['tree' => $individual->tree()->name(), 'xref' =>… 106 …<a href="<?= e(route(AddParentToIndividualPage::class, ['tree' => $individual->tree()->name(), 'xr… 113 …<a href="<?= e(route(AddParentToIndividualPage::class, ['tree' => $individual->tree()->name(), 'xr… 122 …<a href="<?= e(route(LinkChildToFamilyPage::class, ['tree' => $individual->tree()->name(), 'xref' … 130 …<a href="<?= e(route(AddSpouseToIndividualPage::class, ['tree' => $individual->tree()->name(), 'xr… 142 …<a href="<?= e(route(LinkSpouseToIndividualPage::class, ['tree' => $individual->tree()->name(), 'x… 154 …<a href="<?= e(route(AddChildToIndividualPage::class, ['tree' => $individual->tree()->name(), 'xre…
|
H A D | family.phtml | 63 …<a href="<?= e(route(AddSpouseToFamilyPage::class, ['tree' => $family->tree()->name(), 'xref' => $… 100 …<a href="<?= e(route(AddSpouseToFamilyPage::class, ['tree' => $family->tree()->name(), 'xref' => $… 149 …<a href="<?= e(route(AddNewFact::class, ['tree' => $family->tree()->name(), 'xref' => $family->xre… 220 …<a href="<?= e(route(AddChildToFamilyPage::class, ['tree' => $family->tree()->name(), 'xref' => $f… 224 …<a href="<?= e(route(AddChildToFamilyPage::class, ['tree' => $family->tree()->name(), 'xref' => $f… 228 …<a href="<?= e(route(AddChildToFamilyPage::class, ['tree' => $family->tree()->name(), 'xref' => $f… 234 …<a href="<?= e(route(ReorderChildrenPage::class, ['tree' => $family->tree()->name(), 'xref' => $fa…
|
/webtrees/resources/views/modules/stories/ |
H A D | edit.phtml | 24 …'links' => [route(ControlPanel::class) => I18N::translate('Control panel'), route(ModulesAllPage::… 28 <form method="post" action="<?= e(route('module', ['module' => 'stories', 'action' => 'AdminEdit', … 74 …<a href="<?= e($url ?: route('module', ['module' => 'stories', 'action' => 'Admin', 'tree' => $tre…
|
H A D | config.phtml | 20 …ew('components/breadcrumbs', ['links' => [route(ControlPanel::class) => I18N::translate('Control p… 36 …<a href="<?= e(route('module', ['module' => 'stories', 'action' => 'AdminEdit', 'tree' => $tree->n… 81 …<a class="btn btn-primary" href="<?= e(route('module', ['module' => 'stories', 'action' => 'AdminE… 87 …<form method="post" action="<?= e(route('module', ['module' => 'stories', 'action' => 'AdminDelete…
|
/webtrees/app/Http/Middleware/ |
H A D | Router.php | 101 $route = $matcher->match($pretty); 104 if ($route === false) { 124 $request = $request->withAttribute('route', $route); 130 $route_middleware = $route->extras['middleware'] ?? []; 146 foreach ($route->attributes as $key => $value) { 155 if ($value === null && str_contains($route->path, '{tree}')) {
|