Update of /cvsroot/aimmath/AIM/WEB-INF/maple/aim/admin
In directory sc8-pr-cvs1:/tmp/cvs-serv14068/WEB-INF/maple/aim/admin
Modified Files:
Quiz.mpl SourceFile.mpl
Log Message:
Changed TryQuestion actions to TryRightAnswer, so we get the
question trial page with the right answer filled in automatically.
Index: Quiz.mpl
===================================================================
RCS file: /cvsroot/aimmath/AIM/WEB-INF/maple/aim/admin/Quiz.mpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Quiz.mpl 25 Aug 2003 21:47:19 -0000 1.3
--- Quiz.mpl 30 Aug 2003 21:08:04 -0000 1.4
***************
*** 68,72 ****
'Arguments' = ["QuestionName"]]],
! ['Action',"TryQuestion",
"Try question @QuestionName@.",
['LinkText' = __("Try"),
--- 68,72 ----
'Arguments' = ["QuestionName"]]],
! ['Action',"TryRightAnswer",
"Try question @QuestionName@.",
['LinkText' = __("Try"),
***************
*** 414,418 ****
page['ActionLink',"LoadSource",[nam]]],
[["td","align" = "left"],
! page['ActionLink',"TryQuestion",[nam]]],
[["td","align" = "left"],
page['ActionLink',"AnalyzeQuestion",[nam]]],
--- 414,418 ----
page['ActionLink',"LoadSource",[nam]]],
[["td","align" = "left"],
! page['ActionLink',"TryRightAnswer",[nam]]],
[["td","align" = "left"],
page['ActionLink',"AnalyzeQuestion",[nam]]],
***************
*** 448,452 ****
[["td","align" = "left"],nam],
[["td","align" = "left"],
! page['ActionLink',"TryQuestion",[nam]]],
[["td","align" = "left"]," "],
[["td","align" = "left"],
--- 448,452 ----
[["td","align" = "left"],nam],
[["td","align" = "left"],
! page['ActionLink',"TryRightAnswer",[nam]]],
[["td","align" = "left"]," "],
[["td","align" = "left"],
Index: SourceFile.mpl
===================================================================
RCS file: /cvsroot/aimmath/AIM/WEB-INF/maple/aim/admin/SourceFile.mpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SourceFile.mpl 25 Aug 2003 21:47:19 -0000 1.3
--- SourceFile.mpl 30 Aug 2003 21:08:04 -0000 1.4
***************
*** 77,81 ****
'ExtraScript' = "f.SourceText.value = '';"]],
! ['Action',"TryQuestion",
"Try the compiled question.",
['Command' = "try/Question",
--- 77,81 ----
'ExtraScript' = "f.SourceText.value = '';"]],
! ['Action',"TryRightAnswer",
"Try the compiled question.",
['Command' = "try/Question",
***************
*** 329,333 ****
"</tt></font>")),
" ",
! page['ActionLink',"TryQuestion",[question['Name']]],
["br"]));
--- 329,333 ----
"</tt></font>")),
" ",
! page['ActionLink',"TryRightAnswer",[question['Name']]],
["br"]));
|