[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm

raeburn raeburn at source.lon-capa.org
Tue May 17 23:21:18 EDT 2016


raeburn		Wed May 18 03:21:18 2016 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  - Add Student/Employee ID as a user-supplied field when user self-creates
    an account with e-mail address as username.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1243 loncom/interface/loncommon.pm:1.1244
--- loncom/interface/loncommon.pm:1.1243	Wed May  4 05:14:45 2016
+++ loncom/interface/loncommon.pm	Wed May 18 03:21:15 2016
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.1243 2016/05/04 05:14:45 raeburn Exp $
+# $Id: loncommon.pm,v 1.1244 2016/05/18 03:21:15 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -16800,7 +16800,7 @@
 }
 
 sub emailusername_info {
-    my @fields = ('firstname','lastname','institution','web','location','officialemail');
+    my @fields = ('firstname','lastname','institution','web','location','officialemail','id');
     my %titles = &Apache::lonlocal::texthash (
                      lastname      => 'Last Name',
                      firstname     => 'First Name',
@@ -16808,6 +16808,7 @@
                      location      => "School's city, state/province, country",
                      web           => "School's web address",
                      officialemail => 'E-mail address at institution (if different)',
+                     id            => 'Student/Employee ID',
                  );
     return (\@fields,\%titles);
 }




More information about the LON-CAPA-cvs mailing list