Subversion Repositories wimsdev

Rev

Rev 7461 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2376 schaersvoo 1
!set phtmldir=authors/jm.evers/phtml
2
!set jsdir=scripts/authors/jm.evers/js
3
!set gifdir=scripts/authors/jm.evers/gifs
837 schaersvoo 4
 
718 schaersvoo 5
!set max_s=40
338 schaersvoo 6
!header
7
!form new
8
!set s=0
9
!for p=1 to 100
10
    !set competence=!record $[-1*$p] of lang/remarks.$taal
11
    !if $competence=$empty
12
        !goto READY
13
    !else    
14
        !increase s
718 schaersvoo 15
        !if # isin $competence
16
            !set competence=!replace internal # by $empty in $competence
17
            !set selecttext=!append line <option value="$s"></option> to $selecttext
18
        !endif
338 schaersvoo 19
        !set sum=!append word <li>$competence</li> to $sum
20
        !set selecttext=!append line <option value="$s">$competence</option> to $selecttext
21
    !endif
22
!next p
23
:READY
5731 schaersvoo 24
    <input type="hidden" name="module" value="$module" />
12523 schaersvoo 25
    <hr style="width:50%" />
5889 schaersvoo 26
        <p style="text-align:center">
5857 schaersvoo 27
            <span style="color:red">
338 schaersvoo 28
                <em>
5857 schaersvoo 29
                    <a onmouseover="return escape('$module_title<br /> is a Dutch WIMS module produced by <em>SCHAERSVOORDE AALTEN</em></b><br /><img src=\'$gifdir/schaersvoorde.jpg\' alt=\'schaersvoorde\' />')">
1094 schaersvoo 30
                        Configuration section
31
                    </a>
338 schaersvoo 32
                </em>
5857 schaersvoo 33
            </span>
338 schaersvoo 34
        </p>
12523 schaersvoo 35
    <hr style="width:50%" />
5889 schaersvoo 36
    <div style="vertical-align:top;margin-left:20%;margin-right:auto;width:100%;background-color:#fffff0;">
5857 schaersvoo 37
        <table>
977 schaersvoo 38
            <tr>
338 schaersvoo 39
            <td>
5889 schaersvoo 40
                <p style="text-align:left">
338 schaersvoo 41
                !if $translated=0
2376 schaersvoo 42
                    !! mylanguages are defined in the actual module (intro.phtml)
5807 schaersvoo 43
                    <a onmouseover="return escape('Sorry<br />No support for $lang')">
338 schaersvoo 44
                        <small>
45
                            <em>
5857 schaersvoo 46
                                <span style="color:red">
5807 schaersvoo 47
                                Sorry,<br />
48
                                but the supported languages of this module are: <b>$talen</b><br />
49
                                And at this moment there is no support for <b>$lang</b><br />
338 schaersvoo 50
                                The module is native to Dutch, but will default to English
5857 schaersvoo 51
                                </span>
338 schaersvoo 52
                            </em>
53
                        </small>
54
                    </a>
718 schaersvoo 55
                    !set taal=en
338 schaersvoo 56
                !endif
5889 schaersvoo 57
                <p style="text-align:left">
5807 schaersvoo 58
                     <a onmouseover="return escape('<ol>$sum</ol><br />This module has $s different subjects or topics<br />normally, each subject has 4 levels')">
5857 schaersvoo 59
                        Which <span style="color:blue">topic</span> ?:
718 schaersvoo 60
                    </a>
338 schaersvoo 61
                    <select name="subject">
62
                        !for p=1 to $s
63
                            !line $p of $selecttext
64
                        !next p
65
                    </select>
66
                </p>
5889 schaersvoo 67
                <p style="text-align:left">
5807 schaersvoo 68
                    <a onmouseover="return escape('Every subject can have 4 difficulty levels <br />and  default level is <em>increasing</em>')">
5857 schaersvoo 69
                        Set the difficulty <span style="color:blue">level</span> of this exercise:
338 schaersvoo 70
                    </a>
71
                    <select name="level">
5857 schaersvoo 72
                        <option value="0">increasing</option>
73
                        <option value="1">easy</option>
74
                        <option value="2">normal</option>
75
                        <option value="3">difficult</option>
76
                        <option value="4">very difficult</option>
338 schaersvoo 77
                    </select>
78
                </p>
5889 schaersvoo 79
                <p style="text-align:left">
338 schaersvoo 80
                    <a onmouseover="return escape('All exercises have a maximium of 10 questions in a row for 1 score')">
5857 schaersvoo 81
                        Set the <span style="color:blue">number</span> of exercises:
338 schaersvoo 82
                    </a>
5731 schaersvoo 83
                    <input size="10" name="total_exos" value="3" />
338 schaersvoo 84
                </p>
5889 schaersvoo 85
                <p style="text-align:left">
5807 schaersvoo 86
                    <a onmouseover="return escape('What accuracy do we want in numerical answers?<br /><em>Mathematical precise</em> meaning <em>1.4142</em> is not without penalty accepted as <em>&radic;2</em></em><br />The default is <em>not applicable</em> meaning: let the exercise decide ...<br />note: the module can always override your settings')">
5857 schaersvoo 87
                        <span style="color:blue">accuracy</span> of the answer?
338 schaersvoo 88
                    </a>
89
                    <select name="rounding">
5857 schaersvoo 90
                        <option value="-1">not applicable</option>
91
                        <option value="0">mathematical precise</option>
92
                        <option value="100000">5 decimals</option>
93
                        <option value="10000">4 decimals</option>
94
                        <option value="1000">3 decimals</option>
95
                        <option value="100">2 decimals</option>
96
                        <option value="10">1 decimal</option>
97
                        <option value="1">integers</option>
338 schaersvoo 98
                    </select>
99
                </p>
100
                !if $usage=$empty
5889 schaersvoo 101
                <p style="text-align:left">
6851 schaersvoo 102
                    <a onmouseover="return escape('This can give some <em>default config settings</em><ul><li>formal exam meaning very strict answer_checking and <em>just the score</em> at the end without access to right answer <li>test exam with a less rigid checking regime, but still just the score at the end of the test<li>training giving all available teaching support and full disclosure of the correct answer, sometimes including extra information <li>select yourself gives you a <em>new menu</em> with access to <em>all</em> available adjustments<br />like Mathpreview, TeXsize, Images, Support, Calculators , Timelimits <br />And with the option to generate a set of HTML hyperlinks towards your specific settings of this exercise<li>printer version gives a new menu <br />where you can adjust the exercise for a papertest<br /><em>Only if the exercise is useful on paper: applets and other noisy questionstyles excluded</em> <br />also <em>resize images</em> and even re-arrange the exercise elements into a good looking papertest (using a cross browser DHTML)<br />There is a <em>hardcoded</em> limit to the number of questions in a row</ul> ')">
5857 schaersvoo 103
                        Set the <span style="color:blue">usage</span> of this exercise:
338 schaersvoo 104
                    </a>
105
                    <select name="usage">
5857 schaersvoo 106
                        <option value="2">used for training :)</option>
107
                        <option value="4">select yourself</option>
108
                        <option value="3">printerversion of exercise</option>
109
                        <option value="1">used for testexam</option>
110
                        <option value="0">used in formal exam</option>
111
                        <option value="6">all deep html hyperlinks to this module</option>
338 schaersvoo 112
                    </select>
113
                </p>
114
                !endif
5889 schaersvoo 115
                <p style="text-align:center">
116
                    <input type="hidden" name="taal" value="$taal" />
117
                    <input style="background-color:#afceff;color:black;font-weight:normal;font-size:16px;text-align:center;" type="submit"  value="CONFIGURATION IS OK" />
118
                </p>
338 schaersvoo 119
            </td>
120
            !if $usage=3 or $usage=4
5731 schaersvoo 121
            <input type="hidden" name="usage" value="5" />
977 schaersvoo 122
            </tr><tr>
338 schaersvoo 123
            <td>
12523 schaersvoo 124
            <hr style="width:50%" />
338 schaersvoo 125
                !if devel isin $module_dir
5889 schaersvoo 126
                <p style="text-align:left">
338 schaersvoo 127
                    Freestyle ,Multiplechoice ,Drag&Drop?
5807 schaersvoo 128
                    <a onmouseover="return escape('This variable can be set differently <br />or individually in a exo files.<br />Not every freestyle module can be made multiplechoice by choosing this $$questiontype here<br /><br />A module using GeoGebra for a certain $$subject will do so<br />independant of what you set here...')">
5857 schaersvoo 129
                        <span style="color:blue">or GeoGebra</span>
338 schaersvoo 130
                    </a>
131
                    <select name="questiontype">
5857 schaersvoo 132
                        <option value="0">Freestyle answers</option>
133
                        <option value="1">Multiplechoice</option>
134
                        <option value="2">Drag & Drop</option>
135
                        <option value="3">Hotspot</option>
136
                        <option value="0"></option>
137
                        <option value="0"></option>
138
                        <option value="0"></option>
139
                        <option value="4">GeoGebra</option>
140
                        <option value="5">GeoGebra+image</option>
141
                        <option value="6">Roll your own</option>
338 schaersvoo 142
                    </select>
143
                </p>
5889 schaersvoo 144
                <p style="text-align:left">
5807 schaersvoo 145
                    <a onmouseover="return escape('If You are using this template for development of a jm.evers module<br />Would you like some info on the variables <br />used by the module<br />This info is available through the help-pages')">
5857 schaersvoo 146
                        <span style="color:blue">Development debug</span> information in the help-pages
338 schaersvoo 147
                    </a>
148
                    <select name="debug">
5857 schaersvoo 149
                        <option value="0">no</option>
150
                        <option value="1">yes</option>
338 schaersvoo 151
                    </select>
152
                </p>
153
                !endif
5889 schaersvoo 154
                <p style="text-align:left">
5807 schaersvoo 155
                    <a onmouseover="return escape('This has a hardcoded maximum of 100.<br />If the amount of returns of an exercise -due to syntax based errors- exceeds this value, the score will be a <b>1</b>')">
5857 schaersvoo 156
                        Set the number of <span style="color:blue">maximum returns</span> for syntax errors:
338 schaersvoo 157
                    </a>
5731 schaersvoo 158
                    <input size="5" name="maxtry" value="5" />
338 schaersvoo 159
                </p>
5889 schaersvoo 160
                <p style="text-align:left">
5807 schaersvoo 161
                    <a onmouseover="return escape('If set to yes, there will be more consideration with the student<br />Small errors will be returned for correction.<br /> Some special help-pages <em>may</em> be offered.<br />If possible and usefull ,there will always be a graph or illustration available<br />The default value is <em>yes</em>')">
5857 schaersvoo 162
                        Some <span style="color:blue">training support</span> for the student
338 schaersvoo 163
                    </a>
164
                    <select name="teaching">
5857 schaersvoo 165
                        <option value="1">yes</option>
166
                        <option value="0">no</option>
338 schaersvoo 167
                    </select>
168
                </p>
5889 schaersvoo 169
                <p style="text-align:left">
5807 schaersvoo 170
                    <a onmouseover="return escape('If the exercise has an image or a functionplot -and it is not vital to the exercise- should we show it?<br />Default is <b>yes</b>')">
5857 schaersvoo 171
                        If appropriate an <span style="color:blue">illustration</span> ?
338 schaersvoo 172
                    </a>
173
                    <select name="image">
5857 schaersvoo 174
                        <option value="1">yes</option>
175
                        <option value="0">no</option>
338 schaersvoo 176
                    </select>
177
                </p>
178
                !if $usage=3
5731 schaersvoo 179
                    <input type="hidden" name="printexo" value="1" />
338 schaersvoo 180
                !endif
181
                !if $usage=4
5889 schaersvoo 182
                <p style="text-align:left">
338 schaersvoo 183
                    <a onmouseover="return escape('this variable can be overruled by the exercise, and there is a hardcoded maximum to this...')">
5857 schaersvoo 184
                        In case of multiplechoice ,Drag&Drop or multiple items, how <span style="color:blue">many items</span>
338 schaersvoo 185
                    </a>
5731 schaersvoo 186
                    <input size="5" name="options" value="4" />
338 schaersvoo 187
                </p>
5889 schaersvoo 188
                <p style="text-align:left">
5857 schaersvoo 189
                    <a onmouseover="return escape('If set to <b>yes</b> a OK-sign will be shown to the student, if a sub-question is answered correctly <img src=\'$gifdir/ok.gif\' alt=\'ok\' /> <img src=\'$gifdir/bok.gif\' alt=\'bok\' /> <img src=\'$gifdir/nok.gif\' alt=\'nok\' /><br />Or even a random -sometimes funny- remark along with it? ')">
190
                        A <span style="color:blue">Good (OK) or Bad (NOK)</span> in between exercises?
338 schaersvoo 191
                    </a>
192
                    <select name="goodbadsign">
5857 schaersvoo 193
                        <option value="2">Yes and a remark</option>
194
                        <option value="1">yes</option>
195
                        <option value="0">no</option>
338 schaersvoo 196
                    </select>
197
                </p>
5889 schaersvoo 198
                <p style="text-align:left">
5807 schaersvoo 199
                    <a onmouseover="return escape('Do you want to show the <em>correct answer</em> at the end of the test<br />Default is <em>yes</em>')">
5857 schaersvoo 200
                        Show the correct answer <span style="color:blue">at the end</span> of the exercise ?
338 schaersvoo 201
                    </a>
202
                    <select name="showanswer">
5857 schaersvoo 203
                        <option value="1">yes</option>
204
                        <option value="0">no</option>
338 schaersvoo 205
                    </select>
206
                </p>
5889 schaersvoo 207
                <p style="text-align:left">
5857 schaersvoo 208
                    <a onmouseover="return escape('Do you want to use a certain type of Javascript Calculator<br /><img src=\'$gifdir/basic.jpg\' alt=\'basic\' /><img src=\'$gifdir/science.jpg\' alt=\'science\' />')">
209
                        A PopUp javascript<span style="color:blue"> Calculator?</span>
338 schaersvoo 210
                    </a>
211
                    <select name="calculator">
5857 schaersvoo 212
                        <option value="1">very basic model</option>
213
                        <option value="2">"scientific" model</option>
214
                        <option value="3">command line applet</option>
215
                        <option value="0">no calculators</option>
338 schaersvoo 216
                    </select>
217
                </p>
5889 schaersvoo 218
                <p style="text-align:left">
338 schaersvoo 219
                    <a onmouseover="return escape('Do you want to offer a scribbling block, e.g. a textarea for calculations? ')">
5857 schaersvoo 220
                        A PopUp <span style="color:blue">Scribbling-block?</span>
338 schaersvoo 221
                    </a>
222
                    <select name="scribbling">
5857 schaersvoo 223
                        <option value="1">Yes</option>
224
                        <option value="0">No</option>
338 schaersvoo 225
                    </select>
226
                </p>
5889 schaersvoo 227
                <p style="text-align:left">
338 schaersvoo 228
                    <a onmouseover="return escape('This gives a very small running clock')">
5857 schaersvoo 229
                        A simple <span style="color:blue">JS clock?</span>
338 schaersvoo 230
                    </a>
231
                    <select name="time">
5857 schaersvoo 232
                        <option value="1">yes</option>
233
                        <option value="0">no clock</option>
338 schaersvoo 234
                    </select>
235
                </p>
5889 schaersvoo 236
                <p style="text-align:left">
338 schaersvoo 237
                    <a onmouseover="return escape('The time limit is not yet implemented')">
5857 schaersvoo 238
                        <span style="color:blue">Time limit</span> per exercise
338 schaersvoo 239
                    </a>
5731 schaersvoo 240
                    <input size="15" name="duration" value="not implemented" /> minutes
338 schaersvoo 241
                </p>
5889 schaersvoo 242
                <p style="text-align:left">
5857 schaersvoo 243
                    <a onmouseover="return escape('<img src=\'$gifdir/math.jpg\' alt=\'math\' /><br />There are <b>two</b> options<ol><li>Using a Java Applet</li><li>Using the insmath_function of WIMS giving a gif-image of the formula</li></ol>Both options send the answer directly to WIMS server.<br />On busy or slow Wims Servers, the applet is prefered')">
244
                        A <span style="color:blue">Math formula Input </span> field?
338 schaersvoo 245
                    </a>
246
                    <select name="mathview">
7456 schaersvoo 247
                        <option value="4">Use optional HTML5 mathinput</option>
248
                        <option value="5">Use only HTML5 mathinput</option>
5857 schaersvoo 249
                        <option value="0">No , use only Normal TextArea</option>
250
                        <option value="3">Yes , use JAVA Applet</option>
251
                        <option value="2">Option : JAVA Applet</option>
252
                        <option value="1">Option : WIMS Math</option>
338 schaersvoo 253
                    </select>
254
                </p>
5889 schaersvoo 255
                <p style="text-align:left">
5857 schaersvoo 256
                    <a onmouseover="return escape('Here you can control the size of the mathematical inserts<br />The module can always overrule this value <ul><li><img src=\'$gifdir/4.gif\' alt=\'4\' />+4</li><li><img src=\'$gifdir/3.gif\' alt=\'3\' />+3</li><li><img src=\'$gifdir/2.gif\' alt=\'2\' />+2</li><li><img src=\'$gifdir/1.gif\' alt=\'1\' />+1</li><li><img src=\'$gifdir/0.gif\' alt=\'0\' />0</li><li><img src=\'$gifdir/-1.gif\' alt=\'-1\' />-1</li><li><img src=\'$gifdir/-2.gif\' alt=\'-2\' />-2</li><li><img src=\'$gifdir/-3.gif\' alt=\'-3\' />-3</li><li><img src=\'$gifdir/-4.gif\' alt=\'-4\' />-4</li></ul>')">
257
                        Adjust the size of <span style="color:blue">LaTeX Math</span> ?
338 schaersvoo 258
                    </a>
259
                    <select name="mytexsize">
260
                        <option value="0">leave intact</option>
261
                        <option value="+4">+4</option>
262
                        <option value="+3">+3</option>
263
                        <option value="+2">+2</option>
264
                        <option value="+1">+1</option>
265
                        <option value="-1">-1</option>
266
                        <option value="-2">-2</option>
267
                        <option value="-3">-3</option>
268
                        <option value="-4">-4</option>
269
                    </select>
270
                </p>
271
 
5889 schaersvoo 272
                <p style="text-align:left">
5807 schaersvoo 273
                    <a onmouseover="return escape('If set to <em>yes</em> it disables the use of <em>cut and paste</em> from the page into the input area<br />Sometimes Handy, if you want the students to write their own answers... ')">
5857 schaersvoo 274
                        Disable <span style="color:blue">Mouse Text selection</span> ?
338 schaersvoo 275
                    </a>
276
                    <select name="noselect">
5857 schaersvoo 277
                        <option value="1">yes</option>
278
                        <option value="0">no</option>
338 schaersvoo 279
                    </select>
280
                </p>
281
 
5889 schaersvoo 282
                <p style="text-align:left">
5807 schaersvoo 283
                    <a onmouseover="return escape('If set to <em>yes</em> we will generate a series of hyperlinks towards this exercise,<br />with </b>all</b> the specific exercise settings, you\'ve decided on.<br />Use for instance <em>cut and paste</em> to merge the exercise links in your homepage , schoolwebsite or your Electronic Learning System ')">
5857 schaersvoo 284
                        Generate <span style="color:blue">Hyperlinks</span> to this specific exercise ?
338 schaersvoo 285
                    </a>
286
                    <select name="printexo">
5857 schaersvoo 287
                        <option value="0">no</option>
288
                        <option value="2">yes</option>
338 schaersvoo 289
                    </select>
290
                </p>
291
                !endif
292
            </td>
293
            !endif
294
            !if $usage=6
977 schaersvoo 295
                </tr><tr>
338 schaersvoo 296
                <td>
5807 schaersvoo 297
                    <hr />
298
                    <hr />
338 schaersvoo 299
                        !changeto lang/module.$taal.phtml
5807 schaersvoo 300
                    <hr />
301
                    <hr />
338 schaersvoo 302
                </td>
303
            !endif
977 schaersvoo 304
        </tr>
338 schaersvoo 305
    </table>
1094 schaersvoo 306
    </div>
12523 schaersvoo 307
    <script src="$jsdir/wz_tooltip.js"></script>
7461 schaersvoo 308
!formend
12523 schaersvoo 309
<!-- 4/2018 added div to satisfy html validation for tail -->
310
!tail
338 schaersvoo 311
 
312
 
12523 schaersvoo 313