--- loncom/interface/lonpickstudent.pm 2003/01/06 13:53:26 1.3 +++ loncom/interface/lonpickstudent.pm 2003/03/28 01:53:55 1.4 @@ -1,7 +1,7 @@ # The LearningOnline Network # Pick a student from the classlist # -# $Id: lonpickstudent.pm,v 1.3 2003/01/06 13:53:26 www Exp $ +# $Id: lonpickstudent.pm,v 1.4 2003/03/28 01:53:55 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -79,7 +79,7 @@ function gochoose(uname,udom) { var slct=opener.document.$ENV{'form.form'}.$ENV{'form.udomelement'}; var i; for (i=0;iprint('

'.$ENV{'course.'.$ENV{'request.course.id'}.'.description'}. - '

'); + '
'); +# -------------------------------------------------------- Get course personnel + my %coursepersonnel= + &Apache::lonnet::get_course_adv_roles(); + $r->print(''); + foreach my $role (keys %coursepersonnel) { + foreach (split(/\,/,$coursepersonnel{$role})) { + my ($puname,$pudom)=split(/\:/,$_); + $r->print(''); + } + } + $r->print('
'. + ''.$role.''. + &Apache::loncommon::aboutmewrapper( + &Apache::loncommon::plainname($puname, + $pudom),$puname,$pudom).'

 '); if ($filter ne '.') { - $r->print('Name starting with "'.$filter.'"
'); + $r->print('
Name starting with "'.$filter.'"
'); } - $r->print(''); + $r->print('

'); + # ------------------------------------------------------------------ Students foreach (sort keys %$classlist) { # the following undefs are for 'domain', and 'username' respectively. my (undef,undef,$end,$start,$id,$section,$fullname,$status)=