Skip to content

Commit 54e0350

Browse files
committed
Replace email registration by a link to the registration form for sites at the MAA
The next step will be to grab the form from the MAA, and fill out as much of it as possible before submitting it to the MAA
1 parent 5d60430 commit 54e0350

File tree

1 file changed

+44
-33
lines changed

1 file changed

+44
-33
lines changed

lib/WeBWorK/ContentGenerator/CourseAdmin.pm

Lines changed: 44 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -3194,12 +3194,13 @@ sub display_registration_form {
31943194
!,
31953195
CGI::p("If you are using your WeBWorK server for courses please help us out by registering your server."),
31963196
CGI::p("We are often asked how many institutions are using WeBWorK and how many students are using
3197-
WeBWorK Since WeBWorK is open source and can be freely downloaded from ".
3197+
WeBWorK. Since WeBWorK is open source and can be freely downloaded from ".
31983198
CGI::a({href=>'http://webwork.maa.org'},'http://webwork.maa.org' ). " and ".
3199-
CGI::a({href=> 'http://www.openwebwork.org'},'http://www.openwebwork.org'). ", it is frequently difficult for us to give a reasonable answer to this
3200-
question."),
3199+
CGI::a({href=> 'http://www.openwebwork.org'},'http://www.openwebwork.org'). ", it is frequently
3200+
difficult for us to give a reasonable answer to this question."),
32013201
CGI::p("You can help by registering your current version of WeBWorK -- click the button, answer a few
3202-
questions (the ones you can answer easily) and send the email. It takes less than two minutes. Thank you!. -- The WeBWorK Team"),
3202+
questions (the ones you can answer easily) and submit the form to the MAA.
3203+
It takes less than two minutes. Thank you!. -- The WeBWorK Team"),
32033204
q!
32043205
</td>
32053206
</tr>
@@ -3218,38 +3219,48 @@ sub registration_form {
32183219
my $ce = $self->r->ce;
32193220

32203221
print "<center>";
3221-
print "\n",CGI::p({style=>"text-align: left; width:60%"},
3222-
"\nPlease ",
3223-
CGI::a({href=>'mailto:gage@math.rochester.edu?'
3224-
.'subject=WeBWorK%20Server%20Registration'
3225-
.'&body='
3226-
.uri_escape("Thanks for registering your WeBWorK server. We'd appreciate if you would answer
3227-
as many of these questions as you can conveniently. We need this data so we can better
3228-
answer questions such as 'How many institutions have webwork servers?' and 'How many students
3229-
use WeBWorK?'. Your email and contact information will be kept private. We will
3230-
list your institution as one that uses WeBWorK unless you tell us to keep that private as well.
3231-
\n\nThank you. \n\n--Mike Gage \n\n
3232-
")
3233-
.uri_escape("Server URL: ".$ce->{apache_root_url}." \n\n")
3234-
.uri_escape("WeBWorK version: $main::VERSION \n\n")
3235-
.uri_escape("Institution name (e.g. University of Rochester): \n\n")
3236-
.uri_escape("Contact person name: \n\n")
3237-
.uri_escape("Contact email: \n\n")
3238-
.uri_escape("Approximate number of courses run each term: \n\n")
3239-
.uri_escape("Approximate number of students using this server each term: \n\n")
3240-
.uri_escape("Other institutions who use WeBWorK courses hosted on this server: \n\n")
3241-
.uri_escape("Other comments: \n\n")
3242-
},
3243-
'click here'),
3244-
q! to open your email application. There are a few questions, some of which have already
3245-
been filled in for your installation. Fill in the other questions which you can answer easily and send
3246-
the email to gage@math.rochester.edu
3247-
!
3248-
);
3222+
3223+
# "\nPlease ",
3224+
# CGI::a({href=>'mailto:gage@math.rochester.edu?'
3225+
# .'subject=WeBWorK%20Server%20Registration'
3226+
# .'&body='
3227+
# .uri_escape("Thanks for registering your WeBWorK server. We'd appreciate if you would answer
3228+
# as many of these questions as you can conveniently. We need this data so we can better
3229+
# answer questions such as 'How many institutions have webwork servers?' and 'How many students
3230+
# use WeBWorK?'. Your email and contact information will be kept private. We will
3231+
# list your institution as one that uses WeBWorK unless you tell us to keep that private as well.
3232+
# \n\nThank you. \n\n--Mike Gage \n\n
3233+
# ")
3234+
# .uri_escape("Server URL: ".$ce->{apache_root_url}." \n\n")
3235+
# .uri_escape("WeBWorK version: $main::VERSION \n\n")
3236+
# .uri_escape("Institution name (e.g. University of Rochester): \n\n")
3237+
# .uri_escape("Contact person name: \n\n")
3238+
# .uri_escape("Contact email: \n\n")
3239+
# .uri_escape("Approximate number of courses run each term: \n\n")
3240+
# .uri_escape("Approximate number of students using this server each term: \n\n")
3241+
# .uri_escape("Other institutions who use WeBWorK courses hosted on this server: \n\n")
3242+
# .uri_escape("Other comments: \n\n")
3243+
# },
3244+
# 'click here'),
3245+
# q! to open your email application. There are a few questions, some of which have already
3246+
# been filled in for your installation. Fill in the other questions which you can answer easily and send
3247+
# the email to gage@math.rochester.edu
3248+
# !
3249+
print "\n",
3250+
CGI::p({style=>"text-align: left; width:60%"},
3251+
"Please click on ",
3252+
CGI::a({ href=>"http://forms.maa.org/r/WebworkSoftware/add.aspx" }, " this link "),
3253+
"and fill out the form.",
3254+
),"\n",
3255+
CGI::p({style=>"text-align: left; width:60%"},
3256+
"The form will be sent to the MAA and your site will be listed along with all of the others on the ",
3257+
CGI::a({href=>"http://webwork.maa.org/wiki/WeBWorK_Sites"}, "site map"),
3258+
"on the main WeBWorK Wiki.",
3259+
);
32493260

32503261

32513262

3252-
print "\n",CGI::p({style=>"text-align: left; width:60%"},q!Once you have emailed your registration information you can hide the "registration" banner
3263+
print "\n",CGI::p({style=>"text-align: left; width:60%"},q!Once you have submitted your registration information you can hide the "registration" banner
32533264
for successive visits by clicking
32543265
the button below. It writes an empty file (!.CGI::code('registered_versionNumber').q!) to the directory !.CGI::code('..../courses/admin')
32553266
);

0 commit comments

Comments
 (0)