Subversion Repositories wimsdev

Rev

Rev 14341 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1.  
  2. <hr>
  3. !form reply
  4.  
  5. !!reset table_center
  6.  
  7. $table_header
  8.   <head>
  9.   <caption>$name_enter (/ $maxscore): </caption>
  10.   !set t_=!item $cc of $titles
  11.   !set w_=!item $cc of $weights
  12.   !default w_=1
  13.   $table_hdtr
  14.     <td style="text-align:right">
  15.       <label for="">$wims_name_title</label>
  16.       =
  17.       <input size="15" name="title" value="$t_" id="title">
  18.     </td>
  19.     <td>$name_weight=<input size="3" name="weight" value="$w_"></td>
  20.   </tr>
  21.   </head>
  22.   <body>
  23.   !for u=1 to $ucnt
  24.     !set n_=!item $u of $ulist
  25.     !set u_=!positionof item $n_ in $uulist
  26.     !if $u_>0
  27.       !set s_=!record $u_+1 of wimshome/log/classes/$wims_class/.grades
  28.       !set c_=!item $cc+2 of $s_
  29.     !else
  30.       !set c_=
  31.     !endif
  32.     !set f_=!item $u of $flist
  33.     !set l_=!item $u of $llist
  34.     <tr>
  35.       <td><label for="c$u">$l_, $f_</label></td>
  36.       <td><input size="6" name="c$u" value="$c_" id="c$u"></td>
  37.       !reset c$u
  38.     </tr>
  39.   !next u
  40.   </body>
  41. $table_end
  42. <div class="formHelp">$name_todeletescore</div>
  43.  
  44. <p class="wimscenter wimsform">
  45. <input type="submit" name="reg" value="$wims_name_tosave">
  46. </p>
  47. !formend
  48.  
  49.