';
- my $rec_button = &mt('Move to Inbox');
- my $reprec_button = &mt('Move to Inbox/Compose reply');
+ my ($rec_button,$reprec_button);
+ $rec_button = &mt('Move to Inbox');
+ if (!$content{'noreplies'}) {
+ $reprec_button = &mt('Move to Inbox/Compose reply');
+ }
if ($content{'sendback'}) {
$rec_button = &mt('Confirm Receipt');
- $reprec_button = &mt('Confirm Receipt and Reply');
+ if (!$content{'noreplies'}) {
+ $reprec_button = &mt('Confirm Receipt and Reply');
+ }
$result .= &mt('You have to confirm that you have received this message before you can view other pages. After confirmation, this message will be moved to your regular inbox');
} else {
- $result .= &mt('Click one of the buttons below to move the message to your inbox').' '.&mt('Access to other pages will be prevented until you have done this.');
+ $result .= &mt('Access to other pages will be prevented until you have moved the message to your inbox.');
}
$result .= ' '.
- ''.
- '';
+ if (!$content{'noreplies'}) {
+ $result .= '';
+ }
}
# Check to see if there were any messages.
if ($result eq '') {
@@ -1217,6 +1224,8 @@ will be forwarded to the recipient(s) yo
my %lt=&Apache::lonlocal::texthash('us' => 'Username',
'do' => 'Domain',
'ad' => 'Additional Recipients',
+ 'rt' => 'Reply to',
+ 'ar' => 'Allow replies',
'sb' => 'Subject',
'ca' => 'Cancel',
'ma' => 'Mail',
@@ -1327,14 +1336,36 @@ ENDREPSCRIPT
}
if (($broadcast ne 'group') && ($broadcast ne 'upload')) {
if ($replying) {
- $r->print('