version 1.84, 2004/05/25 22:16:05
|
version 1.87, 2004/06/02 16:47:33
|
Line 34 use Apache::Constants qw(:common);
|
Line 34 use Apache::Constants qw(:common);
|
use Apache::lonmsg(); |
use Apache::lonmsg(); |
use Apache::loncommon(); |
use Apache::loncommon(); |
use Apache::lontexconvert(); |
use Apache::lontexconvert(); |
use Apache::lonlocal; |
use Apache::lonlocal; # must not have () |
|
use Apache::lonhtmlcommon(); |
|
|
sub list_discussion { |
sub list_discussion { |
my ($mode,$status,$symb)=@_; |
my ($mode,$status,$symb)=@_; |
Line 457 sub mail_screen {
|
Line 458 sub mail_screen {
|
$prevtag = '<input type="hidden" name="previous" value="'.$ENV{'form.previous'}.'" />'; |
$prevtag = '<input type="hidden" name="previous" value="'.$ENV{'form.previous'}.'" />'; |
} |
} |
} |
} |
my $latexHelp = Apache::loncommon::helpLatexCheatsheet(); |
my $latexHelp=&Apache::loncommon::helpLatexCheatsheet(); |
|
my $htmlheader=&Apache::lonhtmlcommon::htmlareaheaders(); |
my $send=&mt('Send'); |
my $send=&mt('Send'); |
$r->print(<<ENDDOCUMENT); |
$r->print(<<ENDDOCUMENT); |
<html> |
<html> |
<head> |
<head> |
<title>The LearningOnline Network with CAPA</title> |
<title>The LearningOnline Network with CAPA</title> |
<meta http-equiv="pragma" content="no-cache"></meta> |
<meta http-equiv="pragma" content="no-cache"></meta> |
|
$htmlheader |
<script type="text/javascript"> |
<script type="text/javascript"> |
//<!-- |
//<!-- |
function gosubmit() { |
function gosubmit() { |
Line 500 sub mail_screen {
|
Line 503 sub mail_screen {
|
} |
} |
|
|
if (rec) { |
if (rec) { |
|
document.mailform.onsubmit(); |
document.mailform.submit(); |
document.mailform.submit(); |
} else { |
} else { |
alert('Please check a feedback type.'); |
alert('Please check a feedback type.'); |
Line 534 Attachment (128 KB max size): <input typ
|
Line 538 Attachment (128 KB max size): <input typ
|
</p> |
</p> |
</form> |
</form> |
ENDDOCUMENT |
ENDDOCUMENT |
$r->print(&generate_preview_button().'</body></html>'); |
$r->print(&generate_preview_button(). |
|
&Apache::lonhtmlcommon::htmlareaactive(). |
|
'</body></html>'); |
} |
} |
|
|
sub fail_redirect { |
sub fail_redirect { |
Line 877 sub generate_preview_button {
|
Line 883 sub generate_preview_button {
|
<input type="hidden" name="subject"> |
<input type="hidden" name="subject"> |
<input type="hidden" name="comment" /> |
<input type="hidden" name="comment" /> |
<input type="button" value="$pre" |
<input type="button" value="$pre" |
onClick="this.form.comment.value=document.mailform.comment.value;this.form.subject.value=document.mailform.subject.value;this.form.submit();" /> |
onClick="document.mailform.onsubmit();this.form.comment.value=document.mailform.comment.value;this.form.subject.value=document.mailform.subject.value;this.form.submit();" /> |
</form> |
</form> |
ENDPREVIEW |
ENDPREVIEW |
} |
} |