Subversion Repositories wimsdev

Rev

Rev 977 | Rev 1130 | 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. !! change these for common authordir
  6. !set phtmldir=jm_evers/phtml
  7. !set jsdir=$module_dir/jm.evers/js
  8. !set gifdir=$module_dir/jm.evers/gifs
  9.  
  10. !set max_s=40
  11. !header
  12. !form new
  13. !set talen=en nl cn fr
  14. !if $lang notin $talen
  15.     !set taal=en
  16.     !set translated=0
  17. !else
  18.     !set translated=1
  19.     !set taal=$lang
  20. !endif
  21. !set s=0
  22. !for p=1 to 100
  23.     !set competence=!record $[-1*$p] of lang/remarks.$taal
  24.     !if $competence=$empty
  25.         !goto READY
  26.     !else    
  27.         !increase s
  28.         !if # isin $competence
  29.             !set competence=!replace internal # by $empty in $competence
  30.             !set selecttext=!append line <option value="$s"></option> to $selecttext
  31.         !endif
  32.         !set sum=!append word <li>$competence</li> to $sum
  33.         !set selecttext=!append line <option value="$s">$competence</option> to $selecttext
  34.     !endif
  35. !next p
  36. :READY
  37.     <input type=hidden name=module value="$module">
  38.     <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>')">
  39.     <hr width="50%">
  40.         <p align="center">
  41.             <font color="red">
  42.                 <em>
  43.                     Configuration section
  44.                 </em>
  45.             </font>
  46.         </p>
  47.     <hr width="50%">
  48.     </a>
  49.     <p align="center">
  50.         <table bgcolor=$bgcolor2>
  51.             <tr>
  52.             <td>
  53.                 <p align="left">
  54.                 !if $translated=0
  55.                     !! mylaguages are defined in the actual module (intro.phtml)
  56.                     <a onmouseover="return escape('Sorry<br>No support for $lang')">
  57.                         <small>
  58.                             <em>
  59.                                 <font color="red">
  60.                                 Sorry,<br>
  61.                                 but the supported languages of this module are: <b>$talen</b><br>
  62.                                 And at this moment there is no support for <b>$lang</b><br>
  63.                                 The module is native to Dutch, but will default to English
  64.                                 </font>
  65.                             </em>
  66.                         </small>
  67.                     </a>
  68.                     !set taal=en
  69.                     !! defaults to english for my my-work
  70. !!              !else
  71. !!                  <a onmouseover="return escape('the variable $$talen for this module is<br>$talen<br><font color=red>Please note:<br>this jm.evers module is native in Dutch (and translated into English)<br>All other languages are goooogled....<br>and will be not -yet- really usable...</font>')">
  72. !!                      Set the <font color="blue">module language</font> :
  73. !!                  </a>
  74. !!                  <select name="taal">
  75. !!                      !set langcnt=!wordcnt $talen
  76. !!                      !for l=1 to $langcnt
  77. !!                          !set L=!word $l of $talen
  78. !!                          <option value=$L>$L</option>
  79. !!                      !next p
  80. !!                          <option value=fr>fr (not usable)</option>
  81. !!                          <option value=de>de (not usable)</option>
  82. !!                          <option value=it>it (not usable)</option>
  83. !!                          <option value=es>es (not usable)</option>
  84. !!
  85. !!                  </select>
  86.                 !endif
  87.                 <p align="left">
  88.                      <a onmouseover="return escape('<ol>$sum</ol><br>This module has $s different subjects or topics<br>normally, each subject has 4 levels')">
  89.                         Which <font color="blue">topic</font> ?:
  90.                     </a>
  91.                     <select name="subject">
  92.                         !for p=1 to $s
  93.                             !line $p of $selecttext
  94.                         !next p
  95.                     </select>
  96.                 </p>
  97.                 <p align="left">
  98.                     <a onmouseover="return escape('Every subject can have 4 difficulty levels <br>and  default level is <em>increasing</em>')">
  99.                         Set the difficulty <font color="blue">level</font> of this exercise:
  100.                     </a>
  101.                     <select name="level">
  102.                         <option value=0>increasing</option>
  103.                         <option value=1>easy</option>
  104.                         <option value=2>normal</option>
  105.                         <option value=3>difficult</option>
  106.                         <option value=4>very difficult</option>
  107.                     </select>
  108.                 </p>
  109.                 <p align="left">
  110.                     <a onmouseover="return escape('All exercises have a maximium of 10 questions in a row for 1 score')">
  111.                         Set the <font color="blue">number</font> of exercises:
  112.                     </a>
  113.                     <input size=10 name="total_exos" value=3>
  114.                 </p>
  115.                 <p align="left">
  116.                     <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')">
  117.                         <font color="blue">accuracy</font> of the answer?
  118.                     </a>
  119.                     <select name="rounding">
  120.                         <option value=-1>not applicable</option>
  121.                         <option value=0>mathematical precise</option>
  122.                         <option value=100000>5 decimals</option>
  123.                         <option value=10000>4 decimals</option>
  124.                         <option value=1000>3 decimals</option>
  125.                         <option value=100>2 decimals</option>
  126.                         <option value=10>1 decimal</option>
  127.                         <option value=1>integers</option>
  128.                     </select>
  129.                 </p>
  130.                 !if $usage=$empty
  131.                 <p align="left">
  132.                     <a onmouseover="return escape('This can give some <em>default config settings</em><ul><li><font color=green><b>formal exam</b></font> meaning very strict answer_checking and <em>just the score</em> at the end <li><font color=green><b>testexam</b></font> with a less rigid checking regime, but still just the score at the end of the test<li><font color=green><b>training</b></font> giving all available teaching support and full disclosure of the correct answer, sometimes including extra information <li><font color=red><b>select yourself</b></font> 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><font color=blue><b>printerversion</b></font> 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> ')">
  133.                         Set the <font color="blue">usage</font> of this exercise:
  134.                     </a>
  135.                     <select name="usage">
  136.                         <option value=2>used for training :)</option>
  137.                         <option value=4>select yourself</option>
  138.                         <option value=3>printerversion of exercise</option>
  139.                         <option value=1>used for testexam</option>
  140.                         <option value=0>used in formal exam</option>
  141.                         <option value=6>all deep html hyperlinks to this module</option>
  142.                     </select>
  143.                 </p>
  144.                 !endif
  145.                 <p align="center">
  146.                     <table>
  147.                         <tr>
  148.                         <th>
  149.                             <input type="hidden" name="taal" value="$taal">
  150.                             <input style="background-color:lightgreen;font-weight:normal;font-size:14px" type="submit"  value="CONFIGURATION IS OK">
  151.                         </th>
  152.                         </tr>
  153.                     </table>
  154.                 </p>
  155.             </td>
  156.             !if $usage=3 or $usage=4
  157.             <input type="hidden" name="usage" value="5">
  158.             </tr><tr>
  159.             <td>
  160.             <hr width="50%">
  161.                 !if devel isin $module_dir
  162.                 <p align="left">
  163.                     Freestyle ,Multiplechoice ,Drag&Drop?
  164.                     <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...')">
  165.                         <font color=blue>or GeoGebra</font>
  166.                     </a>
  167.                     <select name="questiontype">
  168.                         <option value=0>Freestyle answers</option>
  169.                         <option value=1>Multiplechoice</option>
  170.                         <option value=2>Drag & Drop</option>
  171.                         <option value=3>Hotspot</option>
  172.                         <option value=0></option>
  173.                         <option value=0></option>
  174.                         <option value=0></option>
  175.                         <option value=4>GeoGebra</option>
  176.                         <option value=5>GeoGebra+image</option>
  177.                         <option value=6>Roll your own
  178.                         (some howto info included)
  179.                         </option>
  180.                     </select>
  181.                 </p>
  182.                 <p align="left">
  183.                     <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')">
  184.                         <font color="blue">Development debug</font> information in the help-pages
  185.                     </a>
  186.                     <select name="debug">
  187.                         <option value=0>no</option>
  188.                         <option value=1>yes</option>
  189.                     </select>
  190.                 </p>
  191.                 !endif
  192.                 <p align="left">
  193.                     <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>')">
  194.                         Set the number of <font color="blue">maximum returns</font> for syntax errors:
  195.                     </a>
  196.                     <input size=5 name="maxtry" value=5>
  197.                 </p>
  198.                 <p align="left">
  199.                     <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>')">
  200.                         Some <font color="blue">training support</font> for the student
  201.                     </a>
  202.                     <select name="teaching">
  203.                         <option value=1>yes</option>
  204.                         <option value=0>no</option>
  205.                     </select>
  206.                 </p>
  207.                 <p align="left">
  208.                     <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>')">
  209.                         If appropriate an <font color="blue">illustration</font> ?
  210.                     </a>
  211.                     <select name="image">
  212.                         <option value=1>yes</option>
  213.                         <option value=0>no</option>
  214.                     </select>
  215.                 </p>
  216.                 !if $usage=3
  217.                     <input type="hidden" name="printexo" value="1">
  218.                 !endif
  219.                 !if $usage=4
  220.                 <p align="left">
  221.                     <a onmouseover="return escape('this variable can be overruled by the exercise, and there is a hardcoded maximum to this...')">
  222.                         In case of multiplechoice ,Drag&Drop or multiple items, how <font color="blue">many items</font>
  223.                     </a>
  224.                     <input size=5 name="options" value=4>
  225.                 </p>
  226.                 <p align="left">
  227.                     <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> <img src=$gifdir/bok.gif> <img src=$gifdir/nok.gif><br>Or even a random -sometimes funny- remark along with it? ')">
  228.                         A <font color="blue">Good (OK) or Bad (NOK)</font> in between exercises?
  229.                     </a>
  230.                     <select name="goodbadsign">
  231.                         <option value=2>Yes and a remark</option>
  232.                         <option value=1>yes</option>
  233.                         <option value=0>no</option>
  234.                     </select>
  235.                 </p>
  236.                 <p align="left">
  237.                     <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>')">
  238.                         Show the correct answer <font color="blue">at the end</font> of the exercise ?
  239.                     </a>
  240.                     <select name="showanswer">
  241.                         <option value=1>yes</option>
  242.                         <option value=0>no</option>
  243.                     </select>
  244.                 </p>
  245.                 <p align="left">
  246.                     <a onmouseover="return escape('Do you want to use a certain type of Javascript Calculator<br><img src=$gifdir/basic.jpg><img src=$gifdir/science.jpg>')">
  247.                         A PopUp javascript<font color="blue"> Calculator?</font>
  248.                     </a>
  249.                     <select name="calculator">
  250.                         <option value=1>very basic model</option>
  251.                         <option value=2>"scientific" model</option>
  252.                         <option value=3>command line applet</option>
  253.                         <option value=0>no calculators</option>
  254.                     </select>
  255.                 </p>
  256.                 <p align="left">
  257.                     <a onmouseover="return escape('Do you want to offer a scribbling block, e.g. a textarea for calculations? ')">
  258.                         A PopUp <font color="blue">Scribbling-block?</font>
  259.                     </a>
  260.                     <select name="scribbling">
  261.                         <option value=1>Yes</option>
  262.                         <option value=0>No</option>
  263.                     </select>
  264.                 </p>
  265.                 <p align="left">
  266.                     <a onmouseover="return escape('This gives a very small running clock')">
  267.                         A simple <font color="blue">JS clock?</font>
  268.                     </a>
  269.                     <select name="time">
  270.                         <option value=1>yes</option>
  271.                         <option value=0>no clock</option>
  272.                     </select>
  273.                 </p>
  274.                 <p align="left">
  275.                     <a onmouseover="return escape('The time limit is not yet implemented')">
  276.                         <font color="blue">Time limit</font> per exercise
  277.                     </a>
  278.                     <input size=15 name="duration" value="not implemented"> minutes
  279.                 </p>
  280.                 <p align="left">
  281.                     <a onmouseover="return escape('<img src=$gifdir/math.jpg><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')">
  282.                         A <font color="blue">Math formula Input </font> field?
  283.                     </a>
  284.                     <select name="mathview">
  285.                         <option value=0>No , use only Normal TextArea</option>                 
  286.                         <option value=3>Yes , use JAVA Applet</option>                 
  287.                         <option value=2>Option : JAVA Applet</option>
  288.                         <option value=1>Option : WIMS Math</option>
  289.                     </select>
  290.                 </p>
  291.                 <p align="left">
  292.                     <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>+4</li><li><img src=$gifdir/3.gif>+3</li><li><img src=$gifdir/2.gif>+2</li><li><img src=$gifdir/1.gif>+1</li><li><img src=$gifdir/0.gif>0</li><li><img src=$gifdir/-1.gif>-1</li><li><img src=$gifdir/-2.gif>-2</li><li><img src=$gifdir/-3.gif>-3</li><li><img src=$gifdir/-4.gif>-4</li></ul>')">
  293.                         Adjust the size of <font color="blue">LaTeX Math</font> ?
  294.                     </a>
  295.                     <select name="mytexsize">
  296.                         <option value="0">leave intact</option>
  297.                         <option value="+4">+4</option>
  298.                         <option value="+3">+3</option>
  299.                         <option value="+2">+2</option>
  300.                         <option value="+1">+1</option>
  301.                         <option value="-1">-1</option>
  302.                         <option value="-2">-2</option>
  303.                         <option value="-3">-3</option>
  304.                         <option value="-4">-4</option>
  305.                     </select>
  306.                 </p>
  307.        
  308.                 <p align="left">
  309.                     <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... ')">
  310.                         Disable <font color="blue">Mouse Text selection</font> ?
  311.                     </a>
  312.                     <select name="noselect">
  313.                         <option value=1>yes</option>
  314.                         <option value=0>no</option>
  315.                     </select>
  316.                 </p>
  317.  
  318.                 <p align="left">
  319.                     <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 ')">
  320.                         Generate <font color="blue">Hyperlinks</font> to this specific exercise ?
  321.                     </a>
  322.                     <select name="printexo">
  323.                         <option value=0>no</option>
  324.                         <option value=2>yes</option>
  325.                     </select>
  326.                 </p>
  327.                 !endif
  328.             </td>
  329.             !endif
  330.             !if $usage=6
  331.                 </tr><tr>
  332.                 <td>
  333.                     <hr>
  334.                     <hr>
  335.                         !changeto lang/module.$taal.phtml
  336.                     <hr>
  337.                     <hr>
  338.                 </td>
  339.             !endif
  340.         </tr>
  341.     </table>
  342.     <script type="text/javascript" src="$jsdir/wz_tooltip.js"></script>
  343. </form>
  344.  
  345.  
  346.  
  347.                        
  348.