Annotation of modules/damieng/graphical_editor/loncapa_daxe/web/parameters.xml, revision 1.3
1.1 damieng 1: <?xml version="1.0" encoding="UTF-8"?>
2:
3: <!--
4: Implemented parameters, suggested based on the first matching context.
5: We might want to create this file dynamically (not sure if this would be useful, but the list should be unique,
6: although not all parameters make sense in the editor, so we might need to specify which ones do).
7: TODO: Check which parameters should be in problem and which should be in part, and adjust document conversion.
8: NOTE: Not sure if the "part_0" parameters defined in packages.tab should be here...
9: -->
10:
11: <parameters>
12: <context ancestor="problem">
1.2 damieng 13: <!-- these ones are also in part -->
14: <parameter>
15: <name>weight</name>
16: <type>float_pos</type>
17: <default>1</default>
18: <title lang="en">Weight</title>
19: </parameter>
20: <parameter>
21: <name>maxtries</name>
22: <type>int_pos</type>
23: <default>99</default>
24: <title lang="en">Maximum Number of Tries</title>
25: </parameter>
26: <parameter>
27: <name>hinttries</name>
28: <type>int_pos</type>
29: <default>1</default>
30: <title lang="en">Number of Tries before hints appear</title>
31: </parameter>
32: <parameter>
33: <name>type</name>
34: <type>string_questiontype</type>
35: <title lang="en">Question Type</title>
36: </parameter>
37: <parameter>
38: <name>randomizeontries</name>
39: <type>int_pos</type>
40: <title lang="en">Tries before new Variation (if Qn. Type=randomizetry)</title>
41: </parameter>
42: <parameter>
43: <name>problemstatus</name>
44: <type>string_problemstatus</type>
45: <default>yes</default>
46: <title lang="en">Show Problem Status</title>
47: </parameter>
48: <parameter>
49: <name>display</name>
50: <type>string</type>
51: <title lang="en">Part Description</title>
52: </parameter>
53: <parameter>
54: <name>ordered</name>
55: <type>string_yesno</type>
56: <default>no</default>
57: <title lang="en">Show Parts One-at-a-Time</title>
58: </parameter>
59: <parameter>
60: <name>retrypartial</name>
61: <type>string_yesno</type>
62: <default>no</default>
63: <title lang="en">Partially correct is answerable</title>
64: </parameter>
65: <parameter>
1.3 ! damieng 66: <name>acc</name>
! 67: <type>string_ip</type>
! 68: <title lang="en">Client IP/Name Access Control</title>
! 69: </parameter>
! 70: <parameter>
1.2 damieng 71: <name>printstartdate</name>
72: <type>date_start</type>
73: <title lang="en">Print start date</title>
74: </parameter>
75: <parameter>
76: <name>printenddate</name>
77: <type>date_end</type>
78: <title lang="en">Print end date</title>
79: </parameter>
80: <!-- end of the parameters also in part -->
1.1 damieng 81: <parameter>
82: <name>opendate</name>
83: <type>date_start</type>
84: <title lang="en">Problem Opening Date</title>
85: </parameter>
86: <parameter>
87: <name>duedate</name>
88: <type>date_end</type>
89: <title lang="en">Problem Due Date</title>
90: </parameter>
91: <parameter>
92: <name>answerdate</name>
93: <type>date_start</type>
94: <title lang="en">Problem Answer Date</title>
95: </parameter>
96: </context>
97: <context ancestor="part">
98: <parameter>
99: <name>weight</name>
100: <type>float_pos</type>
101: <default>1</default>
102: <title lang="en">Weight</title>
103: </parameter>
104: <parameter>
105: <name>maxtries</name>
106: <type>int_pos</type>
107: <default>99</default>
108: <title lang="en">Maximum Number of Tries</title>
109: </parameter>
110: <parameter>
111: <name>hinttries</name>
112: <type>int_pos</type>
113: <default>1</default>
114: <title lang="en">Number of Tries before hints appear</title>
115: </parameter>
116: <parameter>
117: <name>type</name>
118: <type>string_questiontype</type>
119: <title lang="en">Question Type</title>
120: </parameter>
121: <parameter>
122: <name>randomizeontries</name>
123: <type>int_pos</type>
124: <title lang="en">Tries before new Variation (if Qn. Type=randomizetry)</title>
125: </parameter>
126: <parameter>
127: <name>problemstatus</name>
128: <type>string_problemstatus</type>
129: <default>yes</default>
130: <title lang="en">Show Problem Status</title>
131: </parameter>
132: <parameter>
133: <name>display</name>
134: <type>string</type>
135: <title lang="en">Part Description</title>
136: </parameter>
137: <parameter>
138: <name>ordered</name>
139: <type>string_yesno</type>
140: <default>no</default>
141: <title lang="en">Show Parts One-at-a-Time</title>
142: </parameter>
143: <parameter>
144: <name>retrypartial</name>
145: <type>string_yesno</type>
146: <default>no</default>
147: <title lang="en">Partially correct is answerable</title>
148: </parameter>
1.2 damieng 149: <parameter>
1.3 ! damieng 150: <name>acc</name>
! 151: <type>string_ip</type>
! 152: <title lang="en">Client IP/Name Access Control</title>
! 153: </parameter>
! 154: <parameter>
1.2 damieng 155: <name>printstartdate</name>
156: <type>date_start</type>
157: <title lang="en">Print start date</title>
158: </parameter>
159: <parameter>
160: <name>printenddate</name>
161: <type>date_end</type>
162: <title lang="en">Print end date</title>
163: </parameter>
1.1 damieng 164: </context>
165: <context ancestor="numericalhint">
166: <parameter>
167: <name>tol</name>
168: <type>tolerance</type>
169: <default>5%</default>
170: <title lang="en">Numerical Tolerance</title>
171: </parameter>
172: <parameter>
173: <name>sig</name>
174: <type>int_range,0-16</type>
175: <title lang="en">Significant Figures</title>
176: </parameter>
177: </context>
178: <context ancestor="numericalresponse">
179: <parameter>
180: <name>tol</name>
181: <type>tolerance</type>
182: <default>5%</default>
183: <title lang="en">Numerical Tolerance</title>
184: </parameter>
185: <parameter>
186: <name>sig</name>
187: <type>int_range</type>
188: <title lang="en">Significant Digits</title>
189: </parameter>
190: <parameter>
191: <name>turnoffunit</name>
192: <type>string_yesno</type>
193: <default>no</default>
194: <title lang="en">Show Units - Disable Entry</title>
195: </parameter>
196: <parameter>
197: <name>numbubbles</name>
198: <type>int_pos</type>
199: <default>8</default>
200: <title lang="en">Number of bubbles in bubblesheet exam mode</title>
201: </parameter>
202: <parameter>
203: <name>allowalgebra</name>
204: <type>string_yesno</type>
205: <default>no</default>
206: <title lang="en">Allow algebraic entry</title>
207: </parameter>
208: <parameter>
209: <name>customunits</name>
210: <type>string_any</type>
211: <title lang="en">Custom-defined Units</title>
212: </parameter>
213: </context>
214: <context ancestor="formularesponse">
215: <parameter>
216: <name>tol</name>
217: <type>tolerance</type>
218: <default>0.00000000001</default>
219: <title lang="en">Numerical Tolerance</title>
220: </parameter>
221: <parameter>
222: <name>turnoffeditor</name>
223: <type>string_yesno</type>
224: <default>no</default>
225: <title lang="en">Hide DragMath-Editor</title>
226: </parameter>
227: </context>
228: <context ancestor="essayresponse">
229: <parameter>
230: <name>handgrade</name>
231: <type>string_yesno</type>
232: <default>yes</default>
233: <title lang="en">Hand Graded</title>
234: </parameter>
235: <parameter>
236: <name>maxcollaborators</name>
237: <type>int_zeropos</type>
238: <default>0</default>
239: <title lang="en">Maximum Number of Collaborators</title>
240: </parameter>
241: <parameter>
242: <name>uploadedfiletypes</name>
243: <type>string_fileext</type>
244: <title lang="en">Allowed File Extensions for Uploaded Files</title>
245: </parameter>
246: <parameter>
247: <name>maxfilesize</name>
248: <type>float_pos</type>
249: <default>10.0</default>
250: <title lang="en">Max. cumulative size (MB) for submitted files</title>
251: </parameter>
252: </context>
253: <context ancestor="externalresponse">
254: <parameter>
255: <name>uploadedfiletypes</name>
256: <type>string_fileext</type>
257: <title lang="en">Allowed File Extensions for Uploaded Files</title>
258: </parameter>
259: <parameter>
260: <name>maxfilesize</name>
261: <type>float_pos</type>
262: <default>10.0</default>
263: <title lang="en">Max. cumulative size (MB) for submitted files</title>
264: </parameter>
265: <parameter>
266: <name>maxcollaborators</name>
267: <type>int_zeropos</type>
268: <default>0</default>
269: <title lang="en">Maximum Number of Collaborators</title>
270: </parameter>
271: </context>
272: <context ancestor="mathresponse">
273: <parameter>
274: <name>turnoffeditor</name>
275: <type>string_yesno</type>
276: <default>no</default>
277: <title lang="en">Hide DragMath-Editor</title>
278: </parameter>
279: </context>
280: <context ancestor="optionresponse">
281: <parameter>
282: <name>lenient</name>
283: <type>string_lenient</type>
284: <default>default</default>
285: <title lang="en">Lenient Grading (Partial Credit)</title>
286: </parameter>
287: </context>
288: <context ancestor="matchresponse">
289: <parameter>
290: <name>lenient</name>
291: <type>string_lenient</type>
292: <default>default</default>
293: <title lang="en">Lenient Grading (Partial Credit)</title>
294: </parameter>
295: </context>
1.3 ! damieng 296: <!-- these responses do not have predefined parameters -->
! 297: <context ancestor="radiobuttonresponse">
! 298: </context>
! 299: <context ancestor="stringresponse">
! 300: </context>
! 301: <context ancestor="rankresponse">
! 302: </context>
! 303: <context ancestor="organicresponse">
! 304: </context>
! 305: <context ancestor="reactionresponse">
! 306: </context>
! 307: <context ancestor="functionplotresponse">
! 308: </context>
! 309: <context ancestor="imageresponse">
! 310: </context>
! 311: <context ancestor="customresponse">
! 312: </context>
1.1 damieng 313: </parameters>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>