xref: /webtrees/resources/views/modals/restriction-fields.phtml (revision e3132a19b5bc5679ad08fb96ad3f19dbb09f5849)
1d70512abSGreg Roach<?php
2d70512abSGreg Roach
310e06497SGreg Roachdeclare(strict_types=1);
410e06497SGreg Roach
5d70512abSGreg Roachuse Fisharebest\Webtrees\I18N;
6d70512abSGreg Roach
7d70512abSGreg Roach?>
8dd6b2bfcSGreg Roach
99e3c2cf9SGreg Roach<div class="row mb-3">
10fc34a24dSGreg Roach    <label class="col-form-label col-sm-2" for="restriction">
11fc34a24dSGreg Roach        <?= /* I18N: a restriction on viewing data */ I18N::translate('Restriction') ?>
12dd6b2bfcSGreg Roach    </label>
13fc34a24dSGreg Roach    <div class="col-sm-10">
140f855284Smiqrogroove        <select class="form-select" id="restriction" name="restriction">
15027478c2SGreg Roach            <option value="">&nbsp;</option>
16*e3132a19SGreg Roach            <option value="NONE">
17dd6b2bfcSGreg Roach                <?= I18N::translate('Show to visitors') ?>
18dd6b2bfcSGreg Roach            </option>
19*e3132a19SGreg Roach            <option value="PRIVACY">
20dd6b2bfcSGreg Roach                <?= I18N::translate('Show to members') ?>
21dd6b2bfcSGreg Roach            </option>
22*e3132a19SGreg Roach            <option value="CONFIDENTIAL">
23dd6b2bfcSGreg Roach                <?= I18N::translate('Show to managers') ?>
24dd6b2bfcSGreg Roach            </option>
25*e3132a19SGreg Roach            <option value="LOCKED">
2639c990acSGreg Roach                <?= I18N::translate('Only managers can edit') ?>
27dd6b2bfcSGreg Roach            </option>
28dd6b2bfcSGreg Roach        </select>
29dd6b2bfcSGreg Roach    </div>
30dd6b2bfcSGreg Roach</div>
31