--- loncom/homework/inputtags.pm 2009/07/17 15:27:17 1.260
+++ loncom/homework/inputtags.pm 2009/12/06 21:00:15 1.260.4.1
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# input definitons
#
-# $Id: inputtags.pm,v 1.260 2009/07/17 15:27:17 droeschl Exp $
+# $Id: inputtags.pm,v 1.260.4.1 2009/12/06 21:00:15 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -869,7 +869,13 @@ sub decideoutput {
$css_class=$possible_class{'charged_try'};
$button=1;
} elsif ($award eq 'SUBMITTED') {
- $message = &mt("Your submission has been recorded.");
+ if ($env{'request.uri'} eq '/res/gci/gci/internal/submission.problem') {
+ if ($target eq 'web') {
+ $message .= '
'.&mt('Thank you for making a submission to the Geosciences Concept Inventory via the GCI Web Center.');
+ }
+ } else {
+ $message = &mt("Your submission has been recorded.");
+ }
$css_class=$possible_class{'no_grade'};
$button=1;
} elsif ($award eq 'DRAFT') {
@@ -922,7 +928,14 @@ sub decideoutput {
if (&Apache::lonhomework::hide_problem_status()
&& $Apache::inputtags::status[-1] ne 'SHOW_ANSWER'
&& &hide_award($award)) {
- $message = &mt("Answer Submitted: Your final submission will be graded after the due date.");
+ if ($env{'request.uri'} eq '/res/gci/gci/internal/submission.problem') {
+ if ($target eq 'web') {
+ $message = &mt("Your submission has been recorded.").'
'.
+ &mt('Thank you for making a submission to the Geosciences Concept Inventory via the GCI Web Center.');
+ }
+ } else {
+ $message = &mt("Answer Submitted: Your final submission will be graded after the due date.");
+ }
$css_class=$possible_class{'no_grade'};
$button=1;
}
@@ -1237,15 +1250,19 @@ sub get_grade_messages {
$trystr = '\vskip 0 mm ';
}
} else {
- $trystr = '