[system] / trunk / pg / macros / PGbasicmacros.pl Repository:
ViewVC logotype

Diff of /trunk/pg/macros/PGbasicmacros.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 5970 Revision 6010
1012 $out = join(' ', "$BR(Show the student hint after $showHint attempts: ) $BR",@in); 1012 $out = join(' ', "$BR(Show the student hint after $showHint attempts: ) $BR",@in);
1013 } else { 1013 } else {
1014 $out = ''; # do nothing since hints are not available for download for students 1014 $out = ''; # do nothing since hints are not available for download for students
1015 } 1015 }
1016 } elsif ($printHintForInstructor) { # always print hints for instructor types 1016 } elsif ($printHintForInstructor) { # always print hints for instructor types
1017 $out = join(' ', "$BR(Show the student hint after $showHint attempts: )$BR ", @in); 1017 $out = join(' ', "$BR( Show the student hint after $showHint attempts: )$BR $BBOLD HINT: $EBOLD ", @in);
1018 } elsif ( $displayHint and ( $attempts > $showHint )) { 1018 } elsif ( $displayHint and ( $attempts > $showHint )) {
1019 1019
1020 ## the second test above prevents a hint being shown if a doctored form is submitted 1020 ## the second test above prevents a hint being shown if a doctored form is submitted
1021 1021
1022 $out = join(' ',@in); 1022 $out = join(' ',@in);

Legend:
Removed from v.5970  
changed lines
  Added in v.6010

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9