add access_name to form

box-drawing
Ondřej Hruška 7 years ago
parent 172a890be2
commit 4c11d7a619
  1. 1
      _debug_replacements.php
  2. 1
      lang/en.php
  3. 5
      pages/cfg_system.php

@ -92,4 +92,5 @@ return [
'theme' => 1,
'pwlock' => 1,
'access_name' => 'espterm',
];

@ -185,6 +185,7 @@ return [
'system.new_access_pw' => 'New password',
'system.new_access_pw2' => 'New pass., repeat',
'system.admin_pw' => 'Admin password',
'system.access_name' => 'Username',
'system.change_adminpw' => 'Change Admin Password',
'system.explain_adminpw' =>

@ -47,6 +47,11 @@ $NOFILL = 'readonly onfocus="this.removeAttribute(\'readonly\')" style="cursor:t
</select>
</div>
<div class="Row">
<label for="access_name"><?= tr('system.access_name') ?></label>
<input type="text" name="access_name" id="access_name" value="%access_name%">
</div>
<div class="Row">
<label for="access_pw"><?= tr('system.new_access_pw') ?></label>
<input type="password" name="access_pw" id="access_pw" <?=$NOFILL?>>

Loading…
Cancel
Save