Update of /cvsroot/aimmath/AIM/WEB-INF/maple/aim
In directory sc8-pr-cvs1:/tmp/cvs-serv11389/WEB-INF/maple/aim
Modified Files:
Tag: develop_2_1
MatrixQuestion.mpl
Log Message:
Added promp and postprompt to matrix questions.
Index: MatrixQuestion.mpl
===================================================================
RCS file: /cvsroot/aimmath/AIM/WEB-INF/maple/aim/MatrixQuestion.mpl,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -C2 -d -r1.2.2.1 -r1.2.2.2
*** MatrixQuestion.mpl 10 Jul 2003 20:10:03 -0000 1.2.2.1
--- MatrixQuestion.mpl 23 Aug 2003 16:13:38 -0000 1.2.2.2
***************
*** 81,84 ****
--- 81,95 ----
],
+ ['Field','Prompt'::string = __("Answer: "),
+ "The string used to prompt the student for the answer."
+ ],
+
+ ['Field','PostPrompt'::string = "",
+ "A string to be displayed directly after the answer box. For
+ example, if the answer is to be given in metres, then this
+ field could be set to the string @\"metres\"@.
+ "
+ ],
+
['Field','NumRows'::posint,
"The number of rows in the matrix."
***************
*** 365,369 ****
html :=
! "<br/>\n",
sprintf("<input type='hidden' name='%sNumRows' value='%d'/>\n",
cgilabel,rows),
--- 376,381 ----
html :=
! "<br/>\n<table><tr><td valign=\"middle\">",
! this['Prompt'],"</td><td valign=\"middle\">",
sprintf("<input type='hidden' name='%sNumRows' value='%d'/>\n",
cgilabel,rows),
***************
*** 392,396 ****
html :=
html,
! "</table>\n",
sprintf("<input type='hidden' name='%s' value='%s'/>\n",
cgilabel,rawans);
--- 404,409 ----
html :=
html,
! "</table>\n</td><td valign=\"middle\">",
! this['PostPrompt'],"</td></tr></table>",
sprintf("<input type='hidden' name='%s' value='%s'/>\n",
cgilabel,rawans);
***************
*** 455,457 ****
EndPackage():
-
--- 468,469 ----
|