--- loncom/html/adm/helper/course.initialization.helper 2009/02/25 16:39:59 1.25 +++ loncom/html/adm/helper/course.initialization.helper 2014/02/28 19:20:01 1.32 @@ -28,6 +28,16 @@ $helper->{DATA}->{CRS}); # Try to fix bug 1757 Apache::lonnet::coursedescription($env{'request.course.id'}); + if (($name eq 'description') || ($name eq 'cloners')) { + my %crsinfo = &Apache::lonnet::courseiddump($crsdom,'.',1,'.','.',$crsnum,undef,undef,'.'); + if (ref($crsinfo{$courseid}) eq 'HASH') { + $crsinfo{$courseid}{$name} = $val; + my $crshome = &Apache::lonnet::homeserver($crsnum,$crsdom); + unless ($crshome eq 'no_host') { + my $putresult = &Apache::lonnet::courseidput($crsdom,\%crsinfo,$crshome,'notime'); + } + } + } return 1; } else { return 0; @@ -49,11 +59,10 @@

All settings which you can change with this Helper can also be changed - by going to the PARM screen and clicking on the "Set - course environment" button.

+ by going to the "Modify parameter settings" screen and clicking on the "Course Configuration" button.

If you do not have experience coordinating LON-CAPA courses or if you - prefer the Helper interface, please click Next ->.

+ prefer the Helper interface, please click "Next".

@@ -61,7 +70,7 @@ The "Course Title" is the name of the course that will be seen by the students. You may now modify the description and hit - "Next ->" to continue.
+ "Next" to continue.
@@ -200,7 +209,7 @@ are both the LON-CAPA username and LON-CAPA domain, not an e-mail address.

- return &mt('

Your current LON-CAPA domain is "[_1]".

',"$helper->{DATA}->{DOM}"); + return '

'.&mt('Your current LON-CAPA domain is [_1].','"'.$helper->{DATA}->{DOM}.'"').'

';
@@ -235,10 +244,11 @@ - Existing courses can be cloned when creating new courses.
Cloning will copy the course structure, contents, and most parameters (automatically advancing any date parameters by six months).

- Names of owners of other courses permitted to clone this course:
+ Existing courses can be cloned when creating new courses.
+ Cloning will copy the course structure, contents, and most settings. For dates (open dates, due dates etc.) a choice is provided to: (a) omit, (b) copy as-is or (c) shift by a specified number of days.

+ Usernames of owners of other courses permitted to clone this course:
- + return &{$helper->{DATA}->{GETVAL}}('cloners'); @@ -308,16 +318,20 @@
(Course Coordinators automatically have the right to clone their own courses.)
  • Format: user:domain, where "user" and "domain" - are the LON-CAPA username and domain of the user.
  • Separate different users with a comma.
  • Use *:domain to allow course to be cloned by any course owner in the specified domain.
  • Use * to allow unrestricted cloning by all course owners in all domains.
+ are the LON-CAPA username and domain of the user. +
  • Separate different users with a comma.
  • +
  • Use *:domain to allow course to be cloned by any course owner in the specified domain.
  • +
  • Use * to allow unrestricted cloning by all course owners in all domains.
  • +
    - Your course is now set up. Please select the Finish Course - Initialization button to re-intialize the course with your chosen + Your course is now set up. Please select the Save + button to re-initialize the course with your chosen settings. -

    Remember that all of these settings can be modified in the PARMS - screen, by pushing the Course Environment button.

    +

    Remember that all of these settings can be modified in the Modify parameter settings + screen (Course Configuration).

    $env{'course.'.$env{'request.course.id'}.'.clonedfrom'}