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

61 lines
1.7 KiB
HTML

<P ALIGN=center>Items marked <B>private</B> will not be made visible to other students</P>
<FORM METHOD="post" ENCTYPE="multipart/form-data" action="edit.php">
<table cellpadding=9 cellspacing=0 >
<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["imagefile"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>Email:</td>
<td><input type="text" name="email" size=25 value="<?=$user->email ?>">
<? formerr($err["email"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>ICQ Number:</td>
<td><input type="text" name="icq" size=25 value="<?=$user->icq ?>">
<? formerr($err["icq"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>Phone Number 1:</td>
<td><input type="text" name="phone1" size=25 value="<?=$user->phone1 ?>"> (private)
<? formerr($err["phone1"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>Phone Number 2:</td>
<td><input type="text" name="phone2" size=25 value="<?=$user->phone2 ?>"> (private)
<? formerr($err["phone2"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>Address:</td>
<td><input type="text" name="address" size=25 value="<?=$user->address ?>"> (private)
<? formerr($err["address"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>Web Address:</td>
<td><input type="text" name="url" size=25 value="<?=$user->url ?>">
<? formerr($err["url"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>Description:</td>
<td><TEXTAREA NAME=description COLS=50 ROWS=10 WRAP=virtual><?=$user->description ?></TEXTAREA>
</td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="Update my profile"></td>
</TABLE>
<INPUT type="hidden" name="course" value="<?=$course->id ?>">
<INPUT type="hidden" name="id" value="<?=$user->id ?>">
</FORM>