summaryrefslogtreecommitdiff
path: root/admin_trees_config.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin_trees_config.php')
-rw-r--r--admin_trees_config.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/admin_trees_config.php b/admin_trees_config.php
index aa85aed64f..01658ce413 100644
--- a/admin_trees_config.php
+++ b/admin_trees_config.php
@@ -367,7 +367,7 @@ echo Bootstrap4::breadcrumbs([
maxlength="5"
name="MAX_ALIVE_AGE"
type="text"
- value="<?= Filter::escapeHtml($WT_TREE->getPreference('MAX_ALIVE_AGE')) ?>"
+ value="<?= Html::escape($WT_TREE->getPreference('MAX_ALIVE_AGE')) ?>"
>
<p class="small text-muted">
<?= /* I18N: Help text for the “Age at which to assume an individual is dead” configuration setting */ I18N::translate('If this individual has any events other than death, burial, or cremation more recent than this number of years, they are considered to be “alive”. Children’s birth dates are considered to be such events for this purpose.') ?>
@@ -558,7 +558,7 @@ echo Bootstrap4::breadcrumbs([
name="title"
required
type="text"
- value="<?= Filter::escapeHtml($WT_TREE->getPreference('title')) ?>"
+ value="<?= Html::escape($WT_TREE->getPreference('title')) ?>"
>
</div>
</div>
@@ -803,7 +803,7 @@ echo Bootstrap4::breadcrumbs([
name="WEBTREES_EMAIL"
required
type="email"
- value="<?= Filter::escapeHtml($WT_TREE->getPreference('WEBTREES_EMAIL')) ?>"
+ value="<?= Html::escape($WT_TREE->getPreference('WEBTREES_EMAIL')) ?>"
>
<p class="small text-muted">
<?= /* 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>.') ?>
@@ -822,7 +822,7 @@ echo Bootstrap4::breadcrumbs([
<?php foreach (User::all() as $user): ?>
<?php if (Auth::isMember($WT_TREE, $user)): ?>
<option value="<?= $user->getUserId() ?>" <?= $WT_TREE->getPreference('CONTACT_USER_ID') === $user->getUserId() ? 'selected' : '' ?>>
- <?= $user->getRealNameHtml() ?> - <?= Filter::escapeHtml($user->getUserName()) ?>
+ <?= $user->getRealNameHtml() ?> - <?= Html::escape($user->getUserName()) ?>
</option>
<?php endif ?>
<?php endforeach ?>
@@ -844,7 +844,7 @@ echo Bootstrap4::breadcrumbs([
<?php foreach (User::all() as $user): ?>
<?php if (Auth::isMember($WT_TREE, $user)): ?>
<option value="<?= $user->getUserId() ?>" <?= $WT_TREE->getPreference('WEBMASTER_USER_ID') === $user->getUserId() ? 'selected' : '' ?>>
- <?= $user->getRealNameHtml() ?> - <?= Filter::escapeHtml($user->getUserName()) ?>
+ <?= $user->getRealNameHtml() ?> - <?= Html::escape($user->getUserName()) ?>
</option>
<?php endif ?>
<?php endforeach ?>
@@ -869,7 +869,7 @@ echo Bootstrap4::breadcrumbs([
maxlength="255"
name="META_TITLE"
type="text"
- value="<?= Filter::escapeHtml($WT_TREE->getPreference('META_TITLE')) ?>"
+ value="<?= Html::escape($WT_TREE->getPreference('META_TITLE')) ?>"
>
<p class="small text-muted">
<?= /* 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.') ?>
@@ -889,7 +889,7 @@ echo Bootstrap4::breadcrumbs([
maxlength="255"
name="META_DESCRIPTION"
type="text"
- value="<?= Filter::escapeHtml($WT_TREE->getPreference('META_DESCRIPTION')) ?>"
+ value="<?= Html::escape($WT_TREE->getPreference('META_DESCRIPTION')) ?>"
>
<p class="small text-muted">
<?= /* 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.') ?>
@@ -945,7 +945,7 @@ echo Bootstrap4::breadcrumbs([
maxlength="255"
name="MEDIA_DIRECTORY"
type="text"
- value="<?= Filter::escapeHtml($WT_TREE->getPreference('MEDIA_DIRECTORY')) ?>"
+ value="<?= Html::escape($WT_TREE->getPreference('MEDIA_DIRECTORY')) ?>"
>
</div>
<p class="small text-muted">
@@ -1075,7 +1075,7 @@ echo Bootstrap4::breadcrumbs([
name="SUBLIST_TRIGGER_I"
required
type="text"
- value="<?= Filter::escapeHtml($WT_TREE->getPreference('SUBLIST_TRIGGER_I')) ?>"
+ value="<?= Html::escape($WT_TREE->getPreference('SUBLIST_TRIGGER_I')) ?>"
>
<p class="small text-muted">
<?= /* 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.') ?>
@@ -1142,7 +1142,7 @@ echo Bootstrap4::breadcrumbs([
name="DEFAULT_PEDIGREE_GENERATIONS"
required
type="text"
- value="<?= Filter::escapeHtml($WT_TREE->getPreference('DEFAULT_PEDIGREE_GENERATIONS')) ?>"
+ value="<?= Html::escape($WT_TREE->getPreference('DEFAULT_PEDIGREE_GENERATIONS')) ?>"
>
<p class="small text-muted">
<?= /* I18N: Help text for the “Default pedigree generations” configuration setting */ I18N::translate('Set the default number of generations to display on descendancy and pedigree charts.') ?>
@@ -1162,7 +1162,7 @@ echo Bootstrap4::breadcrumbs([
maxlength="5"
name="MAX_PEDIGREE_GENERATIONS"
type="text"
- value="<?= Filter::escapeHtml($WT_TREE->getPreference('MAX_PEDIGREE_GENERATIONS')) ?>"
+ value="<?= Html::escape($WT_TREE->getPreference('MAX_PEDIGREE_GENERATIONS')) ?>"
>
<p class="small text-muted">
<?= /* I18N: Help text for the “Maximum pedigree generations” configuration setting */ I18N::translate('Set the maximum number of generations to display on pedigree charts.') ?>
@@ -1182,7 +1182,7 @@ echo Bootstrap4::breadcrumbs([
maxlength="5"
name="MAX_DESCENDANCY_GENERATIONS"
type="text"
- value="<?= Filter::escapeHtml($WT_TREE->getPreference('MAX_DESCENDANCY_GENERATIONS')) ?>"
+ value="<?= Html::escape($WT_TREE->getPreference('MAX_DESCENDANCY_GENERATIONS')) ?>"
>
<p class="small text-muted">
<?= /* I18N: Help text for the “Maximum descendancy generations” configuration setting */ I18N::translate('Set the maximum number of generations to display on descendancy charts.') ?>
@@ -1249,7 +1249,7 @@ echo Bootstrap4::breadcrumbs([
maxlength="255"
name="CHART_BOX_TAGS"
type="text"
- value="<?= Filter::escapeHtml($WT_TREE->getPreference('CHART_BOX_TAGS')) ?>"
+ value="<?= Html::escape($WT_TREE->getPreference('CHART_BOX_TAGS')) ?>"
>
<div class="input-group-btn">
<a class="btn btn-default" onclick="return findFact('CHART_BOX_TAGS', 'INDI');">
@@ -1450,7 +1450,7 @@ echo Bootstrap4::breadcrumbs([
maxlength="255"
name="GEONAMES_ACCOUNT"
type="text"
- value="<?= Filter::escapeHtml($WT_TREE->getPreference('GEONAMES_ACCOUNT')) ?>"
+ value="<?= Html::escape($WT_TREE->getPreference('GEONAMES_ACCOUNT')) ?>"
>
<p class="small text-muted">
<?= /* 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.') ?>