[LON-CAPA-cvs] cvs: loncom /interface lonpickstudent.pm
raeburn
raeburn@source.lon-capa.org
Sun, 01 Mar 2009 01:17:20 -0000
raeburn Sun Mar 1 01:17:20 2009 EDT
Modified files:
/loncom/interface lonpickstudent.pm
Log:
- Remove redundant call to lonnet::plaintext().
- Keys in hash returned from lonnet::get_course_adv_roles() already passed
through lonnet::plaintext().
Index: loncom/interface/lonpickstudent.pm
diff -u loncom/interface/lonpickstudent.pm:1.25 loncom/interface/lonpickstudent.pm:1.26
--- loncom/interface/lonpickstudent.pm:1.25 Fri Oct 10 15:37:46 2008
+++ loncom/interface/lonpickstudent.pm Sun Mar 1 01:17:20 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Pick a student from the classlist
#
-# $Id: lonpickstudent.pm,v 1.25 2008/10/10 15:37:46 bisitz Exp $
+# $Id: lonpickstudent.pm,v 1.26 2009/03/01 01:17:20 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -124,8 +124,6 @@
foreach my $role (sort(keys(%coursepersonnel))) {
foreach my $user (split(/\,/,$coursepersonnel{$role})) {
my ($puname,$pudom)=split(/\:/,$user);
- $role = &Apache::lonnet::plaintext($role,
- &Apache::loncommon::course_type());
$r->print(&Apache::loncommon::start_data_table_row().
'<td>'.
'<input type="button" value="'.&mt('Select').'" onClick="gochoose('.