Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removing optional items ... eventually will remove city and country a…
…s well.

This stuff will all be set via the user profile, and will be customisable
by the admin or teacher as well.
  • Loading branch information
moodler committed Jun 12, 2003
1 parent c3c6b36 commit 3fbd5dc
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions login/signup_form.html
Expand Up @@ -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 = "";
}
Expand Down Expand Up @@ -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) ?>" />
Expand All @@ -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>

0 comments on commit 3fbd5dc

Please sign in to comment.