xref: /webtrees/resources/views/modals/restriction-fields.phtml (revision fc34a24d90864b5bbc77967b910fd8bc99a89504)
1d70512abSGreg Roach<?php
2d70512abSGreg Roach
3d70512abSGreg Roachuse Fisharebest\Webtrees\I18N;
4d70512abSGreg Roach
5d70512abSGreg Roach?>
6dd6b2bfcSGreg Roach
7315eb316SGreg Roach<div class="row form-group">
8*fc34a24dSGreg Roach    <label class="col-form-label col-sm-2" for="restriction">
9*fc34a24dSGreg Roach        <?= /* I18N: a restriction on viewing data */ I18N::translate('Restriction') ?>
10dd6b2bfcSGreg Roach    </label>
11*fc34a24dSGreg Roach    <div class="col-sm-10">
12*fc34a24dSGreg Roach        <select class="form-control" id="restriction" name="restriction">
13027478c2SGreg Roach            <option value="">&nbsp;</option>
14dd6b2bfcSGreg Roach            <option value="none">
15dd6b2bfcSGreg Roach                <?= I18N::translate('Show to visitors') ?>
16dd6b2bfcSGreg Roach            </option>
17dd6b2bfcSGreg Roach            <option value="privacy">
18dd6b2bfcSGreg Roach                <?= I18N::translate('Show to members') ?>
19dd6b2bfcSGreg Roach            </option>
20dd6b2bfcSGreg Roach            <option value="confidential">
21dd6b2bfcSGreg Roach                <?= I18N::translate('Show to managers') ?>
22dd6b2bfcSGreg Roach            </option>
23dd6b2bfcSGreg Roach            <option value="locked">
2439c990acSGreg Roach                <?= I18N::translate('Only managers can edit') ?>
25dd6b2bfcSGreg Roach            </option>
26dd6b2bfcSGreg Roach        </select>
27dd6b2bfcSGreg Roach    </div>
28dd6b2bfcSGreg Roach</div>
29