';
+ '';
}
sub problem_edit_footer {
@@ -728,7 +730,7 @@ $show_all
".&option('yes','problemstatus').&mt("Show Feedback")."
- ".&option('no', 'problemstatus').&mt("Don't Show Incorect/Correct Feedback")."
+ ".&option('no', 'problemstatus').&mt("Don't Show Incorrect/Correct Feedback")."
".&option('no_feedback_ever', 'problemstatus').&mt("Don't Show Any Feedback")."
@@ -975,7 +977,7 @@ sub checkout_msg {
$lt{'warning'}
ENDCHECKOUT
}
@@ -1009,7 +1011,7 @@ sub firstaccess_msg {
$result .= (<
-
+
ENDCHECKOUT
return $result;
@@ -2057,9 +2059,15 @@ sub end_while {
}
$return = &Apache::run::run($code,$safeeval);
}
- if ($error) {
- &Apache::lonxml::error(''.&mt('Code ran too long. It ran for more than').' '.$Apache::lonnet::perlvar{'lonScriptTimeout'}.' '.&mt('seconds occurred while running <while> on line').' '.$line.' ');
- }
+ if ($error) {
+ &Apache::lonxml::error(
+ ''
+ .&mt('Code ran too long. It ran for more than [_1] seconds.',
+ $Apache::lonnet::perlvar{'lonScriptTimeout'})
+ .&mt('This occurred while running <while> on line [_1].',
+ $line)
+ .' ');
+ }
} elsif ($target eq "edit") {
$result.= &Apache::edit::tag_end($target,$token,'');
}
@@ -2543,13 +2551,13 @@ sub end_startouttext {
.''.&mt('Delete?').' '
.&Apache::edit::deletelist($target,$token)
.' '
- .''
+ .' '
.&Apache::lonhtmlcommon::dragmath_button($areaid,1)
.' '
.''
.&Apache::edit::insertlist($target,$token)
.' '
- .'' .
+ .' ' .
&Apache::loncommon::helpLatexCheatsheet().
&Apache::edit::end_row().
&Apache::edit::start_spanning_row()."\n".