Disable input editing of username and domain, not just show a message that it cannot be edited
This commit is contained in:
parent
9ab17afc0d
commit
defef4dfd2
1 changed files with 2 additions and 2 deletions
|
@ -169,12 +169,12 @@
|
|||
|
||||
<tr>
|
||||
<td>
|
||||
<input name="username" class="textinput" type="text" autofocus value="<?php if(isset($username)){echo strtolower(strip_tags($username));} ?>" placeholder="Username" required="required"/>
|
||||
<input name="username" class="textinput" type="text" autofocus <?php echo ($mode === "edit") ? ' disabled' : '';?> value="<?php if(isset($username)){echo strtolower(strip_tags($username));} ?>" placeholder="Username" required="required"/>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
@
|
||||
<select name="domain">
|
||||
<select name="domain" <?php echo ($mode === "edit") ? ' disabled' : '';?> >
|
||||
<?php
|
||||
//Load user data from DB
|
||||
$sql = "SELECT `".DBC_DOMAINS_DOMAIN."` FROM `".DBT_DOMAINS."`;";
|
||||
|
|
Loading…
Add table
Reference in a new issue