Subversion Repositories wimsdev

Compare Revisions

Ignore whitespace Rev 17815 → Rev 17816

/trunk/wims/public_html/modules/adm/class/userscore/getuser.phtml
189,7 → 189,7
 
!! ------------------ display table for freeworks
!if $allowed_freework=yes
 
!! In the student score page we list only freeworks for which the
!! student has been doing some work (for some types this can simply
!! mean opening the freework). Visibility (of student work and of
196,7 → 196,7
!! score) is set according to freework status.
!!
!! If scoring is available it is advisable to disable manual scoring
!! interface, otherwise students can see scores befeore due date.
!! interface, otherwise students can see scores befeore due date.
!!
!if $nbfreeworks > 0
!set table_id=TABLE_freew
211,7 → 211,7
$table_hdtr
!for l_ in $name_fwcols
<th scope="col">$l_</th>
!next
!next
</tr>
</thead>
<tbody>
222,17 → 222,17
!readproc adm/freework/finduserwork.proc $fwi_,$getuser
$table_tr
<td>$fwi_</td>
<td>$title</td>
<td>$title</td>
!if ($wims_user=supervisor and $loadwork>0) or $wims_user!=supervisor
<td>
!if $fwtype=3
!if $fwtype=3
!href module=adm/class/freework&+job=viewuser3&+freework=$fwi_&+userv=$getuser $output
!else
!href module=adm/class/freework&+job=viewuser&+freework=$fwi_ $output
!endif
!endif
</td>
!else
<td style="background-image:url(gifs/bg/crossgrey.gif)">$output</td>
<td style="background-image:url(gifs/bg/crossgrey.gif)">$output</td>
!endif
<td>$deadline $timedeadline</td>
 
240,16 → 240,16
!if $scoring>0 and ($codownload>0 or $wims_user=supervisor or $activetest>=2)
!read adm/class/colors $[10*ceil($(g_$scoring))/$scoremax]
<td style=$style_note>$(g_$scoring)</td>
!else
<td style="background-image:url(gifs/bg/crossgrey.gif)">&nbsp;</td>
!endif
!else
<td style="background-image:url(gifs/bg/crossgrey.gif)">&nbsp;</td>
!endif
!if $wims_user=supervisor
<td>
!if $codownload=1
$wims_name_yes
!else
$wims_name_no
!endif
!if $codownload=1
$wims_name_yes
!else
$wims_name_no
!endif
 
!set fwseetest=!defof freework_seeco_$getuser in wimshome/log/classes/$wims_class/freeworksdata/$fwi_/.seeco
 
258,21 → 258,21
!reset fwseetest
!endif
 
</td>
</td>
<td>
!if $scoring=0 or $scoring=no
$wims_name_no
!else
$(titles[2+$scoring])
!endif
</td>
!if $scoring=0 or $scoring=no
$wims_name_no
!else
$(titles[2+$scoring])
!endif
</td>
<td>
!if $putiworkco=1
$wims_name_yes
!else
$wims_name_no
!endif
</td>
!if $putiworkco=1
$wims_name_yes
!else
$wims_name_no
!endif
</td>
!endif
</tr>
!next fwi_
416,7 → 416,6
!else
!href module=adm/sheet&sh=$n_ $hat
!endif
</div>
</th></tr>
$table_hdtr
<th scope="col" data-sort-method="number">$(wims_name_thsheet[1])</th>