@@ -1001,8 +1036,10 @@ END
$message .= &mt('As the e-mail address provided for this LON-CAPA server ([_1]) does not appear to be a valid e-mail address, your support request has [_2]not[_3] been sent to the LON-CAPA support staff or administrator at your institution.',''.$to.'','','');
}
}
- $r->print(&Apache::loncommon::confirmwrapper(&Apache::lonhtmlcommon::confirm_success($message,$bad_email)));
-
+ $r->print('
');
+ if ($bad_email) {
+ $r->print(&Apache::loncommon::confirmwrapper(&Apache::lonhtmlcommon::confirm_success($message,$bad_email)).' ');
+ }
if ($reqemail ne '') {
$from = $reqemail;
}
@@ -1130,12 +1167,12 @@ END
if ($bad_email) {
$r->print(''.$lt{'belo'}.' '.
- $lt{'ifyk'}.'
'."\n");
+ $lt{'ifyk'}."\n");
} else {
# Compose and send a MIME email
&Apache::loncommon::mime_email($from,'',$to,$subject,$supportmsg,$cc_string,
$bcc,$attachmentpath,$fname,$attachment_text);
- $r->print(''.$lt{'your'}.':
'."\n");
+ $r->print(''.$lt{'your'}.':'."\n");
}
if ($attachmentpath =~ m|$Apache::lonnet::perlvar{'lonDaemons'}/tmp/helprequests/(\d+)/[^/]+|) {
unlink($attachmentpath);
@@ -1172,7 +1209,11 @@ END
$r->print($envmsg."\n".
&Apache::lonhtmlcommon::row_closure(1)."\n".
&Apache::lonhtmlcommon::end_pick_box().
- "
|;
$reviewtext = &mt('Please review the information in "Log-in help" and the "Getting started" guide if you are unable to log-in.');
} else {
$reviewtext = &mt('Please review the information in "Log-in help" if you are unable to log-in.');
@@ -1212,47 +1257,34 @@ sub print_header {
$loginhelp = '/adm/loginproblems.html';
}
$r->print(<<"END");
-