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