Subversion Repositories wimsdev

Rev

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

  1. !if $error!=$empty
  2.  <p>
  3.  !read msg.phtml
  4.  <p>
  5.  !href module=home $wims_name_class_home
  6. . <p>
  7.  !goto end
  8. !endif
  9.  
  10. !default name_student=!nosubst $lastname, $firstname  
  11. !readproc var.activity.proc
  12. !if $showsheet=$empty
  13. $name_showsheet
  14. !form reply
  15.   <input type=hidden name="job" value=select>
  16.   !set wims_formselect_switch=multiple size=$[min($activelist_cnt,7)]
  17.   !formselect showsheet list $activlist prompt $(shs_title[$(activlist)])
  18.   <input type=submit value="$wims_name_Show">
  19.   </form>
  20. !else
  21. !if $usercnt==0
  22. $name_noparticipant
  23. !else
  24.  <p>$table_header
  25.  $table_hdtr<th>$wims_name_lastname, $wims_name_firstname</th>
  26.  <th>$name_lastconnexion</th><th>$name_nbsessions</th><th><small>$name_cnt_exo
  27.  <br> ($nbexototal $name_exo)</small></th><th>$name_total</th>
  28.  !for j in $showsheet
  29.  !if $(activ[$j])>0
  30.   <th colspan=2><small>$wims_name_Sheet $j <br>$(shs_title[$j])<br>($(nbexo$j) $name_exo)</small></th>
  31.  !endif
  32.  !next j
  33.  </tr>
  34.  $table_hdtr
  35.  <th></th><th></th><th></th><th></th><th></th>
  36.  !for j in $showsheet
  37.  !if $(activ[$j])>0
  38.   <th><small>$name_cnt_exo</small></th><th><small>$name_time</small></th>
  39.  !endif
  40.  !next j
  41.   </tr>
  42.  !for m=1 to $usercnt
  43.   !set uu=!record $m of wimshome/log/classes/$wims_class/.userlist
  44.   !distribute items $uu into lastname,firstname,uu
  45.   !set getraw=$uu
  46.   !readproc raw.proc
  47.   $table_tr
  48.   <td>
  49.    !href module=adm/class/userlist&job=getuser&getuser=$uu $name_student
  50.   </td>
  51.   !for h = 1 to 2*$sheetcnt + 4
  52.     !set h1=$[($h+$h%2)/2-2]
  53.  !if $h <=4 or ($h>4 and $(activ[$h1])>0) and $h1 isin $showsheet
  54.   <td align="center">$(data[$h])</td>
  55. !endif
  56.   !next
  57.   </tr>
  58. !next
  59. $table_end
  60.  <p>$name_click
  61. !endif
  62. !set wims_menu_items=!append line refresh,1,cmd=reply\
  63. back2,1,cmd=new\
  64. Score1,1,module=adm/class/userlist&job_affi=notes\
  65. to $wims_menu_items
  66.  
  67. :end
  68. !tail
  69.