[system] / branches / rel-2-2-dev / webwork-modperl / lib / WeBWorK / ContentGenerator / Problem.pm Repository:
ViewVC logotype

Diff of /branches/rel-2-2-dev/webwork-modperl/lib/WeBWorK/ContentGenerator/Problem.pm

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

Revision 3653 Revision 3768
1################################################################################ 1################################################################################
2# WeBWorK Online Homework Delivery System 2# WeBWorK Online Homework Delivery System
3# Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ 3# Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/
4# $CVSHeader: webwork-modperl/lib/WeBWorK/ContentGenerator/Problem.pm,v 1.185 2005/09/16 18:50:50 sh002i Exp $ 4# $CVSHeader: webwork2/lib/WeBWorK/ContentGenerator/Problem.pm,v 1.186 2005/09/24 00:51:58 dpvc Exp $
5# 5#
6# This program is free software; you can redistribute it and/or modify it under 6# This program is free software; you can redistribute it and/or modify it under
7# the terms of either: (a) the GNU General Public License as published by the 7# the terms of either: (a) the GNU General Public License as published by the
8# Free Software Foundation; either version 2, or (at your option) any later 8# Free Software Foundation; either version 2, or (at your option) any later
9# version, or (b) the "Artistic License" which comes with this package. 9# version, or (b) the "Artistic License" which comes with this package.
301 } else { 301 } else {
302 $summary = $problemResult->{summary}; # summary has been defined by grader 302 $summary = $problemResult->{summary}; # summary has been defined by grader
303 } 303 }
304 return 304 return
305 CGI::table({-class=>"attemptResults"}, CGI::Tr(\@tableRows)) 305 CGI::table({-class=>"attemptResults"}, CGI::Tr(\@tableRows))
306 . ($showSummary ? CGI::p({class=>'emphasis'},$summary) : ""); 306 . ($showSummary ? CGI::p({class=>'attemptResultsSummary'},$summary) : "");
307} 307}
308 308
309 309
310# Note: previewAnswer is lifted into GatewayQuiz.pm 310# Note: previewAnswer is lifted into GatewayQuiz.pm
311 311

Legend:
Removed from v.3653  
changed lines
  Added in v.3768

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9