[LON-CAPA-cvs] cvs: loncom /homework lonsimpleproblemedit.pm
www
lon-capa-cvs@mail.lon-capa.org
Wed, 16 Jul 2003 15:19:56 -0000
www Wed Jul 16 11:19:56 2003 EDT
Modified files:
/loncom/homework lonsimpleproblemedit.pm
Log:
People wanted a second "Submit" button.
Index: loncom/homework/lonsimpleproblemedit.pm
diff -u loncom/homework/lonsimpleproblemedit.pm:1.3 loncom/homework/lonsimpleproblemedit.pm:1.4
--- loncom/homework/lonsimpleproblemedit.pm:1.3 Wed Jul 9 06:05:15 2003
+++ loncom/homework/lonsimpleproblemedit.pm Wed Jul 16 11:19:56 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Simple Problem Parameter Setting "Editor"
#
-# $Id: lonsimpleproblemedit.pm,v 1.3 2003/07/09 10:05:15 www Exp $
+# $Id: lonsimpleproblemedit.pm,v 1.4 2003/07/16 15:19:56 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -210,9 +210,9 @@
$qtype=$qparms{$prefix.'questiontype'};
unless (defined($qtype)) { $qtype='radio'; }
unless ($questiontypes{$qtype}) { $qtype='radio'; }
- $r->print('Question Type: '.&Apache::loncommon::select_form
+ $r->print('<b>Question Type: '.&Apache::loncommon::select_form
($qtype,'questiontype',%questiontypes).
- '<p> </p>');
+'</b><br /><input type="submit" value="Store Changes" /><p> </p>');
# Question Text
$r->print(&questiontext());
# Radio, Option ===
@@ -281,7 +281,7 @@
}
# Store Button
$r->print(
- '<input type="submit" name="storeproblem" value="Store Changes" /></form>');
+ '<input type="submit" value="Store Changes" /></form>');
} else {
$r->print('Could not identify problem.');
}