version 1.143, 2010/01/21 13:29:41
|
version 1.145, 2010/01/25 18:09:42
|
Line 1311 sub compout {
|
Line 1311 sub compout {
|
&printheader($r,'/adm/email?compose=multiforward', |
&printheader($r,'/adm/email?compose=multiforward', |
'Forwarding Multiple Messages'); |
'Forwarding Multiple Messages'); |
if ($multiforward > 1) { |
if ($multiforward > 1) { |
$r->print(&mt('Each of the [quant,_1,message] you checked' |
$r->print(&mt('Each of the[_1] [quant,_2,message] [_3]you checked' |
.' will be forwarded to the recipient(s) you select below.' |
.' will be forwarded to the recipient(s) you select below.' |
,'<b>'.$multiforward.'</b>') |
,'<b>',$multiforward,'</b>') |
.'<br />'); |
.'<br />'); |
} else { |
} else { |
$r->print(&mt('The message you checked will be forwarded to the recipient(s) you select below.').'<br />'); |
$r->print(&mt('The message you checked will be forwarded to the recipient(s) you select below.').'<br />'); |
Line 1844 sub retrieve_instructor_comments {
|
Line 1844 sub retrieve_instructor_comments {
|
|
|
sub disfacetoface { |
sub disfacetoface { |
my ($r,$user,$domain,$target)=@_; |
my ($r,$user,$domain,$target)=@_; |
if ($target eq '') { |
if ($target eq '') { |
my $target=$env{'form.grade_target'}; |
$target=$env{'form.grade_target'}; |
} |
} |
unless ($env{'request.course.id'}) { return; } |
unless ($env{'request.course.id'}) { return; } |
if (!&Apache::lonnet::allowed('dff',$env{'request.course.id'}) |
if (!&Apache::lonnet::allowed('dff',$env{'request.course.id'}) |
&& ! &Apache::lonnet::allowed('dff',$env{'request.course.id'}. |
&& ! &Apache::lonnet::allowed('dff',$env{'request.course.id'}. |
Line 2249 END
|
Line 2249 END
|
$setuname,$setudom); |
$setuname,$setudom); |
$r->print(&Apache::loncommon::start_data_table_row()); |
$r->print(&Apache::loncommon::start_data_table_row()); |
$r->print(<<"END"); |
$r->print(<<"END"); |
<td>$ltext->{'star'}: $startform<br/>$ltext->{'endd'}: $endform</td> |
<td>$ltext->{'star'}: $startform<br />$ltext->{'endd'}: $endform</td> |
<td>$settername</td> |
<td>$settername</td> |
<td><input type="text" name="title_$parmcount" size="15" value="$title" /><input type="hidden" name="key_$parmcount" value="$record" /></td> |
<td><input type="text" name="title_$parmcount" size="15" value="$title" /><input type="hidden" name="key_$parmcount" value="$record" /></td> |
<td> |
<td> |
Line 3287 sub sendoffmail {
|
Line 3287 sub sendoffmail {
|
} |
} |
} else { |
} else { |
my $message = &Apache::lonhtmlcommon::confirm_success(&mt('Could not deliver message'),1); |
my $message = &Apache::lonhtmlcommon::confirm_success(&mt('Could not deliver message'),1); |
$message .= '<br/>'.&mt('Please use the browser "Back" button and correct the recipient addresses ([_1]).',$sendstatus); |
$message .= '<br />'.&mt('Please use the browser "Back" button and correct the recipient addresses ([_1]).',$sendstatus); |
$message = &Apache::loncommon::confirmwrapper($message); |
$message = &Apache::loncommon::confirmwrapper($message); |
$r->print($message); |
$r->print($message); |
} |
} |
Line 3575 sub handler {
|
Line 3575 sub handler {
|
my $count = keys(%forwardfail); |
my $count = keys(%forwardfail); |
my $message = &Apache::lonhtmlcommon::confirm_success(&mt('Could not forward [quant,_1,message].',$count),1); |
my $message = &Apache::lonhtmlcommon::confirm_success(&mt('Could not forward [quant,_1,message].',$count),1); |
foreach my $key (keys(%forwardfail)) { |
foreach my $key (keys(%forwardfail)) { |
$message .= '<br/>'.&mt('Could not deliver forwarded message.').'</span> '. |
$message .= '<br />'.&mt('Could not deliver forwarded message.').'</span> '. |
&mt('The recipient addresses may need to be corrected').' ('.$forwardfail{$key}.')'; |
&mt('The recipient addresses may need to be corrected').' ('.$forwardfail{$key}.')'; |
} |
} |
$message = &Apache::loncommon::confirmwrapper($message); |
$message = &Apache::loncommon::confirmwrapper($message); |