Subversion Repositories wimsdev

Rev

Rev 11268 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11268 Rev 11295
Line 8... Line 8...
8
!endif
8
!endif
9
 
9
 
10
!set wims_hr_r=$[max(0,$wims_exam_remain)]
10
!set wims_hr_r=$[max(0,$wims_exam_remain)]
11
!set wims_hr_rm=$[floor($wims_hr_r/60)]
11
!set wims_hr_rm=$[floor($wims_hr_r/60)]
12
!set wims_hr_rs=!char 2,3 of $[$wims_hr_r%60+100]
12
!set wims_hr_rs=!char 2,3 of $[$wims_hr_r%60+100]
13
!set wims_homeref_special=<p class="exam_remain">$wims_name_examremain <strong>$wims_hr_rm:$wims_hr_rs</strong> ($wims_name_whenloaded)</p>
13
!!!set wims_homeref_special=<p class="exam_remain">$wims_name_examremain <strong>$wims_hr_rm:$wims_hr_rs</strong> ($wims_name_whenloaded)</p>
14
!set wims_homeref_special=$wims_homeref_special
14
!!set wims_homeref_special=$wims_homeref_special
15
!if $lang=fr
15
!if $lang=fr
16
  !set date_format=%d/%m/%Y - %T
16
  !set date_format=%d/%m/%Y - %T
17
!else
17
!else
18
  !set date_format=%Y-%m-%d - %T
18
  !set date_format=%Y-%m-%d - %T
19
!endif
19
!endif
20
 
20
 
21
!set exam_end_date=!exec get_end_date.pl $wims_hr_r,$date_format
21
!set exam_end_date=!exec get_end_date.pl $wims_hr_r,$date_format
22
 
22
 
-
 
23
!set wims_homeref_special=$wims_homeref_special\
23
!set wims_homeref_special=$wims_homeref_special<p class="exam_ending">$wims_name_exam_ending <strong>$exam_end_date</strong> ($wims_name_server_time)</p>
24
 <p class="exam_ending">$wims_name_exam_ending <strong>$exam_end_date</strong> ($wims_name_server_time)</p>