1<?php use Fisharebest\Webtrees\I18N; ?> 2 3<form method="post" autocomplete="off"> 4 <input name="lang" type="hidden" value="<?= e($lang) ?>"> 5 <input name="dbtype" type="hidden" value="<?= e($dbtype) ?>"> 6 <input name="dbhost" type="hidden" value="<?= e($dbhost) ?>"> 7 <input name="dbport" type="hidden" value="<?= e($dbport) ?>"> 8 <input name="dbuser" type="hidden" value="<?= e($dbuser) ?>"> 9 <input name="dbpass" type="hidden" value="<?= e($dbpass) ?>"> 10 <input name="dbname" type="hidden" value="<?= e($dbname) ?>"> 11 <input name="tblpfx" type="hidden" value="<?= e($tblpfx) ?>"> 12 13 <h2> 14 <?= I18N::translate('Administrator account') ?> 15 </h2> 16 17 <?php foreach ($errors as $error) : ?> 18 <p class="alert alert-danger"><?= $error ?></p> 19 <?php endforeach ?> 20 21 <?php foreach ($warnings as $warning) : ?> 22 <p class="alert alert-warning"><?= $warning ?></p> 23 <?php endforeach ?> 24 25 <p> 26 <?= I18N::translate('You need to set up an administrator account. This account can control all aspects of this webtrees installation. Please choose a strong password.') ?> 27 </p> 28 29 <div class="row form-group"> 30 <label class="col-form-label col-sm-3" for="wtname"> 31 <?= I18N::translate('Your name') ?> 32 </label> 33 <div class="col-sm-9"> 34 <input class="form-control" dir="ltr" id="wtname" name="wtname" type="text" value="<?= e($wtname) ?>" autocomplete="name"> 35 <p class="small text-muted"> 36 <?= I18N::translate('This is your real name, as you would like it displayed on screen.') ?> 37 </p> 38 </div> 39 </div> 40 41 <div class="row form-group"> 42 <label class="col-form-label col-sm-3" for="wtuser"> 43 <?= I18N::translate('Username') ?> 44 </label> 45 <div class="col-sm-9"> 46 <input class="form-control" dir="ltr" id="wtuser" name="wtuser" type="text" value="<?= e($wtuser) ?>" autocomplete="username"> 47 <p class="small text-muted"> 48 <?= I18N::translate('You will use this to sign in to webtrees.') ?> 49 </p> 50 </div> 51 </div> 52 53 <div class="row form-group"> 54 <label class="col-form-label col-sm-3" for="wtpass"> 55 <?= I18N::translate('Password') ?> 56 </label> 57 <div class="col-sm-9"> 58 <input class="form-control" dir="ltr" id="wtpass" name="wtpass" pattern=".{6,}" type="password" value="<?= e($wtpass) ?>" autocomplete="current-password"> 59 <p class="small text-muted"> 60 <?= I18N::translate('This must be at least six characters long. It is case-sensitive.') ?> 61 </p> 62 </div> 63 </div> 64 65 <div class="row form-group"> 66 <label class="col-form-label col-sm-3" for="wtemail"> 67 <?= I18N::translate('Email address') ?> 68 </label> 69 <div class="col-sm-9"> 70 <input class="form-control" dir="ltr" id="wtemail" name="wtemail" type="email" value="<?= e($wtemail) ?>" autocomplete="email"> 71 <p class="small text-muted"> 72 <?= I18N::translate('This email address will be used to send password reminders, website notifications, and messages from other family members who are registered on the website.') ?> 73 </p> 74 </div> 75 </div> 76 77 <hr> 78 79 <div class="d-flex justify-content-between"> 80 <button class="btn btn-primary" name="step" type="submit" value="6"> 81 <?= I18N::translate('next') ?> 82 </button> 83 84 <button class="btn btn-secondary" name="step" type="submit" value="4"> 85 <?= I18N::translate('previous') ?> 86 </button> 87 </div> 88</form> 89