Subversion Repositories wimsdev

Rev

Rev 16006 | Rev 16198 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
11105 bpr 1
!set tmp=!defof DF_SEVERITY in wimshome/public_html/bases/sys/define.conf
12558 bpr 2
!distribute words $tmp into tmp_w,tmp_s,tmp_ss
1587 bpr 3
!read adm/title.phtml 1\
1607 bpr 4
$classname\
10277 bpr 5
$name_workdetail $name_studentloc
23 reyssat 6
 
10277 bpr 7
<div class="center"><span class="wims_emph">
14132 obado 8
  !if $wims_user=supervisor
9
    !reset css_connected
10
    !if $getuser isitemof $wims_connectedlogin
11
      !set css_connected=class="wims_connected"
12
      !set wims_ref_title=connected
13
    !endif
14
    <span $css_connected>
15
      !href module=adm/class/usermanage/&job=userprop&getuser=$getuser $name_studentloc
16
    </span>
9602 bpr 17
  !endif
14132 obado 18
  </span><br /><span class="small">$wims_name_Login: <span class="tt">$getuser</span>
19
  !if $user_external_auth!=$empty
20
    (<span class="tt">$user_external_auth</span>)
21
  !endif
22
  !if $user_email!=$empty
23
    <br />
24
    $wims_name_email: <a href="mailto:$user_email">$user_email</a>
25
  !endif
26
</span></div>
27
 
13220 bpr 28
!let testphoto=!filexists wimshome/sessions/$wims_session/getfile/photoboard/$getuser
29
!if $testphoto=yes
30
  <div id="userlogo" class="float_right">
31
    <img src="$wims_ref_name?session=$wims_session&cmd=getfile&special_parm=photoboard/$getuser" style="position:absolute;top:50px;right:5%;" alt="$name_student2" />
32
  </div>
33
  !reset testphoto
34
!else
35
  !if $user_photourl!=
14132 obado 36
    <img src="$user_photourl" style="width:100px;position:absolute;top:50px;right:5%;" alt="$name_student2" />
13220 bpr 37
  !endif
12301 bpr 38
!endif
23 reyssat 39
!if $eremain>0
12712 bpr 40
  <br class="spacer" />
41
  $name_activesession:
42
  !href cmd=reply&job=userexam&getuser=$getuser $esession
43
  !!!else
44
  !! ----- transfere dans usermanage (il s'agit d'un lien de transfert de score pour deplacer des eleves d'une classe a l'autre (dans un portail ou un groupement)
45
  !! !if $wims_user=supervisor and $wims_supertype iswordof 2 4
46
  !!  !readproc adm/gateway/transfer $getuser test
47
  !!  !if $transfer_test>0
48
  !!   !href module=adm/class/usermanage&job=transfer&getuser=$getuser $name_transfer
49
  !!  !endif
50
  !! !endif
23 reyssat 51
!endif
8326 guerimand 52
 
12712 bpr 53
<br class="spacer" />
23 reyssat 54
 
55
!if $manual>0 and $gcnt>0 and $teacher!=$empty
12301 bpr 56
  $table_header
57
  <caption><span class="small">
58
  $name_minmax:
59
  $min_glob/$mean_glob/$max_glob</span></caption>
12716 bpr 60
  <thead>
12301 bpr 61
  $table_hdtr<th>$wims_name_name</th><th>$(wims_name_thsheet[6])</th><th>$(wims_name_thsheet[9])</th></tr>
12716 bpr 62
  </thead><tbody>
12301 bpr 63
  $table_tr<th>$name_manualscore</th>
5986 bpr 64
     <td>$manual%</td>
1887 bpr 65
     !read adm/class/colors $[ceil(10*$mav/$scoremax)]
5727 bpr 66
     <td style=$style_note>$mav</td></tr>
12301 bpr 67
  $table_tr<th>$name_autoscore</th>
5986 bpr 68
     <td>$[100-$manual]%</td>
1887 bpr 69
     !read adm/class/colors $[ceil(10*$per/$scoremax)]
5727 bpr 70
     <td style=$style_note>$per</td></tr>
12301 bpr 71
  $table_tr<th>$name_globalaverage / $scoremax</th>
5986 bpr 72
     <td>100%</td>
1887 bpr 73
     !read adm/class/colors $[ceil(10*$globalav/$scoremax)]
5727 bpr 74
     <td style=$style_note>$globalav</td></tr>
12716 bpr 75
  </tbody>
12301 bpr 76
  $table_end
14132 obado 77
 
12716 bpr 78
  !set table_id=TABLE_manual
79
  !set table_class=sortable
12301 bpr 80
  $table_header
12716 bpr 81
  <thead>
14132 obado 82
    <tr><th colspan="3">$name_manualscore
83
    !if $wims_user=supervisor
84
      <br />
85
      !href lang=$lang&module=adm/class/grades&method=user&un=$getuser $wims_name_change
86
    !endif
87
    </th></tr>
88
    $table_hdtr<th>$(wims_name_thsheet[2])</th><th>$(wims_name_thsheet[4])</th><th>$(wims_name_thsheet[9])</th></tr>
12716 bpr 89
  </thead>
12301 bpr 90
  !set v_=0
12716 bpr 91
  <tbody>
12301 bpr 92
  !for i=1 to $gcnt
93
    $table_tr<td>$(titles[2+$i])</td><td>$(w$i)</td>
94
    !read adm/class/colors $[10*ceil($(g_$i))/$scoremax]
95
    <td style=$style_note>$(g_$i)</td></tr>
96
  !next i
12716 bpr 97
  </tbody>
98
  <tfoot>
14132 obado 99
    $table_hdtr<th colspan="2">$name_Average</th>
100
    !read adm/class/colors $[ceil(10*$mav/$scoremax)]
101
    <td style=$style_note>$mav</td></tr>
12716 bpr 102
  </tfood>
12301 bpr 103
  $table_end
12716 bpr 104
  !read tablesort.phtml
23 reyssat 105
!else
12301 bpr 106
  <div class="wimscenter">
107
  $name_globalaverage: <b>$per</b> / $scoremax.
108
  !if $min_glob<$scoremax
109
    <br /><span class="small">$name_minmax:
110
    $min_glob/$mean_glob/$max_glob</span>
111
  !endif
112
  </div>
23 reyssat 113
!endif
114
 
1317 reyssat 115
 
116
!!readdef wimshome/log/classes/$wims_class/.def
117
!!default class_topscores=0
118
!if $class_topscores>0
3087 bpr 119
 
12301 bpr 120
  $table_header$table_hdtr<th colspan="2">$name_topten</td></tr>
121
  !for i=1 to $class_topscores
122
    !set L=!line $i of $TT
123
    !if $class_anonymtopscores=yes
124
      !set name=$i
125
    !else
126
      !set name=!item 1 of $L
127
      !set firstname=!item 2 of $L
128
      !set name=$name $firstname
129
    !endif
130
    !set avg=!item 4 of $L
14132 obado 131
    $table_tr
132
      <td class="small" style="text-align:right;font-weight:bold">
133
      $name &nbsp;</td>
134
      <td style="text-align:left" class="small">&nbsp;$avg</td>
135
    </tr>
12301 bpr 136
  !next i
12716 bpr 137
  $table_end
3087 bpr 138
 
1317 reyssat 139
!endif
140
 
12480 guerimand 141
!! ---------------- display table for each exam session
23 reyssat 142
!if $eactivecnt>0
12716 bpr 143
  !set table_id=TABLE_exam
14132 obado 144
  !set table_class=sortable
12716 bpr 145
  $table_header
146
  <thead>
15970 guerimand 147
  <caption>$name_examnote</caption>
12301 bpr 148
  $table_hdtr
14132 obado 149
    <th scope="col">$(wims_name_thsheet[1])</th>
150
    <th scope="col">$(wims_name_thsheet[2])</th>
151
    <th scope="col">$(wims_name_thsheet[9])/$scoremax</th>
12301 bpr 152
  </tr>
12716 bpr 153
  </thead>
154
  <tbody>
12301 bpr 155
  !for i in $activexams
156
    !set l=!record $i of wimshome/log/classes/$wims_class/exams/.exams
157
    !set t=!line 4 of $l
12791 bpr 158
    !set st=!line 1 of $l
159
    !set ew=!line $i of $examweights
16006 guerimand 160
    !! ------test if sheet is hidden for this user
161
    !reset hidden_sheet
162
    !if $wims_user!=supervisor
163
      !set h_=!line 8 of $l
164
      !if $h_!=$empty
165
        !readproc adm/vfilter/ishiddensheet.proc $h_
166
      !endif
167
    !endif
168
    !! -----end test
169
    !if ($st<=2 or $ew>0) and $hidden_sheet!=1
14132 obado 170
     $table_tr
171
      <td>$i</td>
12791 bpr 172
      <td>$t</td>
173
      !if $[rint(10*$(es_$i)*$scoremax)/100]>0
174
        !read adm/class/colors $[ceil($(es_$i))]
175
        <td style=$style_note>$[rint(10*$(es_$i)*$scoremax)/100]</td>
176
      !else
177
        <td>--</td>
178
      !endif
14132 obado 179
     </tr>
12301 bpr 180
    !endif
181
  !next i
12716 bpr 182
  </tbody>
12301 bpr 183
  $table_end
12716 bpr 184
  !read tablesort.phtml
12301 bpr 185
!endif
14132 obado 186
 
12480 guerimand 187
!! ------------------ display table for each sheet
12550 bpr 188
!set tmp=!defof DF_SEVERITY in wimshome/public_html/bases/sys/define.conf
12554 bpr 189
!distribute words $tmp into tmp_w,tmp_s,tmp_ss
12301 bpr 190
!for i=1 to $activecnt
15763 guerimand 191
  !set exonumber=0
12301 bpr 192
  !set l_=!line $i of $activesheets
15763 guerimand 193
  !distribute items $l_ into n_,e_,indtechvar
12301 bpr 194
  !set L_=!line $n_ of $defaultformula
195
  !reset A_ B_ C_
196
  !distribute word $L_ into A_,B_,C_
12550 bpr 197
  !default A_=$tmp_w
198
  !default B_=$tmp_s
13045 bpr 199
  !default C_=$tmp_ss
15763 guerimand 200
  !set t_=!item 4 to -1 of $l_
12301 bpr 201
  !set t_=!char 1 to $title_limit of $t_
202
  !set v_=!getscorerequire sheet=$n_ user=$getuser
203
  !set w_=!wordcnt $v_
204
  !set S_=0
205
  !for k=1 to $w_
206
    !set a_=!word $k of $v_
207
    !set S_=$[$S_+$a_]
208
  !next k
12791 bpr 209
  !if $S_<=0
210
    !goto next
211
  !endif
12301 bpr 212
  !set sw=!line $[$n_+1] of $shweights
213
  !set q=!word 2 of $sw
214
  !set sw=!word 3 of $sw
215
  !bound sw between integer 0 and 2 default $tmp_ss
216
  !bound q between integer 0 and 6 default $tmp_s
217
  !set seq_open=!defof sequence_open in wimshome/log/classes/$wims_class/seq/.def
15937 guerimand 218
  !if $indtechvar!=$empty
15963 guerimand 219
    !let pos_=!positionof item $indtechvar in $tv_listcode
220
    !let nametechvar=!item $pos_ of $tv_listname
221
    !set pos=!positionof item $nametechvar in $(user_vars[;1])
222
    !set indtechvarvalue=!item $pos of $(user_vars[;2])
223
!!    !set indtechvarvalue=!defof user_techvar_$indtechvar in $userdef
224
    !set listvalue=!record $n_ of wimshome/log/classes/$wims_class/sheets/.vars
225
    !set listvalue=!word 3 to -1 of $listvalue
226
    !set listvalue=!words2items $listvalue
227
    !bound indtechvarvalue within $empty,$listvalue default $empty
15937 guerimand 228
    !if $indtechvarvalue=$empty
15949 guerimand 229
!!      !set tmp=$name_withoutgroup
230
        !reset tmp
15937 guerimand 231
    !else
15949 guerimand 232
!!      !set tmp=$name_group
15963 guerimand 233
        !set tmp= - $nametechvar $indtechvarvalue
15937 guerimand 234
    !endif
235
  !else
236
   !reset tmp
237
  !endif
12301 bpr 238
  !if $seq_open!=yes
15949 guerimand 239
    !set hat=$name_Sheet $n_$(tmp)&nbsp; : $t_
1895 bpr 240
  !else
15963 guerimand 241
    !set hat=$wims_name_sequence $(t_[1])$tmp&nbsp; : $(t_[2..-1])
1895 bpr 242
  !endif
14132 obado 243
 
12301 bpr 244
  <br class="spacer" />
7901 bpr 245
  !if $wims_user=supervisor
246
    !set nb_indic=5
247
  !else
11108 bpr 248
    !set nb_indic=3
7901 bpr 249
  !endif
7664 bpr 250
  !set P_=!line $n_ of $percents
12301 bpr 251
  !distribute words $P_ into p1,p2,p3,p4
7664 bpr 252
  !if $p2!=$empty
12301 bpr 253
    !distribute item $[$p1/100],$[$p2/10],$[$p3/100],$[$p4/100] into x0_,y_,x1_,x2_
254
    !set ff_$n_=!mathsubst Q=$y_ in $(f_$n_)
255
    !for sev=0 to 2
256
      !set ff_$n_=!mathsubst I$sev=$(x$(sev)_) in $(ff_$n_)
257
    !next
16196 bpr 258
    !!compare with home/sequence.phtml
259
    !set p_=$[ceil(100*$scoremax*$(ff_$n_))/100]
7664 bpr 260
  !endif
12480 guerimand 261
  !set table_id=TABLE_sheet$i
262
  !set table_class=sortable
263
  $table_header
14132 obado 264
  <thead id="sheet$n_">
12714 bpr 265
  <tr><th colspan="$[$nb_indic+5]" style="text-align:left">
12301 bpr 266
  !if $p2!=$empty
14132 obado 267
    <div class="float_left">
268
      !href module=adm/sheet&sh=$n_ $hat
269
      <ul>
270
        <li>$(wims_name_thsheet[4]): $A_</li>
271
        !if $wims_user=supervisor
272
          <li>$(wims_name_thsheet[8]):
273
            !lowercase $(f_$n_)
274
            !set wims_ref_class=wims_button_help
275
            !href cmd=help&special_parm=$n_ $(wims_name_help)
276
          </li>
277
        !endif
278
        !!global note
279
        !if $(min_$n_)<$scoremax
15844 bpr 280
!! ---- temporary modif
15843 guerimand 281
!!          !if $indtechvar=$empty
15763 guerimand 282
             <li>$name_minmax: $(min_$n_)/$(mean_$n_)/$(max_$n_)</li>
15843 guerimand 283
!!          !else
284
!!             <li>$name_minmax: &#10067; / &#10067; / &#10067; </li>
285
!!          !endif
15763 guerimand 286
!! ------ endof temporary
14132 obado 287
        !endif
288
      </ul>
289
    </div>
12712 bpr 290
    !reset tmp_ss
14132 obado 291
    <ul class="float_right">
14133 obado 292
      !! score
15844 bpr 293
      <li>$(wims_name_thsheet[9]):
294
!! ---- temporary modif
15843 guerimand 295
!!          !if $indtechvar=$empty
15763 guerimand 296
             $p_
15843 guerimand 297
!!          !else
298
!!             &#10067;
299
!!          !endif
15844 bpr 300
!! ------ endof temporary
15763 guerimand 301
      / $scoremax.</li>
14133 obado 302
      !! quality
14132 obado 303
      !if $wims_user=supervisor or $q!=1
15844 bpr 304
        <li>$(wims_name_thsheet[7]):
305
!! ---- temporary modif
15843 guerimand 306
!!          !if $indtechvar=$empty
15763 guerimand 307
             $p2
15843 guerimand 308
!!          !else
309
!!             &#10067;
310
!!          !endif
15844 bpr 311
!! ------ endof temporary
15763 guerimand 312
        /10</li>
14132 obado 313
      !endif
14133 obado 314
      !! Cumul
14132 obado 315
      !if $wims_user=supervisor or $sw=0
15844 bpr 316
        <li>$(wims_name_thsheet[5]):
317
!! ---- temporary modif
15843 guerimand 318
!!          !if $indtechvar=$empty
15763 guerimand 319
             $p1
15843 guerimand 320
!!          !else
321
!!             &#10067;
322
!!          !endif
15844 bpr 323
!! ------ endof temporary
15763 guerimand 324
         %</li>
14132 obado 325
      !endif
14133 obado 326
      !! Best score
14132 obado 327
      !if $wims_user=supervisor or $sw=1
15844 bpr 328
        <li>$(wims_name_thsheet[10]):
329
!! ---- temporary modif
15843 guerimand 330
!!          !if $indtechvar=$empty
15763 guerimand 331
             $p3
15843 guerimand 332
!!          !else
333
!!             &#10067;
334
!!          !endif
15844 bpr 335
!! ------ endof temporary
15763 guerimand 336
        %</li>
14132 obado 337
      !endif
14133 obado 338
      !! Acquired
14132 obado 339
      !if $wims_user=supervisor or $sw=2
15844 bpr 340
        <li>$(wims_name_thsheet[13]):
341
!! ---- temporary modif
15843 guerimand 342
!!          !if $indtechvar=$empty
15763 guerimand 343
             $[$p4/10]
15843 guerimand 344
!!          !else
345
!!             &#10067;
346
!!          !endif
15844 bpr 347
!! ------ endof temporary
15763 guerimand 348
        /10</li>
14132 obado 349
      !endif
350
    </ul>
12301 bpr 351
  !else
352
    !href module=adm/sheet&sh=$n_ $hat
353
  !endif
10887 bpr 354
  </div>
12301 bpr 355
  </th></tr>
356
  $table_hdtr
12480 guerimand 357
    <th scope="col" data-sort-method="number">$(wims_name_thsheet[1])</th>
358
    <th scope="col">$(wims_name_thsheet[2])</th>
359
    <th scope="col" data-sort-method="number">$(wims_name_thsheet[3])</th>
360
    <th scope="col" data-sort-method="number">$(wims_name_thsheet[4])</th>
14132 obado 361
    !!qualite
12480 guerimand 362
    <th scope="col" data-sort-method="number">$(wims_name_thsheet[7])</th>
14132 obado 363
    !if $wims_user=supervisor or $sw=0
364
      !!I0: percentage work (related to cumul)
365
      <th scope="col" data-sort-method="number">$(wims_name_thsheet[5])</th>
366
    !endif
367
    !if $wims_user=supervisor or $sw=1
368
      !!I1: best percentage
369
      <th scope="col" data-sort-method="number">$(wims_name_thsheet[10])</th>
370
    !endif
371
    !if $wims_user=supervisor or $sw=2
372
      !!I2: level
373
      <th scope="col" data-sort-method="number">$(wims_name_thsheet[13])</th>
374
    !endif
12468 bpr 375
    !!last
12480 guerimand 376
    <th scope="col" data-sort-method="number">$(wims_name_thsheet[12])</th>
12468 bpr 377
    !!number try
12992 bpr 378
    <th scope="col" data-sort-method="number">
14132 obado 379
      <div class="wims_tooltip">$(wims_name_thsheet[11])
380
        <div class="wims_tooltiptext left" style="width:50em">
381
          $name_tryhelp
382
        </div>
12992 bpr 383
      </div>
14132 obado 384
    </th>
12480 guerimand 385
  </tr>
386
  </thead>
387
  <tbody>
12301 bpr 388
  !for j=1 to $e_
389
    !let d=!record $j of wimshome/log/classes/$wims_class/sheets/.sheet$n_
15820 guerimand 390
    !distribute line $d into t,t,t,t,title_,t,t,t,t,t,indiv_
15763 guerimand 391
    !if $indtechvar=$empty or $(user_techvar_$indtechvar)=$empty or $(user_techvar_$indtechvar) isitemof $indiv_
392
      !increase exonumber
393
      $table_tr
394
        <td>$exonumber</td>
395
        <td>$(title_)</td>
15820 guerimand 396
        <td>
397
          !let req_=!getscorerequire user=$getuser sheet=$n_ work=$j
398
          $(req_)
15844 bpr 399
        </td><td>
15820 guerimand 400
          !getscoreweight user=$getuser sheet=$n_ work=$j
401
        </td>
15763 guerimand 402
        !set try=!getscoretry user=$getuser sheet=$n_ work=$j
403
        !set alltry=!getscorealltries user=$getuser sheet=$n_ work=$j
404
        !if $alltry<=0
405
          !set makelist=!makelist <td>--</td> for j=1 to $nb_indic+1
406
          !replace , by in $makelist
12301 bpr 407
        !else
15763 guerimand 408
          !!!quality in exercise will always appear.
409
          !set d_=!getscorequality user=$getuser sheet=$n_ work=$j
410
          !default d_=0
411
          !read adm/class/colors $[ceil($d_)]
412
          <td style=$style_note>$d_</td>
413
          !!cumul
414
          !if $wims_user=supervisor or $sw=0
415
            !set d_=!getscore user=$getuser sheet=$n_ work=$j
416
            !default d_=0
417
            !!percentage
418
            !if $(req_)>0
419
              !read adm/class/colors $[ceil(10*$d_/$(req_))]
420
              <td style=$style_note>$[ceil(100*$d_/$(req_))]%</td>
421
            !else
422
              <td>--</td>
423
            !endif
424
          !endif
425
          !if $wims_user=supervisor or $sw=1
426
            !!best percentage
427
            !set best=!getscorebest user=$getuser sheet=$n_ work=$j
428
            !read adm/class/colors $[ceil(10*$best/$req_)]
429
            <td style=$style_note>$[ceil($[$best*100/$req_])]%</td>
430
          !endif
431
          !if $wims_user=supervisor or $sw=2
432
            !!level
433
            !set level=!getscorelevel user=$getuser sheet=$n_ work=$j
434
            !read adm/class/colors $[min(ceil($level+0.1),10)]
435
            <td style=$style_note>$level</td>
436
          !endif
14132 obado 437
 
15763 guerimand 438
          !!last
439
          !set last=!getscorelast user=$getuser sheet=$n_ work=$j
440
          !read adm/class/colors $[ceil($last)]
441
          <td style=$style_note>$last</td>
14132 obado 442
 
15763 guerimand 443
          !!try
444
          <td>
445
            !set tmp=!record $j of wimshome/log/classes/$wims_class/sheets/.sheet$n_
446
            !distribute lines $tmp into di,pa
447
            !read getparm $pa, seedrepeat, exotrymax
448
            !set tmp=!getseedscores user=$getuser sheet=$n_ work=$j
449
            !set tmp=!declosing $tmp
450
            !set tmp=!select $tmp where column 2 > -2
451
            !set tmp_cnt=!itemcnt $(tmp[;1])
452
            !if $get_seedrepeat>0
453
              !set tmp_width=width:$[ceil($tmp_cnt/$get_seedrepeat)+1]em;
454
            !else
455
              !set tmp_width=width:$[$tmp_cnt+1]em;
456
            !endif
457
            <div class="wims_tooltip">
458
              !if $get_exotrymax=$empty
459
                $try + $[$alltry-$try]
460
              !else
461
                ($try + $[$alltry-$try]) | $get_exotrymax
462
              !endif
463
              <div class="wims_tooltiptext left" style="$tmp_width">
464
                !read adm/class/seedscore.phtml [$tmp],$get_seedrepeat
465
              </div>
466
            </div>
467
            !reset tmp get_seedrepeat tmp_width
468
          </td>
469
        !endif try
470
      </tr>
471
    !endif
12301 bpr 472
  !next j
12480 guerimand 473
  </tbody>
12301 bpr 474
  $table_end
12638 obado 475
  !read tablesort.phtml
12791 bpr 476
  :next
23 reyssat 477
!next i
12638 obado 478
 
9809 bpr 479
!read wimshome/public_html/themes/_widgets/topback.phtml
1607 bpr 480
 
23 reyssat 481
!if $exologs!=$empty
12301 bpr 482
  !set wims_menu_items=!append line itemsep,0,\
9809 bpr 483
 reg_ex,1,module=adm/class/exolog&cmd=new&job=list&checkuser=$getuser\
1791 bpr 484
 to $wims_menu_items
23 reyssat 485
!endif
14132 obado 486
!set wims_menu_items=!append line rawdata,1,cmd=reply&job=getraw&getraw=$getuser\
9351 bpr 487
to $wims_menu_items
15970 guerimand 488
!if $wims_user=supervisor or $class_examshow!=no
15972 bpr 489
  !set wims_name_title_examdetail=$name_exam_expl
15970 guerimand 490
  !set wims_menu_items=!append line examdetail,1,cmd=reply&job=examcheck&checkuser=$getuser\
491
to $wims_menu_items
492
!endif
1607 bpr 493
 
14132 obado 494
!if $wims_user=supervisor
495
  !set wims_menu_items=!append line \
496
account,1,module=adm/class/usermanage&job=userprop&getuser=$getuser\
1336 bpr 497
to $wims_menu_items
14132 obado 498
  !if (($wims_supertype<3 and $wims_typename=class) or ($wims_supertype=4 and $wims_typename=course)) and $wims_showlivret!=no
499
    !set wims_menu_items=!append line livret1,1,module=adm/class/livret&job=user&user=$getuser\
500
to $wims_menu_items
501
    !set wims_menu_items=!append line activity1,1,module=adm/class/activity&job=exobyday&user=$getuser\
502
to $wims_menu_items
503
  !endif
504
  !set wims_menu_items=!append line itemsep,0, \
505
part_list,1,cmd=resume\
506
to $wims_menu_items
507
  !read adm/class/getnextuser $wims_class,$getuser,getuser,getuser
508
!else
12301 bpr 509
  !if $wims_showlivret!=no
510
    !set livret_nbcomp=!recordcnt wimshome/log/classes/$wims_class/livret/.comps
511
    !if $livret_nbcomp >0
512
      !set wims_menu_items=!append line livret,1,module=adm/class/livret to $wims_menu_items
513
    !endif
3095 guerimand 514
  !endif
23 reyssat 515
!endif
14132 obado 516
<br class="spacer" />
11105 bpr 517
 
12550 bpr 518
!reset tmp tmp_w tmp_s tmp_ss