| 1 | ################################################################################ |
1 | ################################################################################ |
| 2 | # WeBWorK Online Homework Delivery System |
2 | # WeBWorK Online Homework Delivery System |
| 3 | # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ |
3 | # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ |
| 4 | # $CVSHeader: webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm,v 1.24 2004/07/10 16:28:56 sh002i Exp $ |
4 | # $CVSHeader: webwork-modperl/lib/WeBWorK/ContentGenerator/CourseAdmin.pm,v 1.25 2004/08/18 01:41:39 sh002i Exp $ |
| 5 | # |
5 | # |
| 6 | # This program is free software; you can redistribute it and/or modify it under |
6 | # This program is free software; you can redistribute it and/or modify it under |
| 7 | # the terms of either: (a) the GNU General Public License as published by the |
7 | # the terms of either: (a) the GNU General Public License as published by the |
| 8 | # Free Software Foundation; either version 2, or (at your option) any later |
8 | # Free Software Foundation; either version 2, or (at your option) any later |
| 9 | # version, or (b) the "Artistic License" which comes with this package. |
9 | # version, or (b) the "Artistic License" which comes with this package. |
| … | |
… | |
| 674 | permission => "10", |
674 | permission => "10", |
| 675 | ); |
675 | ); |
| 676 | push @users, [ $User, $Password, $PermissionLevel ]; |
676 | push @users, [ $User, $Password, $PermissionLevel ]; |
| 677 | } |
677 | } |
| 678 | |
678 | |
| 679 | push @{$courseOptions{PRINT_FILE_NAMES_FOR}}, map { $_->[0]->email_address } @users; |
679 | push @{$courseOptions{PRINT_FILE_NAMES_FOR}}, map { $_->[0]->user_id } @users; |
| 680 | |
680 | |
| 681 | my %optional_arguments; |
681 | my %optional_arguments; |
| 682 | if ($add_templates_course ne "") { |
682 | if ($add_templates_course ne "") { |
| 683 | $optional_arguments{templatesFrom} = $add_templates_course; |
683 | $optional_arguments{templatesFrom} = $add_templates_course; |
| 684 | } |
684 | } |