--- loncom/interface/loncreateuser.pm 2010/01/03 03:17:23 1.295.2.17
+++ loncom/interface/loncreateuser.pm 2009/09/23 03:47:53 1.295.8.1
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Create a user
#
-# $Id: loncreateuser.pm,v 1.295.2.17 2010/01/03 03:17:23 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.295.8.1 2009/09/23 03:47:53 gci Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1428,9 +1428,9 @@ sub display_existing_roles {
}
$row.= '
'.$plaintext.
' | '.$area.
- ' | '.($role_start_time?&Apache::lonlocal::locallocaltime($role_start_time)
+ ' | '.($role_start_time?localtime($role_start_time)
: ' ' ).
- ' | '.($role_end_time ?&Apache::lonlocal::locallocaltime($role_end_time)
+ ' | '.($role_end_time ?localtime($role_end_time)
: ' ' )
." | ";
$sortrole{$sortkey}=$envkey;
@@ -2498,7 +2498,8 @@ sub update_user_data {
$newenvhash{'environment.requestcourses.'.$key} =
$changeHash{'requestcourses.'.$key};
if ($changeHash{'requestcourses.'.$key} ne '') {
- $newenvhash{'environment.canrequest.'.$key} = 1;
+ $newenvhash{'environment.canrequest.'.$key} =
+ $changeHash{'requestcourses.'.$key};
} else {
$newenvhash{'environment.canrequest.'.$key} =
&Apache::lonnet::usertools_access($env{'user.name'},$env{'user.domain'},
@@ -4616,9 +4617,9 @@ sub visible_in_cat {
my %domconf = &Apache::lonnet::get_dom('configuration',['coursecategories'],$cdom);
my ($cathash,%settable,@vismsgs,$cansetvis);
my %visactions = &Apache::lonlocal::texthash(
- vis => 'Your course/community currently appears in the Course/Community Catalog for this domain.',
+ vis => 'Your course currently appears in the Course Catalog for this domain.',
gen => 'Courses can be both self-cataloging, based on an institutional code (e.g., fs08phy231), or can be assigned categories from a hierarchy defined for the domain.',
- miss => 'Your course/community does not currently appear in the Course/Community Catalog for this domain.',
+ miss => 'Your course does not currently appear in the Course Catalog for this domain.',
yous => 'You should remedy this if you plan to allow self-enrollment, otherwise students will have difficulty finding your course.',
coca => 'Courses can be absent from the Catalog, because they do not have an institutional code, have no assigned category, or have been specifically excluded.',
make => 'Make any changes to self-enrollment settings below, click "Save", then take action to include the course in the Catalog:',