1<?php 2 3use Fisharebest\Webtrees\I18N; 4 5?> 6 7<form method="post" autocomplete="off"> 8 <input name="dbtype" type="hidden" value="<?= e($dbtype) ?>"> 9 <input name="dbhost" type="hidden" value="<?= e($dbhost) ?>"> 10 <input name="dbport" type="hidden" value="<?= e($dbport) ?>"> 11 <input name="dbuser" type="hidden" value="<?= e($dbuser) ?>"> 12 <input name="dbpass" type="hidden" value="<?= e($dbpass) ?>"> 13 <input name="dbname" type="hidden" value="<?= e($dbname) ?>"> 14 <input name="tblpfx" type="hidden" value="<?= e($tblpfx) ?>"> 15 <input name="wtname" type="hidden" value="<?= e($wtname) ?>"> 16 <input name="wtuser" type="hidden" value="<?= e($wtuser) ?>"> 17 <input name="wtpass" type="hidden" value="<?= e($wtpass) ?>"> 18 <input name="wtemail" type="hidden" value="<?= e($wtemail) ?>"> 19 20 <div class="row form-group"> 21 <label class="col-form-label col-sm-3" for="lang"> 22 <?= I18N::translate('Language') ?> 23 </label> 24 <div class="col-sm-9"> 25 <select class="form-control" id="lang" name="lang"> 26 <?php foreach ($locales as $locale) : ?> 27 <option value="<?= $locale->languageTag() ?>" <?= $lang === $locale->languageTag() ? 'selected' : '' ?>> 28 <?= $locale->endonym() ?> 29 </option> 30 <?php endforeach ?> 31 </select> 32 </div> 33 </div> 34 35 <hr> 36 37 <div> 38 <button class="btn btn-primary" name="step" type="submit" value="2"> 39 <?= I18N::translate('next') ?> 40 </button> 41 </div> 42</form> 43