xref: /webtrees/resources/views/modals/restriction-fields.phtml (revision 10e0649788c8d7d4974d81c048ca2b225df8f22e)
1d70512abSGreg Roach<?php
2d70512abSGreg Roach
3*10e06497SGreg Roachdeclare(strict_types=1);
4*10e06497SGreg 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>
16dd6b2bfcSGreg Roach            <option value="none">
17dd6b2bfcSGreg Roach                <?= I18N::translate('Show to visitors') ?>
18dd6b2bfcSGreg Roach            </option>
19dd6b2bfcSGreg Roach            <option value="privacy">
20dd6b2bfcSGreg Roach                <?= I18N::translate('Show to members') ?>
21dd6b2bfcSGreg Roach            </option>
22dd6b2bfcSGreg Roach            <option value="confidential">
23dd6b2bfcSGreg Roach                <?= I18N::translate('Show to managers') ?>
24dd6b2bfcSGreg Roach            </option>
25dd6b2bfcSGreg 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