moodle/admin/user.html
2001-11-22 06:23:56 +00:00

83 lines
2.2 KiB
HTML

<FORM METHOD="post" ENCTYPE="multipart/form-data" action="user.php">
<table cellpadding=9 cellspacing=0 >
<tr valign=top>
<td><P>First name:</td>
<td><input type="text" name="firstname" size=25 value="<?=$usernew->firstname ?>">
<? formerr($err["firstname"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>Last name:</td>
<td><input type="text" name="lastname" size=25 value="<?=$usernew->lastname ?>">
<? formerr($err["lastname"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>Username:</td>
<td><input type="text" name="username" size=25 value="<?=$usernew->username ?>">
<? formerr($err["username"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>New Password:</td>
<td><input type="text" name="password" size=25 value="<?=$usernew->password ?>">
<? formerr($err["password"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>Email:</td>
<td><input type="text" name="email" size=25 value="<?=$usernew->email ?>">
<? formerr($err["email"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>ICQ Number:</td>
<td><input type="text" name="icq" size=25 value="<?=$usernew->icq ?>">
<? formerr($err["icq"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>Phone Number 1:</td>
<td><input type="text" name="phone1" size=25 value="<?=$usernew->phone1 ?>">
<? formerr($err["phone1"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>Phone Number 2:</td>
<td><input type="text" name="phone2" size=25 value="<?=$usernew->phone2 ?>">
<? formerr($err["phone2"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>Address:</td>
<td><input type="text" name="address" size=25 value="<?=$usernew->address ?>">
<? formerr($err["address"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>Web Address:</td>
<td><input type="text" name="url" size=25 value="<?=$usernew->url ?>">
<? formerr($err["url"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>Description:</td>
<td><TEXTAREA NAME=description COLS=50 ROWS=10 WRAP=virtual><?=$usernew->description ?></TEXTAREA>
</td>
</tr>
<tr valign=top>
<td><P>New picture:</td>
<td>
<INPUT type="hidden" name="MAX_FILE_SIZE" value="4000000">
<input type="file" name="imagefile">
( .jpg or .png )
<? formerr($err["firstname"]) ?>
</td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="Update this user"></td>
</TABLE>
<INPUT type="hidden" name="id" value="<?=$usernew->id ?>">
</FORM>