Subversion Repositories wimsdev

Rev

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