[LON-CAPA-cvs] cvs: loncom /interface londropadd.pm
raeburn
lon-capa-cvs-allow@mail.lon-capa.org
Mon, 04 Jun 2007 11:36:46 -0000
raeburn Mon Jun 4 07:36:46 2007 EDT
Modified files:
/loncom/interface londropadd.pm
Log:
Putting back the values from the enrollee's environment in the form fields for an existing user (they were deleted in rev 1.160).
Index: loncom/interface/londropadd.pm
diff -u loncom/interface/londropadd.pm:1.160 loncom/interface/londropadd.pm:1.161
--- loncom/interface/londropadd.pm:1.160 Mon May 21 19:38:40 2007
+++ loncom/interface/londropadd.pm Mon Jun 4 07:36:46 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to drop and add students in courses
#
-# $Id: londropadd.pm,v 1.160 2007/05/21 23:38:40 albertel Exp $
+# $Id: londropadd.pm,v 1.161 2007/06/04 11:36:46 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1064,15 +1064,15 @@
<input type="hidden" name="lcserver" value="default" />
<table>
<tr><td class="LC_dropadd_labeltext"><label for="cfirst">$lt{'fn'}</label>:</td>
- <td><input type="text" name="cfirst" size="15" /></td></tr>
+ <td><input type="text" name="cfirst" value="$uenv{'firstname'}" size="15" /></td></tr>
<tr><td class="LC_dropadd_labeltext"><label for="cmiddle">$lt{'mn'}</label>:</td>
- <td><input type="text" name="cmiddle" size="15" /></td></tr>
+ <td><input type="text" name="cmiddle" value="$uenv{'middlename'}" size="15" /></td></tr>
<tr><td class="LC_dropadd_labeltext"><label for="clast">$lt{'ln'}</label>:</td>
- <td><input type="text" name="clast" size="15" /></td></tr>
+ <td><input type="text" name="clast" value="$uenv{'lastname'}" size="15" /></td></tr>
<tr><td class="LC_dropadd_labeltext"><label for="cgen">$lt{'gen'}</label>:</td>
- <td><input type="text" name="cgen" size="5" /> </td></tr>
+ <td><input type="text" name="cgen" value="$uenv{'generation'}" size="5" /> </td></tr>
<tr><td class="LC_dropadd_labeltext"><label for="emailaddress">$lt{'mail'}</label>:</td>
- <td><input type="text" name="emailaddress" size="20" /></td></tr>
+ <td><input type="text" name="emailaddress" value="$uenv{'permanentemail'}" size="20" /></td></tr>
</table>
END
}