xref: /webtrees/resources/views/modals/restriction-fields.phtml (revision d70512ab02636ee884ef6d7907223ed02c754ff5)
1*d70512abSGreg Roach<?php
2*d70512abSGreg Roach
3*d70512abSGreg Roachuse Fisharebest\Webtrees\I18N;
4*d70512abSGreg Roach
5*d70512abSGreg Roach?>
6dd6b2bfcSGreg Roach
7dd6b2bfcSGreg Roach<div class="form-group row">
8dd6b2bfcSGreg Roach    <label class="col-form-label col-sm-2" for="privacy-restriction">
9dd6b2bfcSGreg Roach        <?= /* I18N: a restrction on viewing data */ I18N::translate('Privacy restriction') ?>
10dd6b2bfcSGreg Roach    </label>
11dd6b2bfcSGreg Roach    <div class="col-sm-4">
12dd6b2bfcSGreg Roach        <select class="form-control" id="privacy-restriction" name="privacy-restriction">
13dd6b2bfcSGreg Roach            <option value=""></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        </select>
24dd6b2bfcSGreg Roach    </div>
25dd6b2bfcSGreg Roach    <label class="col-form-label col-sm-2" for="edit-restriction">
26dd6b2bfcSGreg Roach        <?= /* I18N: A restriction on editing data */ I18N::translate('Editing restriction') ?>
27dd6b2bfcSGreg Roach    </label>
28dd6b2bfcSGreg Roach    <div class="col-sm-4">
29dd6b2bfcSGreg Roach        <select class="form-control" id="edit-restriction" name="edit-restriction">
30dd6b2bfcSGreg Roach            <option value=""></option>
31dd6b2bfcSGreg Roach            <option value="locked">
3239c990acSGreg Roach                <?= I18N::translate('Only managers can edit') ?>
33dd6b2bfcSGreg Roach            </option>
34dd6b2bfcSGreg Roach        </select>
35dd6b2bfcSGreg Roach    </div>
36dd6b2bfcSGreg Roach</div>
37