diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2018-10-12 11:04:12 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2018-10-12 11:15:32 +0100 |
| commit | dd6b2bfcc550270bb6d6778e11576148f71e4330 (patch) | |
| tree | 9462a8eabe1103a0e79c18c521b6b4858a3fb2dc /resources/views/modals/restriction-fields.phtml | |
| parent | afb591d7c8a3029b0ca03e6d185cacca3c22eb5f (diff) | |
| download | webtrees-dd6b2bfcc550270bb6d6778e11576148f71e4330.tar.gz webtrees-dd6b2bfcc550270bb6d6778e11576148f71e4330.tar.bz2 webtrees-dd6b2bfcc550270bb6d6778e11576148f71e4330.zip | |
Use .phtml extension for template files
Diffstat (limited to 'resources/views/modals/restriction-fields.phtml')
| -rw-r--r-- | resources/views/modals/restriction-fields.phtml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/resources/views/modals/restriction-fields.phtml b/resources/views/modals/restriction-fields.phtml new file mode 100644 index 0000000000..f1cfc0b1bf --- /dev/null +++ b/resources/views/modals/restriction-fields.phtml @@ -0,0 +1,32 @@ +<?php use Fisharebest\Webtrees\I18N; ?> + +<div class="form-group row"> + <label class="col-form-label col-sm-2" for="privacy-restriction"> + <?= /* I18N: a restrction on viewing data */ I18N::translate('Privacy restriction') ?> + </label> + <div class="col-sm-4"> + <select class="form-control" id="privacy-restriction" name="privacy-restriction"> + <option value=""></option> + <option value="none"> + <?= I18N::translate('Show to visitors') ?> + </option> + <option value="privacy"> + <?= I18N::translate('Show to members') ?> + </option> + <option value="confidential"> + <?= I18N::translate('Show to managers') ?> + </option> + </select> + </div> + <label class="col-form-label col-sm-2" for="edit-restriction"> + <?= /* I18N: A restriction on editing data */ I18N::translate('Editing restriction') ?> + </label> + <div class="col-sm-4"> + <select class="form-control" id="edit-restriction" name="edit-restriction"> + <option value=""></option> + <option value="locked"> + <?= I18N::translate('Only managers can edit'); ?> + </option> + </select> + </div> +</div> |
