Annotation of modules/damieng/graphical_editor/loncapa_daxe/web/parameters.xml, revision 1.1
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">
! 13: <parameter>
! 14: <name>opendate</name>
! 15: <type>date_start</type>
! 16: <title lang="en">Problem Opening Date</title>
! 17: </parameter>
! 18: <parameter>
! 19: <name>duedate</name>
! 20: <type>date_end</type>
! 21: <title lang="en">Problem Due Date</title>
! 22: </parameter>
! 23: <parameter>
! 24: <name>answerdate</name>
! 25: <type>date_start</type>
! 26: <title lang="en">Problem Answer Date</title>
! 27: </parameter>
! 28: </context>
! 29: <context ancestor="part">
! 30: <parameter>
! 31: <name>weight</name>
! 32: <type>float_pos</type>
! 33: <default>1</default>
! 34: <title lang="en">Weight</title>
! 35: </parameter>
! 36: <parameter>
! 37: <name>maxtries</name>
! 38: <type>int_pos</type>
! 39: <default>99</default>
! 40: <title lang="en">Maximum Number of Tries</title>
! 41: </parameter>
! 42: <parameter>
! 43: <name>hinttries</name>
! 44: <type>int_pos</type>
! 45: <default>1</default>
! 46: <title lang="en">Number of Tries before hints appear</title>
! 47: </parameter>
! 48: <parameter>
! 49: <name>type</name>
! 50: <type>string_questiontype</type>
! 51: <title lang="en">Question Type</title>
! 52: </parameter>
! 53: <parameter>
! 54: <name>randomizeontries</name>
! 55: <type>int_pos</type>
! 56: <title lang="en">Tries before new Variation (if Qn. Type=randomizetry)</title>
! 57: </parameter>
! 58: <parameter>
! 59: <name>printstartdate</name>
! 60: <type>date_start</type>
! 61: <title lang="en">Print start date</title>
! 62: </parameter>
! 63: <parameter>
! 64: <name>printenddate</name>
! 65: <type>date_end</type>
! 66: <title lang="en">Print end date</title>
! 67: </parameter>
! 68: <parameter>
! 69: <name>acc</name>
! 70: <type>string_ip</type>
! 71: <title lang="en">Client IP/Name Access Control</title>
! 72: </parameter>
! 73: <parameter>
! 74: <name>problemstatus</name>
! 75: <type>string_problemstatus</type>
! 76: <default>yes</default>
! 77: <title lang="en">Show Problem Status</title>
! 78: </parameter>
! 79: <parameter>
! 80: <name>display</name>
! 81: <type>string</type>
! 82: <title lang="en">Part Description</title>
! 83: </parameter>
! 84: <parameter>
! 85: <name>ordered</name>
! 86: <type>string_yesno</type>
! 87: <default>no</default>
! 88: <title lang="en">Show Parts One-at-a-Time</title>
! 89: </parameter>
! 90: <parameter>
! 91: <name>retrypartial</name>
! 92: <type>string_yesno</type>
! 93: <default>no</default>
! 94: <title lang="en">Partially correct is answerable</title>
! 95: </parameter>
! 96: </context>
! 97: <context ancestor="numericalhint">
! 98: <parameter>
! 99: <name>tol</name>
! 100: <type>tolerance</type>
! 101: <default>5%</default>
! 102: <title lang="en">Numerical Tolerance</title>
! 103: </parameter>
! 104: <parameter>
! 105: <name>sig</name>
! 106: <type>int_range,0-16</type>
! 107: <title lang="en">Significant Figures</title>
! 108: </parameter>
! 109: </context>
! 110: <context ancestor="numericalresponse">
! 111: <parameter>
! 112: <name>tol</name>
! 113: <type>tolerance</type>
! 114: <default>5%</default>
! 115: <title lang="en">Numerical Tolerance</title>
! 116: </parameter>
! 117: <parameter>
! 118: <name>sig</name>
! 119: <type>int_range</type>
! 120: <title lang="en">Significant Digits</title>
! 121: </parameter>
! 122: <parameter>
! 123: <name>turnoffunit</name>
! 124: <type>string_yesno</type>
! 125: <default>no</default>
! 126: <title lang="en">Show Units - Disable Entry</title>
! 127: </parameter>
! 128: <parameter>
! 129: <name>numbubbles</name>
! 130: <type>int_pos</type>
! 131: <default>8</default>
! 132: <title lang="en">Number of bubbles in bubblesheet exam mode</title>
! 133: </parameter>
! 134: <parameter>
! 135: <name>allowalgebra</name>
! 136: <type>string_yesno</type>
! 137: <default>no</default>
! 138: <title lang="en">Allow algebraic entry</title>
! 139: </parameter>
! 140: <parameter>
! 141: <name>customunits</name>
! 142: <type>string_any</type>
! 143: <title lang="en">Custom-defined Units</title>
! 144: </parameter>
! 145: </context>
! 146: <context ancestor="formularesponse">
! 147: <parameter>
! 148: <name>tol</name>
! 149: <type>tolerance</type>
! 150: <default>0.00000000001</default>
! 151: <title lang="en">Numerical Tolerance</title>
! 152: </parameter>
! 153: <parameter>
! 154: <name>turnoffeditor</name>
! 155: <type>string_yesno</type>
! 156: <default>no</default>
! 157: <title lang="en">Hide DragMath-Editor</title>
! 158: </parameter>
! 159: </context>
! 160: <context ancestor="essayresponse">
! 161: <parameter>
! 162: <name>handgrade</name>
! 163: <type>string_yesno</type>
! 164: <default>yes</default>
! 165: <title lang="en">Hand Graded</title>
! 166: </parameter>
! 167: <parameter>
! 168: <name>maxcollaborators</name>
! 169: <type>int_zeropos</type>
! 170: <default>0</default>
! 171: <title lang="en">Maximum Number of Collaborators</title>
! 172: </parameter>
! 173: <parameter>
! 174: <name>uploadedfiletypes</name>
! 175: <type>string_fileext</type>
! 176: <title lang="en">Allowed File Extensions for Uploaded Files</title>
! 177: </parameter>
! 178: <parameter>
! 179: <name>maxfilesize</name>
! 180: <type>float_pos</type>
! 181: <default>10.0</default>
! 182: <title lang="en">Max. cumulative size (MB) for submitted files</title>
! 183: </parameter>
! 184: </context>
! 185: <context ancestor="externalresponse">
! 186: <parameter>
! 187: <name>uploadedfiletypes</name>
! 188: <type>string_fileext</type>
! 189: <title lang="en">Allowed File Extensions for Uploaded Files</title>
! 190: </parameter>
! 191: <parameter>
! 192: <name>maxfilesize</name>
! 193: <type>float_pos</type>
! 194: <default>10.0</default>
! 195: <title lang="en">Max. cumulative size (MB) for submitted files</title>
! 196: </parameter>
! 197: <parameter>
! 198: <name>maxcollaborators</name>
! 199: <type>int_zeropos</type>
! 200: <default>0</default>
! 201: <title lang="en">Maximum Number of Collaborators</title>
! 202: </parameter>
! 203: </context>
! 204: <context ancestor="mathresponse">
! 205: <parameter>
! 206: <name>turnoffeditor</name>
! 207: <type>string_yesno</type>
! 208: <default>no</default>
! 209: <title lang="en">Hide DragMath-Editor</title>
! 210: </parameter>
! 211: </context>
! 212: <context ancestor="optionresponse">
! 213: <parameter>
! 214: <name>lenient</name>
! 215: <type>string_lenient</type>
! 216: <default>default</default>
! 217: <title lang="en">Lenient Grading (Partial Credit)</title>
! 218: </parameter>
! 219: </context>
! 220: <context ancestor="matchresponse">
! 221: <parameter>
! 222: <name>lenient</name>
! 223: <type>string_lenient</type>
! 224: <default>default</default>
! 225: <title lang="en">Lenient Grading (Partial Credit)</title>
! 226: </parameter>
! 227: </context>
! 228: </parameters>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>