Admins can edit the instituion and department fields now.

Long-standing oversight!
This commit is contained in:
moodler
2004-02-04 14:24:29 +00:00
parent 48adbab6bf
commit 9ae8a7a94b
+12
View File
@@ -215,6 +215,18 @@ if (isadmin()) {
<?php if (isset($err["idnumber"])) formerr($err["idnumber"]); ?>
</td>
</tr>
<?php if (isadmin()) { ?>
<tr valign=top>
<td><p><?php print_string("institution") ?>:</td>
<td><input type="text" name="institution" size=25 value="<?php p($user->institution) ?>"> <?php p($teacheronly) ?>
</td>
</tr>
<tr valign=top>
<td><p><?php print_string("department") ?>:</td>
<td><input type="text" name="department" size=25 value="<?php p($user->department) ?>"> <?php p($teacheronly) ?>
</td>
</tr>
<?php } ?>
<tr valign=top>
<td><p><?php print_string("phone") ?> 1:</td>
<td><input type="text" name="phone1" size=25 value="<?php p($user->phone1) ?>"> <?php p($teacheronly) ?>