version 1.10, 2001/07/25 16:08:38
|
version 1.12, 2001/07/26 20:19:12
|
Line 32 sub mail_screen {
|
Line 32 sub mail_screen {
|
<script> |
<script> |
function gosubmit() { |
function gosubmit() { |
var rec=0; |
var rec=0; |
if (typeof(document.mailform.elements.author!=undefined)) { |
if (typeof(document.mailform.elements.author)!="undefined") { |
if (document.mailform.elements.author.checked) { |
if (document.mailform.elements.author.checked) { |
rec=1; |
rec=1; |
} |
} |
} |
} |
if (typeof(document.mailform.elements.question!=undefined)) { |
if (typeof(document.mailform.elements.question)!="undefined") { |
if (document.mailform.elements.question.checked) { |
if (document.mailform.elements.question.checked) { |
rec=1; |
rec=1; |
} |
} |
} |
} |
if (typeof(document.mailform.elements.course!=undefined)) { |
if (typeof(document.mailform.elements.course)!="undefined") { |
if (document.mailform.elements.course.checked) { |
if (document.mailform.elements.course.checked) { |
rec=1; |
rec=1; |
} |
} |
} |
} |
if (typeof(document.mailform.elements.policy!=undefined)) { |
if (typeof(document.mailform.elements.policy)!="undefined") { |
if (document.mailform.elements.policy.checked) { |
if (document.mailform.elements.policy.checked) { |
rec=1; |
rec=1; |
} |
} |
} |
} |
if (typeof(document.mailform.elements.discuss!=undefined)) { |
if (typeof(document.mailform.elements.discuss)!="undefined") { |
if (document.mailform.elements.discuss.checked) { |
if (document.mailform.elements.discuss.checked) { |
rec=1; |
rec=1; |
} |
} |
Line 301 sub handler {
|
Line 301 sub handler {
|
|
|
# Get previous user input |
# Get previous user input |
my $prevattempts=&Apache::loncommon::get_previous_attempt( |
my $prevattempts=&Apache::loncommon::get_previous_attempt( |
$symb,$ENV{'user.name'},$ENV{'user.domain'},$ENV{'user.home'}, |
$symb,$ENV{'user.name'},$ENV{'user.domain'}, |
$ENV{'request.course.id'}); |
$ENV{'request.course.id'}); |
|
|
# Get output from resource |
# Get output from resource |