mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Removing optional items ... eventually will remove city and country as well.
This stuff will all be set via the user profile, and will be customisable by the admin or teacher as well.
This commit is contained in:
parent
c3c6b3600f
commit
3fbd5dcc5f
@ -14,12 +14,6 @@
|
||||
if (empty($user->lastname)) {
|
||||
$user->lastname = "";
|
||||
}
|
||||
if (empty($user->idnumber)) {
|
||||
$user->idnumber = "";
|
||||
}
|
||||
if (empty($user->phone)) {
|
||||
$user->phone = "";
|
||||
}
|
||||
if (empty($user->city)) {
|
||||
$user->city = "";
|
||||
}
|
||||
@ -71,20 +65,6 @@
|
||||
<?php if (!empty($err->lastname)) { formerr($err->lastname);} ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td><p><?php print_string("idnumber") ?>:</p></td>
|
||||
<td><input type="text" name="idnumber" size="25" value="<?php p($user->idnumber) ?>" />
|
||||
(<?php print_string("optional") ?>)
|
||||
<?php if (!empty($err->idnumber)) { formerr($err->idnumber);} ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td><p><?php print_string("phone") ?>:</p></td>
|
||||
<td><input type="text" name="phone" size="25" value="<?php p($user->phone) ?>" />
|
||||
(<?php print_string("optional") ?>)
|
||||
<?php if (!empty($err->phone)) { formerr($err->phone);} ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td><p><?php print_string("city") ?>:</p></td>
|
||||
<td><input type="text" name="city" size="25" value="<?php p($user->city) ?>" />
|
||||
@ -100,8 +80,8 @@
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><input type="submit" value="<?php print_string("createaccount") ?>" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
</td></tr></table>
|
||||
|
Loading…
x
Reference in New Issue
Block a user