1dd6b2bfcSGreg Roach<?php use Fisharebest\Webtrees\Bootstrap4; ?> 2dd6b2bfcSGreg Roach<?php use Fisharebest\Webtrees\Functions\FunctionsEdit; ?> 3dd6b2bfcSGreg Roach<?php use Fisharebest\Webtrees\I18N; ?> 4dd6b2bfcSGreg Roach 5dd6b2bfcSGreg Roach<?= view('components/breadcrumbs', ['links' => [route('admin-control-panel') => I18N::translate('Control panel'), route('admin-trees') => I18N::translate('Manage family trees'), $title]]) ?> 6dd6b2bfcSGreg Roach 7dd6b2bfcSGreg Roach<h1><?= $title ?></h1> 8dd6b2bfcSGreg Roach 9dd6b2bfcSGreg Roach<form class="form-horizontal" method="post"> 10dd6b2bfcSGreg Roach <?= csrf_field() ?> 11aa6f03bbSGreg Roach <input type="hidden" name="ged" value="<?= e($tree->name()) ?>"> 12dd6b2bfcSGreg Roach 13dd6b2bfcSGreg Roach <input type="hidden" name="action" value="general"> 14dd6b2bfcSGreg Roach 15dd6b2bfcSGreg Roach <h3><?= I18N::translate('General') ?></h3> 16dd6b2bfcSGreg Roach 17dd6b2bfcSGreg Roach <!-- TREE TITLE --> 18dd6b2bfcSGreg Roach <div class="row form-group"> 19dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="title"> 20dd6b2bfcSGreg Roach <?= I18N::translate('Family tree title') ?> 21dd6b2bfcSGreg Roach </label> 22dd6b2bfcSGreg Roach <div class="col-sm-9"> 23dd6b2bfcSGreg Roach <input 24dd6b2bfcSGreg Roach class="form-control" 25dd6b2bfcSGreg Roach dir="auto" 26dd6b2bfcSGreg Roach id="title" 27dd6b2bfcSGreg Roach maxlength="255" 28dd6b2bfcSGreg Roach name="title" 29dd6b2bfcSGreg Roach required 30dd6b2bfcSGreg Roach type="text" 31dd6b2bfcSGreg Roach value="<?= e($tree->getPreference('title')) ?>" 32dd6b2bfcSGreg Roach > 33dd6b2bfcSGreg Roach </div> 34dd6b2bfcSGreg Roach </div> 35dd6b2bfcSGreg Roach 36dd6b2bfcSGreg Roach <!-- TREE URL / FILENAME --> 37dd6b2bfcSGreg Roach <div class="row form-group"> 38dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="gedcom"> 39dd6b2bfcSGreg Roach <?= I18N::translate('URL') ?> 40dd6b2bfcSGreg Roach </label> 41dd6b2bfcSGreg Roach <div class="col-sm-9"> 42dd6b2bfcSGreg Roach <div class="input-group" dir="ltr"> 43dd6b2bfcSGreg Roach <div class="input-group-append"> 44*a3c95e78SGreg Roach <span class="input-group-text" dir="ltr"> 45dd6b2bfcSGreg Roach <?= WT_BASE_URL ?>?ged= 46dd6b2bfcSGreg Roach </span> 47dd6b2bfcSGreg Roach </div> 48*a3c95e78SGreg Roach <input class="form-control" dir="ltr" id="gedcom" maxlength="255" name="gedcom" required type="text" value="<?= e($tree->name()) ?>"> 49dd6b2bfcSGreg Roach </div> 50dd6b2bfcSGreg Roach <p class="small text-muted"> 51dd6b2bfcSGreg Roach <?= /* I18N: help text for family tree / GEDCOM file names */ I18N::translate('Avoid spaces and punctuation. A family name might be a good choice.') ?> 52dd6b2bfcSGreg Roach </p> 53dd6b2bfcSGreg Roach </div> 54dd6b2bfcSGreg Roach </div> 55dd6b2bfcSGreg Roach 56dd6b2bfcSGreg Roach <!-- LANGUAGE --> 57dd6b2bfcSGreg Roach <div class="row form-group"> 58dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="LANGUAGE"> 59dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Language') ?> 60dd6b2bfcSGreg Roach </label> 61dd6b2bfcSGreg Roach <div class="col-sm-9"> 62dd6b2bfcSGreg Roach <select id="LANGUAGE" name="LANGUAGE" class="form-control"> 63dd6b2bfcSGreg Roach <?php foreach (I18N::activeLocales() as $active_locale) : ?> 64dd6b2bfcSGreg Roach <option value="<?= $active_locale->languageTag() ?>" <?= $tree->getPreference('LANGUAGE') === $active_locale->languageTag() ? 'selected' : '' ?>> 65dd6b2bfcSGreg Roach <?= $active_locale->endonym() ?> 66dd6b2bfcSGreg Roach </option> 67dd6b2bfcSGreg Roach <?php endforeach ?> 68dd6b2bfcSGreg Roach </select> 69dd6b2bfcSGreg Roach <p class="small text-muted"> 70dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Language” configuration setting */ I18N::translate('If a visitor to the website has not selected a preferred language in their browser preferences, or they have selected an unsupported language, then this language will be used. Typically this applies to search engines.') ?> 71dd6b2bfcSGreg Roach </p> 72dd6b2bfcSGreg Roach </div> 73dd6b2bfcSGreg Roach </div> 74dd6b2bfcSGreg Roach 75dd6b2bfcSGreg Roach <!-- PEDIGREE_ROOT_ID --> 76dd6b2bfcSGreg Roach <div class="row form-group"> 77dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="PEDIGREE_ROOT_ID"> 78dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Default individual') ?> 79dd6b2bfcSGreg Roach </label> 80dd6b2bfcSGreg Roach <div class="col-sm-9"> 81dd6b2bfcSGreg Roach <?= FunctionsEdit::formControlIndividual($tree, $pedigree_individual, ['id' => 'PEDIGREE_ROOT_ID', 'name' => 'PEDIGREE_ROOT_ID']) ?> 82dd6b2bfcSGreg Roach <p class="small text-muted"> 83dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Default individual” configuration setting */ I18N::translate('This individual will be selected by default when viewing charts and reports.') ?> 84dd6b2bfcSGreg Roach </p> 85dd6b2bfcSGreg Roach </div> 86dd6b2bfcSGreg Roach </div> 87dd6b2bfcSGreg Roach 88dd6b2bfcSGreg Roach <!-- CALENDAR_FORMAT --> 89dd6b2bfcSGreg Roach <fieldset class="form-group"> 90dd6b2bfcSGreg Roach <div class="row"> 91dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 92dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Calendar conversion') ?> 93dd6b2bfcSGreg Roach <label class="sr-only" for="CALENDAR_FORMAT0"> 94dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Calendar conversion') ?> 1 95dd6b2bfcSGreg Roach </label> 96dd6b2bfcSGreg Roach <label class="sr-only" for="CALENDAR_FORMAT1"> 97dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Calendar conversion') ?> 2 98dd6b2bfcSGreg Roach </label> 99dd6b2bfcSGreg Roach </legend> 100dd6b2bfcSGreg Roach <div class="col-sm-9"> 101dd6b2bfcSGreg Roach <div class=row"> 102dd6b2bfcSGreg Roach <div class="col-sm-6" style="padding-left: 0;"> 103dd6b2bfcSGreg Roach <?= Bootstrap4::select(FunctionsEdit::optionsCalendarConversions(), $calendar_formats[0], ['name' => 'CALENDAR_FORMAT0']) ?> 104dd6b2bfcSGreg Roach </div> 105dd6b2bfcSGreg Roach <div class="col-sm-6" style="padding-right: 0;"> 106dd6b2bfcSGreg Roach <?= Bootstrap4::select(FunctionsEdit::optionsCalendarConversions(), $calendar_formats[1], ['name' => 'CALENDAR_FORMAT1']) ?> 107dd6b2bfcSGreg Roach </div> 108dd6b2bfcSGreg Roach </div> 109dd6b2bfcSGreg Roach <p class="small text-muted"> 110dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Calendar conversion” configuration setting */ I18N::translate('Different calendar systems are used in different parts of the world, and many other calendar systems have been used in the past. Where possible, you should enter dates using the calendar in which the event was originally recorded. You can then specify a conversion, to show these dates in a more familiar calendar. If you regularly use two calendars, you can specify two conversions and dates will be converted to both the selected calendars.') ?> 111dd6b2bfcSGreg Roach </p> 112dd6b2bfcSGreg Roach <p class="small text-muted"> 113dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Calendar conversion” configuration setting */ I18N::translate('Dates are only converted if they are valid for the calendar. For example, only dates between %1$s and %2$s will be converted to the French calendar and only dates after %3$s will be converted to the Gregorian calendar.', $french_calendar_start->display(false, null, false), $french_calendar_end->display(false, null, false), $gregorian_calendar_start->display(false, null, false)) ?> 114dd6b2bfcSGreg Roach </p> 115dd6b2bfcSGreg Roach <p class="small text-muted"> 116dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Calendar conversion” configuration setting */ I18N::translate('In some calendars, days start at midnight. In other calendars, days start at sunset. The conversion process does not take account of the time, so for any event that occurs between sunset and midnight, the conversion between these types of calendar will be one day out.') ?> 117dd6b2bfcSGreg Roach </p> 118dd6b2bfcSGreg Roach </div> 119dd6b2bfcSGreg Roach </div> 120dd6b2bfcSGreg Roach </fieldset> 121dd6b2bfcSGreg Roach 122dd6b2bfcSGreg Roach <!-- GENERATE_UIDS --> 123dd6b2bfcSGreg Roach <fieldset class="form-group"> 124dd6b2bfcSGreg Roach <div class="row"> 125dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 126dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Add unique identifiers') ?> 127dd6b2bfcSGreg Roach </legend> 128dd6b2bfcSGreg Roach <div class="col-sm-9"> 129dd6b2bfcSGreg Roach <?= view('components/radios-no-yes', ['name' => 'GENERATE_UIDS', 'value' => $tree->getPreference('GENERATE_UIDS')]) ?> 130dd6b2bfcSGreg Roach <p class="small text-muted"> 131dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Add unique identifiers” configuration setting */ I18N::translate('Unique identifiers allow the same record to be found in different family trees and in different systems. They will be added whenever records are created or updated. If you do not want unique identifiers to be displayed, you can hide them using the privacy rules.') ?> 132dd6b2bfcSGreg Roach </p> 133dd6b2bfcSGreg Roach </div> 134dd6b2bfcSGreg Roach </div> 135dd6b2bfcSGreg Roach </fieldset> 136dd6b2bfcSGreg Roach 137dd6b2bfcSGreg Roach <h3><?= I18N::translate('Contact information') ?></h3> 138dd6b2bfcSGreg Roach 139dd6b2bfcSGreg Roach <!-- WEBTREES_EMAIL --> 140dd6b2bfcSGreg Roach <div class="row form-group"> 141dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="WEBTREES_EMAIL"> 142dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('webtrees reply address') ?> 143dd6b2bfcSGreg Roach </label> 144dd6b2bfcSGreg Roach <div class="col-sm-9"> 145dd6b2bfcSGreg Roach <input 146dd6b2bfcSGreg Roach class="form-control" 147dd6b2bfcSGreg Roach id="WEBTREES_EMAIL" 148dd6b2bfcSGreg Roach maxlength="255" 149dd6b2bfcSGreg Roach name="WEBTREES_EMAIL" 150dd6b2bfcSGreg Roach required 151dd6b2bfcSGreg Roach type="email" 152dd6b2bfcSGreg Roach value="<?= e($tree->getPreference('WEBTREES_EMAIL')) ?>" 153dd6b2bfcSGreg Roach > 154dd6b2bfcSGreg Roach <p class="small text-muted"> 155dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “webtrees reply address” configuration setting */ I18N::translate('Email address to be used in the “From:” field of emails that webtrees creates automatically.<br><br>webtrees can automatically create emails to notify administrators of changes that need to be reviewed. webtrees also sends notification emails to users who have requested an account.<br><br>Usually, the “From:” field of these automatically created emails is something like <i>From: webtrees-noreply@yoursite</i> to show that no response to the email is required. To guard against spam or other email abuse, some email systems require each message’s “From:” field to reflect a valid email account and will not accept messages that are apparently from account <i>webtrees-noreply</i>.') ?> 156dd6b2bfcSGreg Roach </p> 157dd6b2bfcSGreg Roach </div> 158dd6b2bfcSGreg Roach </div> 159dd6b2bfcSGreg Roach 160dd6b2bfcSGreg Roach <!-- CONTACT_USER_ID --> 161dd6b2bfcSGreg Roach <div class="row form-group"> 162dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="CONTACT_USER_ID"> 163dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Genealogy contact') ?> 164dd6b2bfcSGreg Roach </label> 165dd6b2bfcSGreg Roach <div class="col-sm-9"> 166dd6b2bfcSGreg Roach <select id="CONTACT_USER_ID" name="CONTACT_USER_ID" class="form-control"> 167dd6b2bfcSGreg Roach <option value=""></option> 168dd6b2bfcSGreg Roach <?php foreach ($members as $member) : ?> 169895230eeSGreg Roach <option value="<?= $member->id() ?>" <?= (int) $tree->getPreference('CONTACT_USER_ID') === $member->id() ? 'selected' : '' ?>> 170c65e00b4SGreg Roach <?= e($member->realName()) ?> - <?= e($member->userName()) ?> 171dd6b2bfcSGreg Roach </option> 172dd6b2bfcSGreg Roach <?php endforeach ?> 173dd6b2bfcSGreg Roach </select> 174dd6b2bfcSGreg Roach <p class="small text-muted"> 175dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Genealogy contact” configuration setting */ I18N::translate('The individual to contact about the genealogy data on this website.') ?> 176dd6b2bfcSGreg Roach </p> 177dd6b2bfcSGreg Roach </div> 178dd6b2bfcSGreg Roach </div> 179dd6b2bfcSGreg Roach 180dd6b2bfcSGreg Roach <!-- WEBMASTER_USER_ID --> 181dd6b2bfcSGreg Roach <div class="row form-group"> 182dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="WEBMASTER_USER_ID"> 183dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Technical help contact') ?> 184dd6b2bfcSGreg Roach </label> 185dd6b2bfcSGreg Roach <div class="col-sm-9"> 186dd6b2bfcSGreg Roach <select id="WEBMASTER_USER_ID" name="WEBMASTER_USER_ID" class="form-control"> 187dd6b2bfcSGreg Roach <option value=""></option> 188dd6b2bfcSGreg Roach <?php foreach ($members as $member) : ?> 189895230eeSGreg Roach <option value="<?= $member->id() ?>" <?= (int) $tree->getPreference('WEBMASTER_USER_ID') === $member->id() ? 'selected' : '' ?>> 190c65e00b4SGreg Roach <?= e($member->realName()) ?> - <?= e($member->userName()) ?> 191dd6b2bfcSGreg Roach </option> 192dd6b2bfcSGreg Roach <?php endforeach ?> 193dd6b2bfcSGreg Roach </select> 194dd6b2bfcSGreg Roach <p class="small text-muted"> 195dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Technical help contact” configuration setting */ I18N::translate('The individual to be contacted about technical questions or errors encountered on your website.') ?> 196dd6b2bfcSGreg Roach </p> 197dd6b2bfcSGreg Roach </div> 198dd6b2bfcSGreg Roach </div> 199dd6b2bfcSGreg Roach 200dd6b2bfcSGreg Roach <h3><?= I18N::translate('Website') ?></h3> 201dd6b2bfcSGreg Roach 202dd6b2bfcSGreg Roach <!-- META_TITLE --> 203dd6b2bfcSGreg Roach <div class="row form-group"> 204dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="META_TITLE"> 205dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Add to TITLE header tag') ?> 206dd6b2bfcSGreg Roach </label> 207dd6b2bfcSGreg Roach <div class="col-sm-9"> 208dd6b2bfcSGreg Roach <input 209dd6b2bfcSGreg Roach class="form-control" 210dd6b2bfcSGreg Roach id="META_TITLE" 211dd6b2bfcSGreg Roach maxlength="255" 212dd6b2bfcSGreg Roach name="META_TITLE" 213dd6b2bfcSGreg Roach type="text" 214dd6b2bfcSGreg Roach value="<?= e($tree->getPreference('META_TITLE')) ?>" 215dd6b2bfcSGreg Roach > 216dd6b2bfcSGreg Roach <p class="small text-muted"> 217dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Add to TITLE header tag” configuration setting */ I18N::translate('This text will be appended to each page title. It will be shown in the browser’s title bar, bookmarks, etc.') ?> 218dd6b2bfcSGreg Roach </p> 219dd6b2bfcSGreg Roach </div> 220dd6b2bfcSGreg Roach </div> 221dd6b2bfcSGreg Roach 222dd6b2bfcSGreg Roach <!-- META_DESCRIPTION --> 223dd6b2bfcSGreg Roach <div class="row form-group"> 224dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="META_DESCRIPTION"> 225dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Description META tag') ?> 226dd6b2bfcSGreg Roach </label> 227dd6b2bfcSGreg Roach <div class="col-sm-9"> 228dd6b2bfcSGreg Roach <input 229dd6b2bfcSGreg Roach class="form-control" 230dd6b2bfcSGreg Roach id="META_DESCRIPTION" 231dd6b2bfcSGreg Roach maxlength="255" 232dd6b2bfcSGreg Roach name="META_DESCRIPTION" 233dd6b2bfcSGreg Roach type="text" 234dd6b2bfcSGreg Roach value="<?= e($tree->getPreference('META_DESCRIPTION')) ?>" 235dd6b2bfcSGreg Roach > 236dd6b2bfcSGreg Roach <p class="small text-muted"> 237dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Description META tag” configuration setting */ I18N::translate('The value to place in the “meta description” tag in the HTML page header. Leave this field empty to use the name of the family tree.') ?> 238dd6b2bfcSGreg Roach </p> 239dd6b2bfcSGreg Roach </div> 240dd6b2bfcSGreg Roach </div> 241dd6b2bfcSGreg Roach 242dd6b2bfcSGreg Roach <h3><?= I18N::translate('User preferences') ?></h3> 243dd6b2bfcSGreg Roach <!-- ALLOW_THEME_DROPDOWN --> 244dd6b2bfcSGreg Roach <fieldset class="form-group"> 245dd6b2bfcSGreg Roach <div class="row"> 246dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 247dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Theme menu') ?> 248dd6b2bfcSGreg Roach </legend> 249dd6b2bfcSGreg Roach <div class="col-sm-9"> 250dd6b2bfcSGreg Roach <?= view('components/radios-hide-show', ['name' => 'ALLOW_THEME_DROPDOWN', 'value' => $tree->getPreference('ALLOW_THEME_DROPDOWN')]) ?> 251dd6b2bfcSGreg Roach <p class="small text-muted"> 252dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Theme dropdown selector for theme changes” configuration setting */ I18N::translate('The theme menu will only be shown if the website preferences allow users to select their own theme.') ?> 253dd6b2bfcSGreg Roach </p> 254dd6b2bfcSGreg Roach </div> 255dd6b2bfcSGreg Roach </div> 256dd6b2bfcSGreg Roach </fieldset> 257dd6b2bfcSGreg Roach 258dd6b2bfcSGreg Roach <!-- THEME_DIR --> 259dd6b2bfcSGreg Roach <div class="row form-group"> 260dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="THEME_DIR"> 261dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Default theme') ?> 262dd6b2bfcSGreg Roach </label> 263dd6b2bfcSGreg Roach <div class="col-sm-9"> 264dd6b2bfcSGreg Roach <?= Bootstrap4::select($theme_options, $tree->getPreference('THEME_DIR'), ['id' => 'THEME_DIR', 'name' => 'THEME_DIR']) ?> 265dd6b2bfcSGreg Roach <p class="small text-muted"> 266dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Default theme” configuration setting */ I18N::translate('You can change the appearance of webtrees using “themes”. Each theme has a different style, layout, color scheme, etc.') ?> 267dd6b2bfcSGreg Roach </p> 268dd6b2bfcSGreg Roach </div> 269dd6b2bfcSGreg Roach </div> 270dd6b2bfcSGreg Roach 271dd6b2bfcSGreg Roach <h3><?= I18N::translate('Media folders') ?></h3> 272dd6b2bfcSGreg Roach 273dd6b2bfcSGreg Roach <!-- MEDIA_DIRECTORY --> 274dd6b2bfcSGreg Roach <div class="row form-group"> 275dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="MEDIA_DIRECTORY"> 276dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Media folder') ?> 277dd6b2bfcSGreg Roach </label> 278dd6b2bfcSGreg Roach <div class="col-sm-9"> 279dd6b2bfcSGreg Roach <div class="input-group" dir="ltr"> 280dd6b2bfcSGreg Roach <div class="input-group-prepend"> 281*a3c95e78SGreg Roach <span class="input-group-text" dir="ltr"> 28208af4a8cSGreg Roach <?= e($data_folder) ?> 283dd6b2bfcSGreg Roach </span> 284dd6b2bfcSGreg Roach </div> 285*a3c95e78SGreg Roach <input class="form-control" dir="ltr" id="MEDIA_DIRECTORY" maxlength="255" name="MEDIA_DIRECTORY" type="text" value="<?= e($tree->getPreference('MEDIA_DIRECTORY')) ?>"> 286dd6b2bfcSGreg Roach </div> 287dd6b2bfcSGreg Roach <p class="small text-muted"> 288dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Media folder” configuration setting */ I18N::translate('This folder will be used to store the media files for this family tree.') ?> 289dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Media folder” configuration setting */ I18N::translate('If you select a different folder, you must also move any media files from the existing folder to the new one.') ?> 290dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Media folder” configuration setting */ I18N::translate('If two family trees use the same media folder, then they will be able to share media files. If they use different media folders, then their media files will be kept separate.') ?> 291dd6b2bfcSGreg Roach </p> 292dd6b2bfcSGreg Roach </div> 293dd6b2bfcSGreg Roach </div> 294dd6b2bfcSGreg Roach 295dd6b2bfcSGreg Roach <h3><?= I18N::translate('Media files') ?></h3> 296dd6b2bfcSGreg Roach 297dd6b2bfcSGreg Roach <!-- MEDIA_UPLOAD --> 298dd6b2bfcSGreg Roach <div class="row form-group"> 299dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="MEDIA_UPLOAD"> 300dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Who can upload new media files') ?> 301dd6b2bfcSGreg Roach </label> 302dd6b2bfcSGreg Roach <div class="col-sm-9"> 303dd6b2bfcSGreg Roach <?= Bootstrap4::select($privacy_options, $tree->getPreference('MEDIA_UPLOAD'), ['id' => 'MEDIA_UPLOAD', 'name' => 'MEDIA_UPLOAD']) ?> 304dd6b2bfcSGreg Roach <p class="small text-muted"> 305dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Who can upload new media files” configuration setting */ I18N::translate('If you are concerned that users might upload inappropriate images, you can restrict media uploads to managers only.') ?> 306dd6b2bfcSGreg Roach </p> 307dd6b2bfcSGreg Roach </div> 308dd6b2bfcSGreg Roach </div> 309dd6b2bfcSGreg Roach 310dd6b2bfcSGreg Roach <!-- SHOW_MEDIA_DOWNLOAD --> 311dd6b2bfcSGreg Roach <fieldset class="form-group"> 312dd6b2bfcSGreg Roach <div class="row"> 313dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 314dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Show a download link in the media viewer') ?> 315dd6b2bfcSGreg Roach </legend> 316dd6b2bfcSGreg Roach <div class="col-sm-9"> 317dd6b2bfcSGreg Roach <?= Bootstrap4::select(FunctionsEdit::optionsAccessLevels(), $tree->getPreference('SHOW_MEDIA_DOWNLOAD'), ['id' => 'SHOW_MEDIA_DOWNLOAD', 'name' => 'SHOW_MEDIA_DOWNLOAD']) ?> 318dd6b2bfcSGreg Roach <p class="small text-muted"> 319dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Show a download link in the media viewer” configuration setting */ I18N::translate('This option will make it easier for users to download images.') ?> 320dd6b2bfcSGreg Roach </p> 321dd6b2bfcSGreg Roach </div> 322dd6b2bfcSGreg Roach </div> 323dd6b2bfcSGreg Roach </fieldset> 324dd6b2bfcSGreg Roach 325dd6b2bfcSGreg Roach <h3><?= I18N::translate('Thumbnail images') ?></h3> 326dd6b2bfcSGreg Roach 327dd6b2bfcSGreg Roach <!-- SHOW_HIGHLIGHT_IMAGES --> 328dd6b2bfcSGreg Roach <fieldset class="form-group"> 329dd6b2bfcSGreg Roach <div class="row"> 330dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 331dd6b2bfcSGreg Roach <?= I18N::translate('Thumbnail images') ?> 332dd6b2bfcSGreg Roach </legend> 333dd6b2bfcSGreg Roach <div class="col-sm-9"> 334dd6b2bfcSGreg Roach <?= view('components/radios-hide-show', ['name' => 'SHOW_HIGHLIGHT_IMAGES', 'value' => $tree->getPreference('SHOW_HIGHLIGHT_IMAGES')]) ?> 335dd6b2bfcSGreg Roach <p class="small text-muted"> 336dd6b2bfcSGreg Roach <?= I18N::translate('Show thumbnail images in charts and family groups.') ?> 337dd6b2bfcSGreg Roach </p> 338dd6b2bfcSGreg Roach </div> 339dd6b2bfcSGreg Roach </div> 340dd6b2bfcSGreg Roach </fieldset> 341dd6b2bfcSGreg Roach 342dd6b2bfcSGreg Roach <!-- USE_SILHOUETTE --> 343dd6b2bfcSGreg Roach <fieldset class="form-group"> 344dd6b2bfcSGreg Roach <div class="row"> 345dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 346dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Use silhouettes') ?> 347dd6b2bfcSGreg Roach </legend> 348dd6b2bfcSGreg Roach <div class="col-sm-9"> 349dd6b2bfcSGreg Roach <?= view('components/radios-no-yes', ['name' => 'USE_SILHOUETTE', 'value' => $tree->getPreference('USE_SILHOUETTE')]) ?> 350dd6b2bfcSGreg Roach <p class="small text-muted"> 351dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Use silhouettes” configuration setting */ I18N::translate('Use silhouette images when no highlighted image for that individual has been specified. The images used are specific to the gender of the individual in question.') ?> 352dd6b2bfcSGreg Roach </p> 353dd6b2bfcSGreg Roach </div> 354dd6b2bfcSGreg Roach </div> 355dd6b2bfcSGreg Roach </fieldset> 356dd6b2bfcSGreg Roach 357dd6b2bfcSGreg Roach <h3><?= I18N::translate('Watermarks') ?></h3> 358dd6b2bfcSGreg Roach 359dd6b2bfcSGreg Roach <!-- SHOW_NO_WATERMARK --> 360dd6b2bfcSGreg Roach <div class="row form-group"> 361dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="SHOW_NO_WATERMARK"> 362dd6b2bfcSGreg Roach <?= I18N::translate('Images without watermarks') ?> 363dd6b2bfcSGreg Roach </label> 364dd6b2bfcSGreg Roach <div class="col-sm-9"> 365dd6b2bfcSGreg Roach <?= Bootstrap4::select(FunctionsEdit::optionsAccessLevels(), $tree->getPreference('SHOW_NO_WATERMARK'), ['id' => 'SHOW_NO_WATERMARK', 'name' => 'SHOW_NO_WATERMARK']) ?> 366dd6b2bfcSGreg Roach <p class="small text-muted"> 367dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Images without watermarks” configuration setting */ I18N::translate('Watermarks are optional and normally shown just to visitors.') ?> 368dd6b2bfcSGreg Roach </p> 369dd6b2bfcSGreg Roach </div> 370dd6b2bfcSGreg Roach </div> 371dd6b2bfcSGreg Roach 372dd6b2bfcSGreg Roach <h3><?= I18N::translate('Lists') ?></h3> 373dd6b2bfcSGreg Roach 374dd6b2bfcSGreg Roach <!-- SURNAME_LIST_STYLE --> 375dd6b2bfcSGreg Roach <div class="row form-group"> 376dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="SURNAME_LIST_STYLE"> 377dd6b2bfcSGreg Roach <?= I18N::translate('Surname list style') ?> 378dd6b2bfcSGreg Roach </label> 379dd6b2bfcSGreg Roach <div class="col-sm-9"> 380dd6b2bfcSGreg Roach <?= Bootstrap4::select($surname_list_styles, $tree->getPreference('SURNAME_LIST_STYLE'), ['id' => 'SURNAME_LIST_STYLE', 'name' => 'SURNAME_LIST_STYLE']) ?> 381dd6b2bfcSGreg Roach <p class="small text-muted"> 382dd6b2bfcSGreg Roach </p> 383dd6b2bfcSGreg Roach </div> 384dd6b2bfcSGreg Roach </div> 385dd6b2bfcSGreg Roach 386dd6b2bfcSGreg Roach <!-- SUBLIST_TRIGGER_I --> 387dd6b2bfcSGreg Roach <div class="row form-group"> 388dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="SUBLIST_TRIGGER_I"> 389dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Maximum number of surnames on individual list') ?> 390dd6b2bfcSGreg Roach </label> 391dd6b2bfcSGreg Roach <div class="col-sm-9"> 392dd6b2bfcSGreg Roach <input 393dd6b2bfcSGreg Roach class="form-control" 394dd6b2bfcSGreg Roach id="SUBLIST_TRIGGER_I" 395dd6b2bfcSGreg Roach maxlength="5" 396dd6b2bfcSGreg Roach name="SUBLIST_TRIGGER_I" 397dd6b2bfcSGreg Roach required 398dd6b2bfcSGreg Roach type="text" 399dd6b2bfcSGreg Roach value="<?= e($tree->getPreference('SUBLIST_TRIGGER_I')) ?>" 400dd6b2bfcSGreg Roach > 401dd6b2bfcSGreg Roach <p class="small text-muted"> 402dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Maximum number of surnames on individual list” configuration setting */ I18N::translate('Long lists of individuals with the same surname can be broken into smaller sub-lists according to the first letter of the individual’s given name.<br><br>This option determines when sub-listing of surnames will occur. To disable sub-listing completely, set this option to zero.') ?> 403dd6b2bfcSGreg Roach </p> 404dd6b2bfcSGreg Roach </div> 405dd6b2bfcSGreg Roach </div> 406dd6b2bfcSGreg Roach 407dd6b2bfcSGreg Roach <!-- SHOW_EST_LIST_DATES --> 408dd6b2bfcSGreg Roach <fieldset class="form-group"> 409dd6b2bfcSGreg Roach <div class="row"> 410dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 411dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Estimated dates for birth and death') ?> 412dd6b2bfcSGreg Roach </legend> 413dd6b2bfcSGreg Roach <div class="col-sm-9"> 414dd6b2bfcSGreg Roach <?= view('components/radios-hide-show', ['name' => 'SHOW_EST_LIST_DATES', 'value' => $tree->getPreference('SHOW_EST_LIST_DATES')]) ?> 415dd6b2bfcSGreg Roach <p class="small text-muted"> 416dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Estimated dates for birth and death” configuration setting */ I18N::translate('This option controls whether or not to show estimated dates for birth and death instead of leaving blanks on individual lists and charts for individuals whose dates are not known.') ?> 417dd6b2bfcSGreg Roach </p> 418dd6b2bfcSGreg Roach </div> 419dd6b2bfcSGreg Roach </div> 420dd6b2bfcSGreg Roach </fieldset> 421dd6b2bfcSGreg Roach 422dd6b2bfcSGreg Roach <!-- SHOW_LAST_CHANGE --> 423dd6b2bfcSGreg Roach <fieldset class="form-group"> 424dd6b2bfcSGreg Roach <div class="row"> 425dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 426dd6b2bfcSGreg Roach <?= I18N::translate('The date and time of the last update') ?> 427dd6b2bfcSGreg Roach </legend> 428dd6b2bfcSGreg Roach <div class="col-sm-9"> 429dd6b2bfcSGreg Roach <?= view('components/radios-hide-show', ['name' => 'SHOW_LAST_CHANGE', 'value' => $tree->getPreference('SHOW_LAST_CHANGE')]) ?> 430dd6b2bfcSGreg Roach <p class="small text-muted"> 431dd6b2bfcSGreg Roach </p> 432dd6b2bfcSGreg Roach </div> 433dd6b2bfcSGreg Roach </div> 434dd6b2bfcSGreg Roach </fieldset> 435dd6b2bfcSGreg Roach 436dd6b2bfcSGreg Roach <h3><?= I18N::translate('Charts') ?></h3> 437dd6b2bfcSGreg Roach 438dd6b2bfcSGreg Roach <!-- SHOW_PARENTS_AGE --> 439dd6b2bfcSGreg Roach <fieldset class="form-group"> 440dd6b2bfcSGreg Roach <div class="row"> 441dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 442dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Age of parents next to child’s birthdate') ?> 443dd6b2bfcSGreg Roach </legend> 444dd6b2bfcSGreg Roach <div class="col-sm-9"> 445dd6b2bfcSGreg Roach <?= view('components/radios-hide-show', ['name' => 'SHOW_PARENTS_AGE', 'value' => $tree->getPreference('SHOW_PARENTS_AGE')]) ?> 446dd6b2bfcSGreg Roach <p class="small text-muted"> 447dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Age of parents next to child’s birthdate” configuration setting */ I18N::translate('This option controls whether or not to show age of father and mother next to child’s birthdate on charts.') ?> 448dd6b2bfcSGreg Roach </p> 449dd6b2bfcSGreg Roach </div> 450dd6b2bfcSGreg Roach </div> 451dd6b2bfcSGreg Roach </fieldset> 452dd6b2bfcSGreg Roach 453dd6b2bfcSGreg Roach <!-- CHART_BOX_TAGS --> 454dd6b2bfcSGreg Roach <div class="row form-group"> 455dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="CHART_BOX_TAGS"> 456dd6b2bfcSGreg Roach <?= I18N::translate('Other facts to show in charts') ?> 457dd6b2bfcSGreg Roach </label> 458dd6b2bfcSGreg Roach <div class="col-sm-9"> 459dd6b2bfcSGreg Roach <div class="input-group"> 460dd6b2bfcSGreg Roach <?= Bootstrap4::multiSelect($all_indi_facts, explode(',', $tree->getPreference('CHART_BOX_TAGS')), ['id' => 'CHART_BOX_TAGS', 'name' => 'CHART_BOX_TAGS[]', 'class' => 'select2']) ?> 461dd6b2bfcSGreg Roach </div> 462dd6b2bfcSGreg Roach <p class="small text-muted"> 463dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Other facts to show in charts” configuration setting */ I18N::translate('This should be a comma or space separated list of facts, in addition to birth and death, that you want to appear in chart boxes such as the pedigree chart. This list requires you to use fact tags as defined in the GEDCOM 5.5.1 standard. For example, if you wanted the occupation to show up in the box, you would add “OCCU” to this field.') ?> 464dd6b2bfcSGreg Roach </p> 465dd6b2bfcSGreg Roach </div> 466dd6b2bfcSGreg Roach </div> 467dd6b2bfcSGreg Roach 468dd6b2bfcSGreg Roach <h3><?= I18N::translate('Individual pages') ?></h3> 469dd6b2bfcSGreg Roach 470dd6b2bfcSGreg Roach <!-- SHOW_RELATIVES_EVENTS --> 471dd6b2bfcSGreg Roach <fieldset class="form-group"> 472dd6b2bfcSGreg Roach <div class="row"> 473dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 474dd6b2bfcSGreg Roach <?= I18N::translate('Show the events of close relatives on the individual page') ?> 475dd6b2bfcSGreg Roach </legend> 476dd6b2bfcSGreg Roach <div class="col-sm-3"> 477dd6b2bfcSGreg Roach <div class="form-check"> 478dd6b2bfcSGreg Roach <label for="_BIRT_GCHI"> 479dd6b2bfcSGreg Roach <input name="SHOW_RELATIVES_EVENTS[]" type="checkbox" id="_BIRT_GCHI" value="_BIRT_GCHI" <?= in_array('_BIRT_GCHI', $relatives_events) ? 'checked' : '' ?>> 480dd6b2bfcSGreg Roach <?= I18N::translate('Birth of a grandchild') ?> 481dd6b2bfcSGreg Roach </label> 482dd6b2bfcSGreg Roach </div> 483dd6b2bfcSGreg Roach <div class="form-check"> 484dd6b2bfcSGreg Roach <label for="_BIRT_CHIL"> 485dd6b2bfcSGreg Roach <input name="SHOW_RELATIVES_EVENTS[]" type="checkbox" id="_BIRT_CHIL" value="_BIRT_CHIL" <?= in_array('_BIRT_CHIL', $relatives_events) ? 'checked' : '' ?>> 486dd6b2bfcSGreg Roach <?= I18N::translate('Birth of a child') ?> 487dd6b2bfcSGreg Roach </label> 488dd6b2bfcSGreg Roach </div> 489dd6b2bfcSGreg Roach <div class="form-check"> 490dd6b2bfcSGreg Roach <label for="_BIRT_SIBL"> 491dd6b2bfcSGreg Roach <input name="SHOW_RELATIVES_EVENTS[]" type="checkbox" id="_BIRT_SIBL" value="_BIRT_SIBL" <?= in_array('_BIRT_SIBL', $relatives_events) ? 'checked' : '' ?>> 492dd6b2bfcSGreg Roach <?= I18N::translate('Birth of a sibling') ?> 493dd6b2bfcSGreg Roach </label> 494dd6b2bfcSGreg Roach </div> 495dd6b2bfcSGreg Roach </div> 496dd6b2bfcSGreg Roach <div class="col-sm-3"> 497dd6b2bfcSGreg Roach <div class="form-check"> 498dd6b2bfcSGreg Roach <label for="_MARR_GCHI"> 499dd6b2bfcSGreg Roach <input name="SHOW_RELATIVES_EVENTS[]" type="checkbox" id="_MARR_GCHI" value="_MARR_GCHI" <?= in_array('_MARR_GCHI', $relatives_events) ? 'checked' : '' ?>> 500dd6b2bfcSGreg Roach <?= I18N::translate('Marriage of a grandchild') ?> 501dd6b2bfcSGreg Roach </label> 502dd6b2bfcSGreg Roach </div> 503dd6b2bfcSGreg Roach <div class="form-check"> 504dd6b2bfcSGreg Roach <label for="_MARR_CHIL"> 505dd6b2bfcSGreg Roach <input name="SHOW_RELATIVES_EVENTS[]" type="checkbox" id="_MARR_CHIL" value="_MARR_CHIL" <?= in_array('_MARR_CHIL', $relatives_events) ? 'checked' : '' ?>> 506dd6b2bfcSGreg Roach <?= I18N::translate('Marriage of a child') ?> 507dd6b2bfcSGreg Roach </label> 508dd6b2bfcSGreg Roach </div> 509dd6b2bfcSGreg Roach <div class="form-check"> 510dd6b2bfcSGreg Roach <label for="_MARR_SIBL"> 511dd6b2bfcSGreg Roach <input name="SHOW_RELATIVES_EVENTS[]" type="checkbox" id="_MARR_SIBL" value="_MARR_SIBL" <?= in_array('_MARR_SIBL', $relatives_events) ? 'checked' : '' ?>> 512dd6b2bfcSGreg Roach <?= I18N::translate('Marriage of a sibling') ?> 513dd6b2bfcSGreg Roach </label> 514dd6b2bfcSGreg Roach </div> 515dd6b2bfcSGreg Roach <div class="form-check"> 516dd6b2bfcSGreg Roach <label for="_MARR_PARE"> 517dd6b2bfcSGreg Roach <input name="SHOW_RELATIVES_EVENTS[]" type="checkbox" id="_MARR_PARE" value="_MARR_PARE" <?= in_array('_MARR_PARE', $relatives_events) ? 'checked' : '' ?>> 518dd6b2bfcSGreg Roach <?= I18N::translate('Marriage of a parent') ?> 519dd6b2bfcSGreg Roach </label> 520dd6b2bfcSGreg Roach </div> 521dd6b2bfcSGreg Roach </div> 522dd6b2bfcSGreg Roach <div class="col-sm-3"> 523dd6b2bfcSGreg Roach <div class="form-check"> 524dd6b2bfcSGreg Roach <label for="_DEAT_GCHI"> 525dd6b2bfcSGreg Roach <input name="SHOW_RELATIVES_EVENTS[]" type="checkbox" id="_DEAT_GCHI" value="_DEAT_GCHI" <?= in_array('_DEAT_GCHI', $relatives_events) ? 'checked' : '' ?>> 526dd6b2bfcSGreg Roach <?= I18N::translate('Death of a grandchild') ?> 527dd6b2bfcSGreg Roach </label> 528dd6b2bfcSGreg Roach </div> 529dd6b2bfcSGreg Roach <div class="form-check"> 530dd6b2bfcSGreg Roach <label for="_DEAT_CHIL"> 531dd6b2bfcSGreg Roach <input name="SHOW_RELATIVES_EVENTS[]" type="checkbox" id="_DEAT_CHIL" value="_DEAT_CHIL" <?= in_array('_DEAT_CHIL', $relatives_events) ? 'checked' : '' ?>> 532dd6b2bfcSGreg Roach <?= I18N::translate('Death of a child') ?> 533dd6b2bfcSGreg Roach </label> 534dd6b2bfcSGreg Roach </div> 535dd6b2bfcSGreg Roach <div class="form-check"> 536dd6b2bfcSGreg Roach <label for="_DEAT_SIBL"> 537dd6b2bfcSGreg Roach <input name="SHOW_RELATIVES_EVENTS[]" type="checkbox" id="_DEAT_SIBL" value="_DEAT_SIBL" <?= in_array('_DEAT_SIBL', $relatives_events) ? 'checked' : '' ?>> 538dd6b2bfcSGreg Roach <?= I18N::translate('Death of a sibling') ?> 539dd6b2bfcSGreg Roach </label> 540dd6b2bfcSGreg Roach </div> 541dd6b2bfcSGreg Roach <div class="form-check"> 542dd6b2bfcSGreg Roach <label for="_DEAT_PARE"> 543dd6b2bfcSGreg Roach <input name="SHOW_RELATIVES_EVENTS[]" type="checkbox" id="_DEAT_PARE" value="_DEAT_PARE" <?= in_array('_DEAT_PARE', $relatives_events) ? 'checked' : '' ?>> 544dd6b2bfcSGreg Roach <?= I18N::translate('Death of a parent') ?> 545dd6b2bfcSGreg Roach </label> 546dd6b2bfcSGreg Roach </div> 547dd6b2bfcSGreg Roach <div class="form-check"> 548dd6b2bfcSGreg Roach <label for="_DEAT_SPOU"> 549dd6b2bfcSGreg Roach <input name="SHOW_RELATIVES_EVENTS[]" type="checkbox" id="_DEAT_SPOU" value="_DEAT_SPOU" <?= in_array('_DEAT_SPOU', $relatives_events) ? 'checked' : '' ?>> 550dd6b2bfcSGreg Roach <?= I18N::translate('Death of a spouse') ?> 551dd6b2bfcSGreg Roach </label> 552dd6b2bfcSGreg Roach </div> 553dd6b2bfcSGreg Roach <div class="form-check"> 554dd6b2bfcSGreg Roach <label for="_DEAT_GPAR"> 555dd6b2bfcSGreg Roach <input name="SHOW_RELATIVES_EVENTS[]" type="checkbox" id="_DEAT_GPAR" value="_DEAT_GPAR" <?= in_array('_DEAT_GPAR', $relatives_events) ? 'checked' : '' ?>> 556dd6b2bfcSGreg Roach <?= I18N::translate('Death of a grand-parent') ?> 557dd6b2bfcSGreg Roach </label> 558dd6b2bfcSGreg Roach </div> 559dd6b2bfcSGreg Roach </div> 560dd6b2bfcSGreg Roach </div> 561dd6b2bfcSGreg Roach </fieldset> 562dd6b2bfcSGreg Roach 563dd6b2bfcSGreg Roach <!-- SHOW_FACT_ICONS --> 564dd6b2bfcSGreg Roach <fieldset class="form-group"> 565dd6b2bfcSGreg Roach <div class="row"> 566dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 567dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Fact icons') ?> 568dd6b2bfcSGreg Roach </legend> 569dd6b2bfcSGreg Roach <div class="col-sm-9"> 570dd6b2bfcSGreg Roach <?= view('components/radios-hide-show', ['name' => 'SHOW_FACT_ICONS', 'value' => $tree->getPreference('SHOW_FACT_ICONS')]) ?> 571dd6b2bfcSGreg Roach <p class="small text-muted"> 572dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Fact icons” configuration setting */ I18N::translate('Some themes can display icons on the “Facts and events” tab.') ?> 573dd6b2bfcSGreg Roach </p> 574dd6b2bfcSGreg Roach </div> 575dd6b2bfcSGreg Roach </div> 576dd6b2bfcSGreg Roach </fieldset> 577dd6b2bfcSGreg Roach 578dd6b2bfcSGreg Roach <!-- EXPAND_NOTES --> 579dd6b2bfcSGreg Roach <fieldset class="form-group"> 580dd6b2bfcSGreg Roach <div class="row"> 581dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 582dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Automatically expand notes') ?> 583dd6b2bfcSGreg Roach </legend> 584dd6b2bfcSGreg Roach <div class="col-sm-9"> 585dd6b2bfcSGreg Roach <?= view('components/radios-no-yes', ['name' => 'EXPAND_NOTES', 'value' => $tree->getPreference('EXPAND_NOTES')]) ?> 586dd6b2bfcSGreg Roach <p class="small text-muted"> 587dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Automatically expand notes” configuration setting */ 588dd6b2bfcSGreg Roach I18N::translate('This option controls whether or not to automatically display content of a <i>Note</i> record on the Individual page.') ?> 589dd6b2bfcSGreg Roach </p> 590dd6b2bfcSGreg Roach </div> 591dd6b2bfcSGreg Roach </div> 592dd6b2bfcSGreg Roach </fieldset> 593dd6b2bfcSGreg Roach 594dd6b2bfcSGreg Roach <!-- EXPAND_SOURCES --> 595dd6b2bfcSGreg Roach <fieldset class="form-group"> 596dd6b2bfcSGreg Roach <div class="row"> 597dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 598dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Automatically expand sources') ?> 599dd6b2bfcSGreg Roach </legend> 600dd6b2bfcSGreg Roach <div class="col-sm-9"> 601dd6b2bfcSGreg Roach <?= view('components/radios-no-yes', ['name' => 'EXPAND_SOURCES', 'value' => $tree->getPreference('EXPAND_SOURCES')]) ?> 602dd6b2bfcSGreg Roach <p class="small text-muted"> 603dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Automatically expand sources” configuration setting */ 604dd6b2bfcSGreg Roach I18N::translate('This option controls whether or not to automatically display content of a <i>Source</i> record on the Individual page.') ?> 605dd6b2bfcSGreg Roach </p> 606dd6b2bfcSGreg Roach </div> 607dd6b2bfcSGreg Roach </div> 608dd6b2bfcSGreg Roach </fieldset> 609dd6b2bfcSGreg Roach 610dd6b2bfcSGreg Roach <h3><?= I18N::translate('Places') ?></h3> 611dd6b2bfcSGreg Roach 612dd6b2bfcSGreg Roach <!-- SHOW_PEDIGREE_PLACES --> 613dd6b2bfcSGreg Roach <fieldset class="form-group"> 614dd6b2bfcSGreg Roach <div class="row"> 615dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 616dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Abbreviate place names') ?> 617dd6b2bfcSGreg Roach <label class="sr-only" for="SHOW_PEDIGREE_PLACES_SUFFIX"> 618dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Abbreviate place names') ?> 619dd6b2bfcSGreg Roach <?= I18N::translate('first') ?> / <?= I18N::translate('last') ?> 620dd6b2bfcSGreg Roach </label> 621dd6b2bfcSGreg Roach <label class="sr-only" for="SHOW_PEDIGREE_PLACES"> 622dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Abbreviate place names') ?> 623dd6b2bfcSGreg Roach </label> 624dd6b2bfcSGreg Roach </legend> 625dd6b2bfcSGreg Roach <div class="col-sm-9"> 626dd6b2bfcSGreg Roach <?= /* I18N: The placeholders are edit controls. Show the [first/last] [1/2/3/4/5] parts of a place name */ I18N::translate( 627dd6b2bfcSGreg Roach 'Show the %1$s %2$s parts of a place name.', 628dd6b2bfcSGreg Roach Bootstrap4::select([ 629dd6b2bfcSGreg Roach '0' => I18N::translateContext('Show the [first/last] [N] parts of a place name.', 'first'), 630dd6b2bfcSGreg Roach '1' => I18N::translateContext('Show the [first/last] [N] parts of a place name.', 'last'), 631dd6b2bfcSGreg Roach ], $tree->getPreference('SHOW_PEDIGREE_PLACES_SUFFIX'), ['name' => 'SHOW_PEDIGREE_PLACES_SUFFIX']), 632dd6b2bfcSGreg Roach Bootstrap4::select(FunctionsEdit::numericOptions(range(1, 9)), $tree->getPreference('SHOW_PEDIGREE_PLACES'), ['name' => 'SHOW_PEDIGREE_PLACES']) 633dd6b2bfcSGreg Roach ) ?> 634dd6b2bfcSGreg Roach <p class="small text-muted"> 635dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Abbreviate place names” configuration setting */ I18N::translate('Place names are frequently too long to fit on charts, lists, etc. They can be abbreviated by showing just the first few parts of the name, such as <i>village, county</i>, or the last few part of it, such as <i>region, country</i>.') ?> 636dd6b2bfcSGreg Roach </p> 637dd6b2bfcSGreg Roach </div> 638dd6b2bfcSGreg Roach </div> 639dd6b2bfcSGreg Roach </fieldset> 640dd6b2bfcSGreg Roach 641dd6b2bfcSGreg Roach <!-- GEONAMES_ACCOUNT --> 642dd6b2bfcSGreg Roach <div class="row form-group"> 643dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="GEONAMES_ACCOUNT"> 644dd6b2bfcSGreg Roach <?= I18N::translate('Use the GeoNames database for autocomplete on places') ?> 645dd6b2bfcSGreg Roach </label> 646dd6b2bfcSGreg Roach <div class="col-sm-9"> 647dd6b2bfcSGreg Roach <input 648dd6b2bfcSGreg Roach class="form-control" 649dd6b2bfcSGreg Roach dir="ltr" 650dd6b2bfcSGreg Roach id="GEONAMES_ACCOUNT" 651dd6b2bfcSGreg Roach maxlength="255" 652dd6b2bfcSGreg Roach name="GEONAMES_ACCOUNT" 653dd6b2bfcSGreg Roach type="text" 654dd6b2bfcSGreg Roach value="<?= e($tree->getPreference('GEONAMES_ACCOUNT')) ?>" 655dd6b2bfcSGreg Roach > 656dd6b2bfcSGreg Roach <p class="small text-muted"> 657dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Use GeoNames database for autocomplete on places” configuration setting */ I18N::translate('The website www.geonames.org provides a large database of place names. This can be searched when entering new places. To use this feature, you must register for a free account at www.geonames.org and provide the username.') ?> 658dd6b2bfcSGreg Roach </p> 659dd6b2bfcSGreg Roach </div> 660dd6b2bfcSGreg Roach </div> 661dd6b2bfcSGreg Roach 662dd6b2bfcSGreg Roach <h3><?= I18N::translate('Text') ?></h3> 663dd6b2bfcSGreg Roach 664dd6b2bfcSGreg Roach <!-- FORMAT_TEXT --> 665dd6b2bfcSGreg Roach <fieldset class="form-group"> 666dd6b2bfcSGreg Roach <div class="row"> 667dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 668dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Format text and notes') ?> 669dd6b2bfcSGreg Roach </legend> 670dd6b2bfcSGreg Roach <div class="col-sm-9"> 671dd6b2bfcSGreg Roach <?= Bootstrap4::radioButtons('FORMAT_TEXT', $formats, $tree->getPreference('FORMAT_TEXT'), true) ?> 672dd6b2bfcSGreg Roach <p class="small text-muted"> 673dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Format text and notes” configuration setting */ I18N::translate('To ensure compatibility with other genealogy applications, notes, text, and transcripts should be recorded in simple, unformatted text. However, formatting is often desirable to aid presentation, comprehension, etc.') ?> 674dd6b2bfcSGreg Roach </p> 675dd6b2bfcSGreg Roach <p class="small text-muted"> 676dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Format text and notes” configuration setting */ I18N::translate('Markdown is a simple system of formatting, used on websites such as Wikipedia. It uses unobtrusive punctuation characters to create headings and sub-headings, bold and italic text, lists, tables, etc.') ?> 677dd6b2bfcSGreg Roach </p> 678dd6b2bfcSGreg Roach </div> 679dd6b2bfcSGreg Roach </div> 680dd6b2bfcSGreg Roach </fieldset> 681dd6b2bfcSGreg Roach 682dd6b2bfcSGreg Roach <h3><?= I18N::translate('General') ?></h3> 683dd6b2bfcSGreg Roach 684dd6b2bfcSGreg Roach <!-- SHOW_GEDCOM_RECORD --> 685dd6b2bfcSGreg Roach <fieldset class="form-group"> 686dd6b2bfcSGreg Roach <div class="row"> 687dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 688dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Allow users to see raw GEDCOM records') ?> 689dd6b2bfcSGreg Roach </legend> 690dd6b2bfcSGreg Roach <div class="col-sm-9"> 691dd6b2bfcSGreg Roach <?= view('components/radios-no-yes', ['name' => 'SHOW_GEDCOM_RECORD', 'value' => $tree->getPreference('SHOW_GEDCOM_RECORD')]) ?> 692dd6b2bfcSGreg Roach <p class="small text-muted"> 693dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Allow users to see raw GEDCOM records” configuration setting */ I18N::translate('Setting this to <b>Yes</b> will place links on individuals, sources, and families to let users bring up another window containing the raw data taken right out of the GEDCOM file.') ?> 694dd6b2bfcSGreg Roach </p> 695dd6b2bfcSGreg Roach </div> 696dd6b2bfcSGreg Roach </div> 697dd6b2bfcSGreg Roach </fieldset> 698dd6b2bfcSGreg Roach 699dd6b2bfcSGreg Roach <!-- HIDE_GEDCOM_ERRORS --> 700dd6b2bfcSGreg Roach <fieldset class="form-group"> 701dd6b2bfcSGreg Roach <div class="row"> 702dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 703dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('GEDCOM errors') ?> 704dd6b2bfcSGreg Roach </legend> 705dd6b2bfcSGreg Roach <div class="col-sm-9"> 706dd6b2bfcSGreg Roach <?= view('components/radios-hide-show', ['name' => 'HIDE_GEDCOM_ERRORS', 'value' => $tree->getPreference('HIDE_GEDCOM_ERRORS')]) ?> 707dd6b2bfcSGreg Roach <p class="small text-muted"> 708dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “GEDCOM errors” configuration setting */ I18N::translate('Many genealogy programs create GEDCOM files with custom tags, and webtrees understands most of them. When unrecognized tags are found, this option lets you choose whether to ignore them or display a warning message.') ?> 709dd6b2bfcSGreg Roach </p> 710dd6b2bfcSGreg Roach </div> 711dd6b2bfcSGreg Roach </div> 712dd6b2bfcSGreg Roach </fieldset> 713dd6b2bfcSGreg Roach 714dd6b2bfcSGreg Roach <!-- SHOW_COUNTER --> 715dd6b2bfcSGreg Roach <fieldset class="form-group"> 716dd6b2bfcSGreg Roach <div class="row"> 717dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 718dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Hit counters') ?> 719dd6b2bfcSGreg Roach </legend> 720dd6b2bfcSGreg Roach <div class="col-sm-9"> 721dd6b2bfcSGreg Roach <?= view('components/radios-hide-show', ['name' => 'SHOW_COUNTER', 'value' => $tree->getPreference('SHOW_COUNTER')]) ?> 722dd6b2bfcSGreg Roach <p class="small text-muted"> 723dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Hit counters” configuration setting */ I18N::translate('Some pages can display the number of times that they have been visited.') ?> 724dd6b2bfcSGreg Roach </p> 725dd6b2bfcSGreg Roach </div> 726dd6b2bfcSGreg Roach </div> 727dd6b2bfcSGreg Roach </fieldset> 728dd6b2bfcSGreg Roach 729dd6b2bfcSGreg Roach <h3><?= /* I18N: Options for editing */ I18N::translate('Edit preferences') ?></h3> 730dd6b2bfcSGreg Roach 731dd6b2bfcSGreg Roach <h3><?= I18N::translate('Facts for individual records') ?></h3> 732dd6b2bfcSGreg Roach 733dd6b2bfcSGreg Roach <!-- INDI_FACTS_ADD --> 734dd6b2bfcSGreg Roach <div class="row form-group"> 735dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="INDI_FACTS_ADD"> 736dd6b2bfcSGreg Roach <?= I18N::translate('All individual facts') ?> 737dd6b2bfcSGreg Roach </label> 738dd6b2bfcSGreg Roach <div class="col-sm-9"> 739dd6b2bfcSGreg Roach <?= Bootstrap4::multiSelect($all_indi_facts, explode(',', $tree->getPreference('INDI_FACTS_ADD')), ['id' => 'INDI_FACTS_ADD', 'name' => 'INDI_FACTS_ADD[]', 'class' => 'select2']) ?> 740dd6b2bfcSGreg Roach <p class="small text-muted"> 741dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “All individual facts” configuration setting */ I18N::translate('This is the list of GEDCOM facts that your users can add to individuals. You can modify this list by removing or adding fact names, even custom ones, as necessary. Fact names that appear in this list must not also appear in the “Unique individual facts” list.') ?> 742dd6b2bfcSGreg Roach </p> 743dd6b2bfcSGreg Roach </div> 744dd6b2bfcSGreg Roach </div> 745dd6b2bfcSGreg Roach 746dd6b2bfcSGreg Roach <!-- INDI_FACTS_UNIQUE --> 747dd6b2bfcSGreg Roach <div class="row form-group"> 748dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="INDI_FACTS_UNIQUE"> 749dd6b2bfcSGreg Roach <?= I18N::translate('Unique individual facts') ?> 750dd6b2bfcSGreg Roach </label> 751dd6b2bfcSGreg Roach <div class="col-sm-9"> 752dd6b2bfcSGreg Roach <?= Bootstrap4::multiSelect($all_indi_facts, explode(',', $tree->getPreference('INDI_FACTS_UNIQUE')), ['id' => 'INDI_FACTS_UNIQUE', 'name' => 'INDI_FACTS_UNIQUE[]', 'class' => 'select2']) ?> 753dd6b2bfcSGreg Roach <p class="small text-muted"> 754dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Unique individual facts” configuration setting */ I18N::translate('This is the list of GEDCOM facts that your users can only add once to individuals. For example, if BIRT is in this list, users will not be able to add more than one BIRT record to an individual. Fact names that appear in this list must not also appear in the “All individual facts” list.') ?> 755dd6b2bfcSGreg Roach </p> 756dd6b2bfcSGreg Roach </div> 757dd6b2bfcSGreg Roach </div> 758dd6b2bfcSGreg Roach 759dd6b2bfcSGreg Roach <!-- QUICK_REQUIRED_FACTS --> 760dd6b2bfcSGreg Roach <div class="row form-group"> 761dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="QUICK_REQUIRED_FACTS"> 762dd6b2bfcSGreg Roach <?= I18N::translate('Facts for new individuals') ?> 763dd6b2bfcSGreg Roach </label> 764dd6b2bfcSGreg Roach <div class="col-sm-9"> 765dd6b2bfcSGreg Roach <?= Bootstrap4::multiSelect($all_indi_facts, explode(',', $tree->getPreference('QUICK_REQUIRED_FACTS')), ['id' => 'QUICK_REQUIRED_FACTS', 'name' => 'QUICK_REQUIRED_FACTS[]', 'class' => 'select2']) ?> 766dd6b2bfcSGreg Roach <p class="small text-muted"> 767dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Facts for new individuals” configuration setting */ I18N::translate('This is a comma separated list of GEDCOM fact tags that will be shown when adding a new individual. For example, if BIRT is in the list, fields for birth date and birth place will be shown on the form.') ?> 768dd6b2bfcSGreg Roach </p> 769dd6b2bfcSGreg Roach </div> 770dd6b2bfcSGreg Roach </div> 771dd6b2bfcSGreg Roach 772dd6b2bfcSGreg Roach <!-- INDI_FACTS_QUICK --> 773dd6b2bfcSGreg Roach <div class="row form-group"> 774dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="INDI_FACTS_QUICK"> 775dd6b2bfcSGreg Roach <?= I18N::translate('Quick individual facts') ?> 776dd6b2bfcSGreg Roach </label> 777dd6b2bfcSGreg Roach <div class="col-sm-9"> 778dd6b2bfcSGreg Roach <?= Bootstrap4::multiSelect($all_indi_facts, explode(',', $tree->getPreference('INDI_FACTS_QUICK')), ['id' => 'INDI_FACTS_QUICK', 'name' => 'INDI_FACTS_QUICK[]', 'class' => 'select2']) ?> 779dd6b2bfcSGreg Roach <p class="small text-muted"> 780dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Quick individual facts” configuration setting */ I18N::translate('The most common individual facts and events are listed separately, so that they can be added more easily.') ?> 781dd6b2bfcSGreg Roach </p> 782dd6b2bfcSGreg Roach </div> 783dd6b2bfcSGreg Roach </div> 784dd6b2bfcSGreg Roach 785dd6b2bfcSGreg Roach <h3><?= I18N::translate('Facts for family records') ?></h3> 786dd6b2bfcSGreg Roach 787dd6b2bfcSGreg Roach <!-- FAM_FACTS_ADD --> 788dd6b2bfcSGreg Roach <div class="row form-group"> 789dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="FAM_FACTS_ADD"> 790dd6b2bfcSGreg Roach <?= I18N::translate('All family facts') ?> 791dd6b2bfcSGreg Roach </label> 792dd6b2bfcSGreg Roach <div class="col-sm-9"> 793dd6b2bfcSGreg Roach <?= Bootstrap4::multiSelect($all_fam_facts, explode(',', $tree->getPreference('FAM_FACTS_ADD')), ['id' => 'FAM_FACTS_ADD', 'name' => 'FAM_FACTS_ADD[]', 'class' => 'select2']) ?> 794dd6b2bfcSGreg Roach <p class="small text-muted"> 795dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “All family facts” configuration setting */ I18N::translate('This is the list of GEDCOM facts that your users can add to families. You can modify this list by removing or adding fact names, even custom ones, as necessary. Fact names that appear in this list must not also appear in the “Unique family facts” list.') ?> 796dd6b2bfcSGreg Roach </p> 797dd6b2bfcSGreg Roach </div> 798dd6b2bfcSGreg Roach </div> 799dd6b2bfcSGreg Roach 800dd6b2bfcSGreg Roach <!-- FAM_FACTS_UNIQUE --> 801dd6b2bfcSGreg Roach <div class="row form-group"> 802dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="FAM_FACTS_UNIQUE"> 803dd6b2bfcSGreg Roach <?= I18N::translate('Unique family facts') ?> 804dd6b2bfcSGreg Roach </label> 805dd6b2bfcSGreg Roach <div class="col-sm-9"> 806dd6b2bfcSGreg Roach <?= Bootstrap4::multiSelect($all_fam_facts, explode(',', $tree->getPreference('FAM_FACTS_UNIQUE')), ['id' => 'FAM_FACTS_UNIQUE', 'name' => 'FAM_FACTS_UNIQUE[]', 'class' => 'select2']) ?> 807dd6b2bfcSGreg Roach <p class="small text-muted"> 808dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Unique family facts” configuration setting */ I18N::translate('This is the list of GEDCOM facts that your users can only add once to families. For example, if MARR is in this list, users will not be able to add more than one MARR record to a family. Fact names that appear in this list must not also appear in the “All family facts” list.') ?> 809dd6b2bfcSGreg Roach </p> 810dd6b2bfcSGreg Roach </div> 811dd6b2bfcSGreg Roach </div> 812dd6b2bfcSGreg Roach 813dd6b2bfcSGreg Roach <!-- QUICK_REQUIRED_FAMFACTS --> 814dd6b2bfcSGreg Roach <div class="row form-group"> 815dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="QUICK_REQUIRED_FAMFACTS"> 816dd6b2bfcSGreg Roach <?= I18N::translate('Facts for new families') ?> 817dd6b2bfcSGreg Roach </label> 818dd6b2bfcSGreg Roach <div class="col-sm-9"> 819dd6b2bfcSGreg Roach <?= Bootstrap4::multiSelect($all_fam_facts, explode(',', $tree->getPreference('QUICK_REQUIRED_FAMFACTS')), ['id' => 'QUICK_REQUIRED_FAMFACTS', 'name' => 'QUICK_REQUIRED_FAMFACTS[]', 'class' => 'select2']) ?> 820dd6b2bfcSGreg Roach <p class="small text-muted"> 821dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Facts for new families” configuration setting */ I18N::translate('This is a comma separated list of GEDCOM fact tags that will be shown when adding a new family. For example, if MARR is in the list, then fields for marriage date and marriage place will be shown on the form.') ?> 822dd6b2bfcSGreg Roach </p> 823dd6b2bfcSGreg Roach </div> 824dd6b2bfcSGreg Roach </div> 825dd6b2bfcSGreg Roach 826dd6b2bfcSGreg Roach <!-- FAM_FACTS_QUICK --> 827dd6b2bfcSGreg Roach <div class="row form-group"> 828dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="FAM_FACTS_QUICK"> 829dd6b2bfcSGreg Roach <?= I18N::translate('Quick family facts') ?> 830dd6b2bfcSGreg Roach </label> 831dd6b2bfcSGreg Roach <div class="col-sm-9"> 832dd6b2bfcSGreg Roach <?= Bootstrap4::multiSelect($all_fam_facts, explode(',', $tree->getPreference('FAM_FACTS_QUICK')), ['id' => 'FAM_FACTS_QUICK', 'name' => 'FAM_FACTS_QUICK[]', 'class' => 'select2']) ?> 833dd6b2bfcSGreg Roach <p class="small text-muted"> 834dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Quick family facts” configuration setting */ I18N::translate('The most common family facts and events are listed separately, so that they can be added more easily.') ?> 835dd6b2bfcSGreg Roach </p> 836dd6b2bfcSGreg Roach </div> 837dd6b2bfcSGreg Roach </div> 838dd6b2bfcSGreg Roach 839dd6b2bfcSGreg Roach <h3><?= I18N::translate('Facts for source records') ?></h3> 840dd6b2bfcSGreg Roach 841dd6b2bfcSGreg Roach <!-- SOUR_FACTS_ADD --> 842dd6b2bfcSGreg Roach <div class="row form-group"> 843dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="SOUR_FACTS_ADD"> 844dd6b2bfcSGreg Roach <?= I18N::translate('All source facts') ?> 845dd6b2bfcSGreg Roach </label> 846dd6b2bfcSGreg Roach <div class="col-sm-9"> 847dd6b2bfcSGreg Roach <?= Bootstrap4::multiSelect($all_sour_facts, explode(',', $tree->getPreference('SOUR_FACTS_ADD')), ['id' => 'SOUR_FACTS_ADD', 'name' => 'SOUR_FACTS_ADD[]', 'class' => 'select2']) ?> 848dd6b2bfcSGreg Roach <p class="small text-muted"> 849dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “All source facts” configuration setting */ I18N::translate('This is the list of GEDCOM facts that your users can add to sources. You can modify this list by removing or adding fact names, even custom ones, as necessary. Fact names that appear in this list must not also appear in the “Unique source facts” list.') ?> 850dd6b2bfcSGreg Roach </p> 851dd6b2bfcSGreg Roach </div> 852dd6b2bfcSGreg Roach </div> 853dd6b2bfcSGreg Roach 854dd6b2bfcSGreg Roach <!-- SOUR_FACTS_UNIQUE --> 855dd6b2bfcSGreg Roach <div class="row form-group"> 856dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="SOUR_FACTS_UNIQUE"> 857dd6b2bfcSGreg Roach <?= I18N::translate('Unique source facts') ?> 858dd6b2bfcSGreg Roach </label> 859dd6b2bfcSGreg Roach <div class="col-sm-9"> 860dd6b2bfcSGreg Roach <?= Bootstrap4::multiSelect($all_sour_facts, explode(',', $tree->getPreference('SOUR_FACTS_UNIQUE')), ['id' => 'SOUR_FACTS_UNIQUE', 'name' => 'SOUR_FACTS_UNIQUE[]', 'class' => 'select2']) ?> 861dd6b2bfcSGreg Roach <p class="small text-muted"> 862dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Unique source facts” configuration setting */ I18N::translate('This is the list of GEDCOM facts that your users can only add once to sources. For example, if TITL is in this list, users will not be able to add more than one TITL record to a source. Fact names that appear in this list must not also appear in the “All source facts” list.') ?> 863dd6b2bfcSGreg Roach </p> 864dd6b2bfcSGreg Roach </div> 865dd6b2bfcSGreg Roach </div> 866dd6b2bfcSGreg Roach 867dd6b2bfcSGreg Roach <!-- SOUR_FACTS_QUICK --> 868dd6b2bfcSGreg Roach <div class="row form-group"> 869dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="SOUR_FACTS_QUICK"> 870dd6b2bfcSGreg Roach <?= I18N::translate('Quick source facts') ?> 871dd6b2bfcSGreg Roach </label> 872dd6b2bfcSGreg Roach <div class="col-sm-9"> 873dd6b2bfcSGreg Roach <?= Bootstrap4::multiSelect($all_sour_facts, explode(',', $tree->getPreference('SOUR_FACTS_QUICK')), ['id' => 'SOUR_FACTS_QUICK', 'name' => 'SOUR_FACTS_QUICK[]', 'class' => 'select2']) ?> 874dd6b2bfcSGreg Roach <p class="small text-muted"> 875dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Quick source facts” configuration setting */ I18N::translate('The most common source facts are listed separately, so that they can be added more easily.') ?> 876dd6b2bfcSGreg Roach </p> 877dd6b2bfcSGreg Roach </div> 878dd6b2bfcSGreg Roach </div> 879dd6b2bfcSGreg Roach 880dd6b2bfcSGreg Roach <h3><?= I18N::translate('Facts for repository records') ?></h3> 881dd6b2bfcSGreg Roach 882dd6b2bfcSGreg Roach <!-- REPO_FACTS_ADD --> 883dd6b2bfcSGreg Roach <div class="row form-group"> 884dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="REPO_FACTS_ADD"> 885dd6b2bfcSGreg Roach <?= I18N::translate('All repository facts') ?> 886dd6b2bfcSGreg Roach </label> 887dd6b2bfcSGreg Roach <div class="col-sm-9"> 888dd6b2bfcSGreg Roach <?= Bootstrap4::multiSelect($all_repo_facts, explode(',', $tree->getPreference('REPO_FACTS_ADD')), ['id' => 'REPO_FACTS_ADD', 'name' => 'REPO_FACTS_ADD[]', 'class' => 'select2']) ?> 889dd6b2bfcSGreg Roach <p class="small text-muted"> 890dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “All repository facts” configuration setting */ I18N::translate('This is the list of GEDCOM facts that your users can add to repositories. You can modify this list by removing or adding fact names, even custom ones, as necessary. Fact names that appear in this list must not also appear in the “Unique repository facts” list.') ?> 891dd6b2bfcSGreg Roach </p> 892dd6b2bfcSGreg Roach </div> 893dd6b2bfcSGreg Roach </div> 894dd6b2bfcSGreg Roach 895dd6b2bfcSGreg Roach <!-- REPO_FACTS_UNIQUE --> 896dd6b2bfcSGreg Roach <div class="row form-group"> 897dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="REPO_FACTS_UNIQUE"> 898dd6b2bfcSGreg Roach <?= I18N::translate('Unique repository facts') ?> 899dd6b2bfcSGreg Roach </label> 900dd6b2bfcSGreg Roach <div class="col-sm-9"> 901dd6b2bfcSGreg Roach <?= Bootstrap4::multiSelect($all_repo_facts, explode(',', $tree->getPreference('REPO_FACTS_UNIQUE')), ['id' => 'REPO_FACTS_UNIQUE', 'name' => 'REPO_FACTS_UNIQUE[]', 'class' => 'select2']) ?> 902dd6b2bfcSGreg Roach <p class="small text-muted"> 903dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Unique repository facts” configuration setting */ I18N::translate('This is the list of GEDCOM facts that your users can only add once to repositories. For example, if NAME is in this list, users will not be able to add more than one NAME record to a repository. Fact names that appear in this list must not also appear in the “All repository facts” list.') ?> 904dd6b2bfcSGreg Roach </p> 905dd6b2bfcSGreg Roach </div> 906dd6b2bfcSGreg Roach </div> 907dd6b2bfcSGreg Roach 908dd6b2bfcSGreg Roach <!-- REPO_FACTS_QUICK --> 909dd6b2bfcSGreg Roach <div class="row form-group"> 910dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="REPO_FACTS_QUICK"> 911dd6b2bfcSGreg Roach <?= I18N::translate('Quick repository facts') ?> 912dd6b2bfcSGreg Roach </label> 913dd6b2bfcSGreg Roach <div class="col-sm-9"> 914dd6b2bfcSGreg Roach <?= Bootstrap4::multiSelect($all_repo_facts, explode(',', $tree->getPreference('REPO_FACTS_QUICK')), ['id' => 'REPO_FACTS_QUICK', 'name' => 'REPO_FACTS_QUICK[]', 'class' => 'select2']) ?> 915dd6b2bfcSGreg Roach <p class="small text-muted"> 916dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Quick repository facts” configuration setting */ I18N::translate('The most common repository facts are listed separately, so that they can be added more easily.') ?> 917dd6b2bfcSGreg Roach </p> 918dd6b2bfcSGreg Roach </div> 919dd6b2bfcSGreg Roach </div> 920dd6b2bfcSGreg Roach 921dd6b2bfcSGreg Roach <h3><?= I18N::translate('Advanced fact preferences') ?></h3> 922dd6b2bfcSGreg Roach 923dd6b2bfcSGreg Roach <!-- ADVANCED_NAME_FACTS --> 924dd6b2bfcSGreg Roach <div class="row form-group"> 925dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="ADVANCED_NAME_FACTS"> 926dd6b2bfcSGreg Roach <?= I18N::translate('Advanced name facts') ?> 927dd6b2bfcSGreg Roach </label> 928dd6b2bfcSGreg Roach <div class="col-sm-9"> 929dd6b2bfcSGreg Roach <?= Bootstrap4::multiSelect($all_name_facts, explode(',', $tree->getPreference('ADVANCED_NAME_FACTS')), ['id' => 'ADVANCED_NAME_FACTS', 'name' => 'ADVANCED_NAME_FACTS[]', 'class' => 'select2']) ?> 930dd6b2bfcSGreg Roach <p class="small text-muted"> 931dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Advanced name facts” configuration setting */ I18N::translate('This is a comma separated list of GEDCOM fact tags that will be shown on the add/edit name form. If you use non-Latin alphabets such as Hebrew, Greek, Cyrillic, or Arabic, you may want to add tags such as _HEB, ROMN, FONE, etc. to allow you to store names in several different alphabets.') ?> 932dd6b2bfcSGreg Roach </p> 933dd6b2bfcSGreg Roach </div> 934dd6b2bfcSGreg Roach </div> 935dd6b2bfcSGreg Roach 936dd6b2bfcSGreg Roach <!-- ADVANCED_PLAC_FACTS --> 937dd6b2bfcSGreg Roach <div class="row form-group"> 938dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="ADVANCED_PLAC_FACTS"> 939dd6b2bfcSGreg Roach <?= I18N::translate('Advanced place name facts') ?> 940dd6b2bfcSGreg Roach </label> 941dd6b2bfcSGreg Roach <div class="col-sm-9"> 942dd6b2bfcSGreg Roach <?= Bootstrap4::multiSelect($all_plac_facts, explode(',', $tree->getPreference('ADVANCED_PLAC_FACTS')), ['id' => 'ADVANCED_PLAC_FACTS', 'name' => 'ADVANCED_PLAC_FACTS[]', 'class' => 'select2']) ?> 943dd6b2bfcSGreg Roach <p class="small text-muted"> 944dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Advanced place name facts” configuration setting */ I18N::translate('This is a comma separated list of GEDCOM fact tags that will be shown when you add or edit place names. If you use non-Latin alphabets such as Hebrew, Greek, Cyrillic, or Arabic, you may want to add tags such as _HEB, ROMN, FONE, etc. to allow you to store place names in several different alphabets.') ?> 945dd6b2bfcSGreg Roach </p> 946dd6b2bfcSGreg Roach </div> 947dd6b2bfcSGreg Roach </div> 948dd6b2bfcSGreg Roach 949dd6b2bfcSGreg Roach <h3><?= I18N::translate('Other preferences') ?></h3> 950dd6b2bfcSGreg Roach 951dd6b2bfcSGreg Roach <!-- SURNAME_TRADITION --> 952dd6b2bfcSGreg Roach <fieldset class="form-group"> 953dd6b2bfcSGreg Roach <div class="row"> 954dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 955dd6b2bfcSGreg Roach <?= I18N::translate('Surname tradition') ?> 956dd6b2bfcSGreg Roach </legend> 957dd6b2bfcSGreg Roach <div class="col-sm-9"> 958dd6b2bfcSGreg Roach <?= Bootstrap4::radioButtons('SURNAME_TRADITION', $all_surname_traditions, $tree->getPreference('SURNAME_TRADITION'), false) ?> 959dd6b2bfcSGreg Roach <p class="small text-muted"> 960dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Surname tradition” configuration setting */ I18N::translate('When you add a new family member, a default surname can be provided. This surname will depend on the local tradition.') ?> 961dd6b2bfcSGreg Roach </p> 962dd6b2bfcSGreg Roach </div> 963dd6b2bfcSGreg Roach </div> 964dd6b2bfcSGreg Roach </fieldset> 965dd6b2bfcSGreg Roach 966dd6b2bfcSGreg Roach <!-- FULL_SOURCES --> 967dd6b2bfcSGreg Roach <fieldset class="form-group"> 968dd6b2bfcSGreg Roach <div class="row"> 969dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 970dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Use full source citations') ?> 971dd6b2bfcSGreg Roach </legend> 972dd6b2bfcSGreg Roach <div class="col-sm-9"> 973dd6b2bfcSGreg Roach <?= view('components/radios-no-yes', ['name' => 'FULL_SOURCES', 'value' => $tree->getPreference('FULL_SOURCES')]) ?> 974dd6b2bfcSGreg Roach <p class="small text-muted"> 975dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Use full source citations” configuration setting */ I18N::translate('Source citations can include fields to record the quality of the data (primary, secondary, etc.) and the date the event was recorded in the source. If you don’t use these fields, you can disable them when creating new source citations.') ?> 976dd6b2bfcSGreg Roach </p> 977dd6b2bfcSGreg Roach </div> 978dd6b2bfcSGreg Roach </div> 979dd6b2bfcSGreg Roach </fieldset> 980dd6b2bfcSGreg Roach 981dd6b2bfcSGreg Roach <!-- PREFER_LEVEL2_SOURCES --> 982dd6b2bfcSGreg Roach <fieldset class="form-group"> 983dd6b2bfcSGreg Roach <div class="row"> 984dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 985dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Source type') ?> 986dd6b2bfcSGreg Roach </legend> 987dd6b2bfcSGreg Roach <div class="col-sm-9"> 988dd6b2bfcSGreg Roach <?= Bootstrap4::radioButtons('PREFER_LEVEL2_SOURCES', $source_types, $tree->getPreference('PREFER_LEVEL2_SOURCES'), true) ?> 989dd6b2bfcSGreg Roach <p class="small text-muted"> 990dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Source type” configuration setting */ I18N::translate('When adding new close relatives, you can add source citations to the records (individual and family) or to the facts and events (birth, marriage, and death). This option controls whether records or facts will be selected by default.') ?> 991dd6b2bfcSGreg Roach </p> 992dd6b2bfcSGreg Roach </div> 993dd6b2bfcSGreg Roach </div> 994dd6b2bfcSGreg Roach </fieldset> 995dd6b2bfcSGreg Roach 996dd6b2bfcSGreg Roach <!-- NO_UPDATE_CHAN --> 997dd6b2bfcSGreg Roach <fieldset class="form-group"> 998dd6b2bfcSGreg Roach <div class="row"> 999dd6b2bfcSGreg Roach <legend class="col-form-label col-sm-3"> 1000dd6b2bfcSGreg Roach <?= /* I18N: A configuration setting */ I18N::translate('Keep the existing “last change” information') ?> 1001dd6b2bfcSGreg Roach </legend> 1002dd6b2bfcSGreg Roach <div class="col-sm-9"> 1003dd6b2bfcSGreg Roach <?= view('components/radios-no-yes', ['name' => 'NO_UPDATE_CHAN', 'value' => $tree->getPreference('NO_UPDATE_CHAN')]) ?> 1004dd6b2bfcSGreg Roach <p class="small text-muted"> 1005dd6b2bfcSGreg Roach <?= /* I18N: Help text for the “Keep the existing ‘last change’ information” configuration setting */ I18N::translate('When a record is edited, the user and timestamp are recorded. Sometimes it is desirable to keep the existing “last change” information, for example when making minor corrections to someone else’s data. This option controls whether this feature is selected by default.') ?> 1006dd6b2bfcSGreg Roach </p> 1007dd6b2bfcSGreg Roach </div> 1008dd6b2bfcSGreg Roach </div> 1009dd6b2bfcSGreg Roach </fieldset> 1010dd6b2bfcSGreg Roach 1011dd6b2bfcSGreg Roach <div class="row form-group"> 1012dd6b2bfcSGreg Roach <div class="offset-sm-3 col-sm-9"> 1013dd6b2bfcSGreg Roach <button type="submit" class="btn btn-primary"> 1014dd6b2bfcSGreg Roach <?= view('icons/save') ?> 1015dd6b2bfcSGreg Roach <?= I18N::translate('save') ?> 1016dd6b2bfcSGreg Roach </button> 1017aa6f03bbSGreg Roach <a class="btn btn-secondary" href="<?= e(route('admin-trees', ['ged' => $tree->name()])) ?>"> 1018dd6b2bfcSGreg Roach <?= view('icons/cancel') ?> 1019dd6b2bfcSGreg Roach <?= I18N::translate('cancel') ?> 1020dd6b2bfcSGreg Roach </a> 1021dd6b2bfcSGreg Roach <!-- Coming soon 1022dd6b2bfcSGreg Roach <div class="form-check"> 1023dd6b2bfcSGreg Roach <?php if ($tree_count > 1) : ?> 1024dd6b2bfcSGreg Roach <label> 1025dd6b2bfcSGreg Roach <input type="checkbox" name="all_trees"> 1026dd6b2bfcSGreg Roach <?= /* I18N: Label for checkbox */ I18N::translate('Apply these preferences to all family trees') ?> 1027dd6b2bfcSGreg Roach </label> 1028dd6b2bfcSGreg Roach <?php endif ?> 1029dd6b2bfcSGreg Roach </div> 1030dd6b2bfcSGreg Roach <div class="form-check"> 1031dd6b2bfcSGreg Roach <label> 1032dd6b2bfcSGreg Roach <input type="checkbox" name="new_trees"> 1033dd6b2bfcSGreg Roach <?= /* I18N: Label for checkbox */ I18N::translate('Apply these preferences to new family trees') ?> 1034dd6b2bfcSGreg Roach </label> 1035dd6b2bfcSGreg Roach </div> 1036dd6b2bfcSGreg Roach </div> 1037dd6b2bfcSGreg Roach --> 1038dd6b2bfcSGreg Roach </div> 1039dd6b2bfcSGreg Roach</form> 1040