Subversion Repositories wimsdev

Rev

Rev 6851 | Rev 7461 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !set phtmldir=authors/jm.evers/phtml
  2. !set jsdir=scripts/authors/jm.evers/js
  3. !set gifdir=scripts/authors/jm.evers/gifs
  4.  
  5. !set max_s=40
  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
  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
  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
  24.     <input type="hidden" name="module" value="$module" />
  25.     <hr width="50%" />
  26.         <p style="text-align:center">
  27.             <span style="color:red">
  28.                 <em>
  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\' />')">
  30.                         Configuration section
  31.                     </a>
  32.                 </em>
  33.             </span>
  34.         </p>
  35.     <hr width="50%" />
  36.     <div style="vertical-align:top;margin-left:20%;margin-right:auto;width:100%;background-color:#fffff0;">
  37.         <table>
  38.             <tr>
  39.             <td>
  40.                 <p style="text-align:left">
  41.                 !if $translated=0
  42.                     !! mylanguages are defined in the actual module (intro.phtml)
  43.                     <a onmouseover="return escape('Sorry<br />No support for $lang')">
  44.                         <small>
  45.                             <em>
  46.                                 <span style="color:red">
  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 />
  50.                                 The module is native to Dutch, but will default to English
  51.                                 </span>
  52.                             </em>
  53.                         </small>
  54.                     </a>
  55.                     !set taal=en
  56.                 !endif
  57.                 <p style="text-align:left">
  58.                      <a onmouseover="return escape('<ol>$sum</ol><br />This module has $s different subjects or topics<br />normally, each subject has 4 levels')">
  59.                         Which <span style="color:blue">topic</span> ?:
  60.                     </a>
  61.                     <select name="subject">
  62.                         !for p=1 to $s
  63.                             !line $p of $selecttext
  64.                         !next p
  65.                     </select>
  66.                 </p>
  67.                 <p style="text-align:left">
  68.                     <a onmouseover="return escape('Every subject can have 4 difficulty levels <br />and  default level is <em>increasing</em>')">
  69.                         Set the difficulty <span style="color:blue">level</span> of this exercise:
  70.                     </a>
  71.                     <select name="level">
  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>
  77.                     </select>
  78.                 </p>
  79.                 <p style="text-align:left">
  80.                     <a onmouseover="return escape('All exercises have a maximium of 10 questions in a row for 1 score')">
  81.                         Set the <span style="color:blue">number</span> of exercises:
  82.                     </a>
  83.                     <input size="10" name="total_exos" value="3" />
  84.                 </p>
  85.                 <p style="text-align:left">
  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')">
  87.                         <span style="color:blue">accuracy</span> of the answer?
  88.                     </a>
  89.                     <select name="rounding">
  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>
  98.                     </select>
  99.                 </p>
  100.                 !if $usage=$empty
  101.                 <p style="text-align:left">
  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> ')">
  103.                         Set the <span style="color:blue">usage</span> of this exercise:
  104.                     </a>
  105.                     <select name="usage">
  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>
  112.                     </select>
  113.                 </p>
  114.                 !endif
  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>
  119.             </td>
  120.             !if $usage=3 or $usage=4
  121.             <input type="hidden" name="usage" value="5" />
  122.             </tr><tr>
  123.             <td>
  124.             <hr width="50%" />
  125.                 !if devel isin $module_dir
  126.                 <p style="text-align:left">
  127.                     Freestyle ,Multiplechoice ,Drag&Drop?
  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...')">
  129.                         <span style="color:blue">or GeoGebra</span>
  130.                     </a>
  131.                     <select name="questiontype">
  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>
  142.                     </select>
  143.                 </p>
  144.                 <p style="text-align:left">
  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')">
  146.                         <span style="color:blue">Development debug</span> information in the help-pages
  147.                     </a>
  148.                     <select name="debug">
  149.                         <option value="0">no</option>
  150.                         <option value="1">yes</option>
  151.                     </select>
  152.                 </p>
  153.                 !endif
  154.                 <p style="text-align:left">
  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>')">
  156.                         Set the number of <span style="color:blue">maximum returns</span> for syntax errors:
  157.                     </a>
  158.                     <input size="5" name="maxtry" value="5" />
  159.                 </p>
  160.                 <p style="text-align:left">
  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>')">
  162.                         Some <span style="color:blue">training support</span> for the student
  163.                     </a>
  164.                     <select name="teaching">
  165.                         <option value="1">yes</option>
  166.                         <option value="0">no</option>
  167.                     </select>
  168.                 </p>
  169.                 <p style="text-align:left">
  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>')">
  171.                         If appropriate an <span style="color:blue">illustration</span> ?
  172.                     </a>
  173.                     <select name="image">
  174.                         <option value="1">yes</option>
  175.                         <option value="0">no</option>
  176.                     </select>
  177.                 </p>
  178.                 !if $usage=3
  179.                     <input type="hidden" name="printexo" value="1" />
  180.                 !endif
  181.                 !if $usage=4
  182.                 <p style="text-align:left">
  183.                     <a onmouseover="return escape('this variable can be overruled by the exercise, and there is a hardcoded maximum to this...')">
  184.                         In case of multiplechoice ,Drag&Drop or multiple items, how <span style="color:blue">many items</span>
  185.                     </a>
  186.                     <input size="5" name="options" value="4" />
  187.                 </p>
  188.                 <p style="text-align:left">
  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?
  191.                     </a>
  192.                     <select name="goodbadsign">
  193.                         <option value="2">Yes and a remark</option>
  194.                         <option value="1">yes</option>
  195.                         <option value="0">no</option>
  196.                     </select>
  197.                 </p>
  198.                 <p style="text-align:left">
  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>')">
  200.                         Show the correct answer <span style="color:blue">at the end</span> of the exercise ?
  201.                     </a>
  202.                     <select name="showanswer">
  203.                         <option value="1">yes</option>
  204.                         <option value="0">no</option>
  205.                     </select>
  206.                 </p>
  207.                 <p style="text-align:left">
  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>
  210.                     </a>
  211.                     <select name="calculator">
  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>
  216.                     </select>
  217.                 </p>
  218.                 <p style="text-align:left">
  219.                     <a onmouseover="return escape('Do you want to offer a scribbling block, e.g. a textarea for calculations? ')">
  220.                         A PopUp <span style="color:blue">Scribbling-block?</span>
  221.                     </a>
  222.                     <select name="scribbling">
  223.                         <option value="1">Yes</option>
  224.                         <option value="0">No</option>
  225.                     </select>
  226.                 </p>
  227.                 <p style="text-align:left">
  228.                     <a onmouseover="return escape('This gives a very small running clock')">
  229.                         A simple <span style="color:blue">JS clock?</span>
  230.                     </a>
  231.                     <select name="time">
  232.                         <option value="1">yes</option>
  233.                         <option value="0">no clock</option>
  234.                     </select>
  235.                 </p>
  236.                 <p style="text-align:left">
  237.                     <a onmouseover="return escape('The time limit is not yet implemented')">
  238.                         <span style="color:blue">Time limit</span> per exercise
  239.                     </a>
  240.                     <input size="15" name="duration" value="not implemented" /> minutes
  241.                 </p>
  242.                 <p style="text-align:left">
  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?
  245.                     </a>
  246.                     <select name="mathview">
  247.                         <option value="4">Use optional HTML5 mathinput</option>
  248.                         <option value="5">Use only HTML5 mathinput</option>
  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>
  253.                     </select>
  254.                 </p>
  255.                 <p style="text-align:left">
  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> ?
  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.        
  272.                 <p style="text-align:left">
  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... ')">
  274.                         Disable <span style="color:blue">Mouse Text selection</span> ?
  275.                     </a>
  276.                     <select name="noselect">
  277.                         <option value="1">yes</option>
  278.                         <option value="0">no</option>
  279.                     </select>
  280.                 </p>
  281.  
  282.                 <p style="text-align:left">
  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 ')">
  284.                         Generate <span style="color:blue">Hyperlinks</span> to this specific exercise ?
  285.                     </a>
  286.                     <select name="printexo">
  287.                         <option value="0">no</option>
  288.                         <option value="2">yes</option>
  289.                     </select>
  290.                 </p>
  291.                 !endif
  292.             </td>
  293.             !endif
  294.             !if $usage=6
  295.                 </tr><tr>
  296.                 <td>
  297.                     <hr />
  298.                     <hr />
  299.                         !changeto lang/module.$taal.phtml
  300.                     <hr />
  301.                     <hr />
  302.                 </td>
  303.             !endif
  304.         </tr>
  305.     </table>
  306.     </div>
  307.     <script type="text/javascript" src="$jsdir/wz_tooltip.js"></script>
  308. </form>
  309.  
  310.  
  311.