blob: 869d1b93364027b4768967a5ed878000c56a200d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
<?php use Fisharebest\Webtrees\FontAwesome; ?>
<?php use Fisharebest\Webtrees\I18N; ?>
<h2 class="wt-page-title"><?= $title ?></h2>
<form class="wt-page-options wt-page-options-clippings-download hidden-print">
<input type="hidden" name="route" value="module">
<input type="hidden" name="module" value="clippings">
<input type="hidden" name="action" value="Download">
<input type="hidden" name="ged" value="<?= e($tree->getName()) ?>">
<?php if ($is_manager): ?>
<div class="row form-group">
<div class="col-sm-3 col-form-label wt-page-options-label">
<?= I18N::translate('Apply privacy settings') ?>
</div>
<div class="col-sm-9 wt-page-options-value">
<input type="radio" name="privatize_export" value="none" checked>
<?= I18N::translate('None') ?>
<br>
<input type="radio" name="privatize_export" value="gedadmin">
<?= I18N::translate('Manager') ?>
<br>
<input type="radio" name="privatize_export" value="user">
<?= I18N::translate('Member') ?>
<br>
<input type="radio" name="privatize_export" value="visitor">
<?= I18N::translate('Visitor') ?>
</div>
</div>
<?php elseif ($is_member): ?>
<div class="row form-group">
<div class="col-sm-3 col-form-label wt-page-options-label">
<?= I18N::translate('Apply privacy settings') ?>
</div>
<div class="col-sm-9 wt-page-options-value">
<input type="radio" name="privatize_export" value="user">
<?= I18N::translate('Member') ?>
<br>
<input type="radio" name="privatize_export" value="visitor">
<?= I18N::translate('Visitor') ?>
</div>
</div>
<?php endif ?>
<div class="row form-group">
<label class="col-sm-3 col-form-label wt-page-options-label" for="convert">
<?= I18N::translate('Convert from UTF-8 to ISO-8859-1') ?>
</label>
<div class="col-sm-9 wt-page-options-value">
<input type="checkbox" name="convert" id="convert">
</div>
</div>
<div class="row form-group">
<div class="col-sm-3 col-form-label wt-page-options-label">
</div>
<div class="col-sm-9 wt-page-options-value">
<button type="submit" class="btn btn-primary">
<?= FontAwesome::decorativeIcon('download') ?>
<?= I18N::translate('download') ?>
</button>
<a href="<?= e(route('module', ['module' => 'clippings', 'action' => 'Show', 'ged' => $tree->getName()])) ?>" class="btn btn-secondary">
<?= FontAwesome::decorativeIcon('cancel') ?>
<?= I18N::translate('cancel') ?>
</a>
</div>
</div>
</form>
|