[LON-CAPA-cvs] cvs: loncom(version_2_9_X) /auth lonroles.pm
raeburn
raeburn@source.lon-capa.org
Sat, 02 Jan 2010 19:06:40 -0000
raeburn Sat Jan 2 19:06:40 2010 EDT
Modified files: (Branch: version_2_9_X)
/loncom/auth lonroles.pm
Log:
- Backport part of 1.238 not included in earlier backports.
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.231.4.7 loncom/auth/lonroles.pm:1.231.4.8
--- loncom/auth/lonroles.pm:1.231.4.7 Sat Jan 2 18:50:52 2010
+++ loncom/auth/lonroles.pm Sat Jan 2 19:06:39 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# User Roles Screen
#
-# $Id: lonroles.pm,v 1.231.4.7 2010/01/02 18:50:52 raeburn Exp $
+# $Id: lonroles.pm,v 1.231.4.8 2010/01/02 19:06:39 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -692,10 +692,10 @@
$refresh = $now;
&Apache::lonnet::appenv({'user.refresh.time' => $refresh});
if ($env{'user.adv'}) {
- $r->print(
- '<p><label>'.&mt('Show all roles').': <input type="checkbox" name="showall"');
if ($env{'form.showall'}) { $r->print(' checked="checked" '); }
- $r->print(' /></label><input type="submit" value="'.&mt('Display').'" /></p>');
+ $r->print(' />'.&mt('Show all roles').'</label>'
+ .' <input type="submit" value="'.&mt('Update display').'" />'
+ .'</p>');
} else {
if ($countactive > 0) {
&queued_selfenrollment($r);