Annotation of modules/damieng/graphical_editor/loncapa_daxe/web/parameters.xml, revision 1.2
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>acc</name>
! 44: <type>string_ip</type>
! 45: <title lang="en">Client IP/Name Access Control</title>
! 46: </parameter>
! 47: <parameter>
! 48: <name>problemstatus</name>
! 49: <type>string_problemstatus</type>
! 50: <default>yes</default>
! 51: <title lang="en">Show Problem Status</title>
! 52: </parameter>
! 53: <parameter>
! 54: <name>display</name>
! 55: <type>string</type>
! 56: <title lang="en">Part Description</title>
! 57: </parameter>
! 58: <parameter>
! 59: <name>ordered</name>
! 60: <type>string_yesno</type>
! 61: <default>no</default>
! 62: <title lang="en">Show Parts One-at-a-Time</title>
! 63: </parameter>
! 64: <parameter>
! 65: <name>retrypartial</name>
! 66: <type>string_yesno</type>
! 67: <default>no</default>
! 68: <title lang="en">Partially correct is answerable</title>
! 69: </parameter>
! 70: <parameter>
! 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>acc</name>
128: <type>string_ip</type>
129: <title lang="en">Client IP/Name Access Control</title>
130: </parameter>
131: <parameter>
132: <name>problemstatus</name>
133: <type>string_problemstatus</type>
134: <default>yes</default>
135: <title lang="en">Show Problem Status</title>
136: </parameter>
137: <parameter>
138: <name>display</name>
139: <type>string</type>
140: <title lang="en">Part Description</title>
141: </parameter>
142: <parameter>
143: <name>ordered</name>
144: <type>string_yesno</type>
145: <default>no</default>
146: <title lang="en">Show Parts One-at-a-Time</title>
147: </parameter>
148: <parameter>
149: <name>retrypartial</name>
150: <type>string_yesno</type>
151: <default>no</default>
152: <title lang="en">Partially correct is answerable</title>
153: </parameter>
1.2 ! damieng 154: <parameter>
! 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>
296: </parameters>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>