[system] / branches / rel-2-4-patches / webwork-modperl / lib / WeBWorK / ContentGenerator / GatewayQuiz.pm Repository:
ViewVC logotype

Diff of /branches/rel-2-4-patches/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm

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

Revision 4327 Revision 4332
1################################################################################ 1################################################################################
2# WeBWorK Online Homework Delivery System 2# WeBWorK Online Homework Delivery System
3# Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/ 3# Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/
4# $CVSHeader: webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm,v 1.26 2006/07/28 20:08:54 glarose Exp $ 4# $CVSHeader: webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm,v 1.27 2006/08/01 22:02:50 glarose 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.
1388# 1388#
1389# print CGI::strong("Time Remaining:"), "\n"; 1389# print CGI::strong("Time Remaining:"), "\n";
1390# print CGI::textfield({-name=>'gwtime', -default=>0, -size=>8}), 1390# print CGI::textfield({-name=>'gwtime', -default=>0, -size=>8}),
1391# CGI::strong("min:sec"), CGI::br(), "\n"; 1391# CGI::strong("min:sec"), CGI::br(), "\n";
1392# print CGI::endform(); 1392# print CGI::endform();
1393 if ( $timeLeft < 1 ) { 1393 if ( $timeLeft < 1 && $timeLeft > 0 ) {
1394 print CGI::span({-class=>"resultsWithError"}, 1394 print CGI::span({-class=>"resultsWithError"},
1395 CGI::b("You have less than 1 minute to ", 1395 CGI::b("You have less than 1 minute to ",
1396 "complete this test.\n")); 1396 "complete this test.\n"));
1397 } elsif ( $timeLeft <= 0 ) {
1398 print CGI::span({-class=>"resultsWithError"},
1399 CGI::b("You are out of time. Press grade now!\n"));
1397 } 1400 }
1398# print CGI::end_div(); 1401# print CGI::end_div();
1399 } 1402 }
1400 1403
1401# this is a hack to get a URL that won't require a proctor login if we've 1404# this is a hack to get a URL that won't require a proctor login if we've

Legend:
Removed from v.4327  
changed lines
  Added in v.4332

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9