From: Arnie P. v. a. <we...@ma...> - 2005-09-29 17:41:27
|
Log Message: ----------- Improve the label on submit button in single user mode. Modified Files: -------------- webwork-modperl/lib/WeBWorK/ContentGenerator: Hardcopy.pm Revision Data ------------- Index: Hardcopy.pm =================================================================== RCS file: /webwork/cvs/system/webwork-modperl/lib/WeBWorK/ContentGenerator/Hardcopy.pm,v retrieving revision 1.65 retrieving revision 1.66 diff -Llib/WeBWorK/ContentGenerator/Hardcopy.pm -Llib/WeBWorK/ContentGenerator/Hardcopy.pm -u -r1.65 -r1.66 --- lib/WeBWorK/ContentGenerator/Hardcopy.pm +++ lib/WeBWorK/ContentGenerator/Hardcopy.pm @@ -308,6 +308,7 @@ my $ss = $perm_multiuser ? "s" : ""; my $aa = $perm_multiuser ? " " : " a "; my $phrase_for_privileged_users = $perm_multiuser ? "to privileged users or" : ""; + my $button_label = $perm_multiuser ? "Generate hardcopy for selected sets and selected users" :"Generate hardcopy"; # print CGI::start_p(); # print "Select the homework set$ss for which to generate${aa}hardcopy version$ss."; @@ -383,7 +384,7 @@ CGI::td({colspan=>2, class=>"ButtonRow"}, CGI::submit( -name => "generate_hardcopy", - -value => "Generate hardcopy for selected sets and selected users", + -value => $button_label, #-style => "width: 45ex", ), ), |