Rev 12413 | Rev 12899 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12413 | Rev 12895 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | t=!record 1 of wimshome/$cls/.grades |
30 | t=!record 1 of wimshome/$cls/.grades |
31 | t=!line 2 of $t |
31 | t=!line 2 of $t |
32 | t=!itemcnt $t |
32 | t=!itemcnt $t |
33 | $(cl)_manualcnt=$[max(0,$t-2)] |
33 | $(cl)_manualcnt=$[max(0,$t-2)] |
34 | $(cl)_testcnt=$[$($(cl)_scorecnt1)+$($(cl)_manualcnt)] |
34 | $(cl)_testcnt=$[$($(cl)_scorecnt1)+$($(cl)_manualcnt)] |
35 | - | ||
36 | $(cl)_reccnt=$[$($(cl)_usercnt)+$($(cl)_sheetcnt)+$($(cl)_examcnt)\ |
35 | $(cl)_reccnt=$[$($(cl)_usercnt)+$($(cl)_sheetcnt)+$($(cl)_examcnt)\ |
37 | +$($(cl)_doccnt)+$($(cl)_docpubliccnt)+$($(cl)_forumcnt)+$($(cl)_votecnt)\ |
36 | +$($(cl)_doccnt)+$($(cl)_docpubliccnt)+$($(cl)_forumcnt)+$($(cl)_votecnt)\ |
38 | +$($(cl)_exocnt)+$($(cl)_scorecnt)+$($(cl)_manualcnt)] |
37 | +$($(cl)_exocnt)+$($(cl)_scorecnt)+$($(cl)_manualcnt)] |
39 | $(cl)_motdcnt=!filelist $wims_home/$cls/.motd |
38 | $(cl)_motdcnt=!filelist $wims_home/$cls/.motd |
40 | !if $($(cl)_motdcnt)!=$empty |
39 | !if $($(cl)_motdcnt)!=$empty |
41 | $(cl)_motdcnt=1 |
40 | $(cl)_motdcnt=1 |
42 | !else |
41 | !else |
43 | $(cl)_motdcnt=0 |
42 | $(cl)_motdcnt=0 |
44 | !endif |
43 | !endif |
- | 44 | tmp1=!recordcnt wimshome/$cls/tool/.glossaryindex |
|
- | 45 | tmp2=!recordcnt wimshome/$cls/tool/.toolindex |
|
- | 46 | $(cl)_toolcnt=$[$tmp1+$tmp2] |
|
45 | 47 | ||
46 | t=!defof user_exists in wimshome/$cls/supervisor |
48 | t=!defof user_exists in wimshome/$cls/supervisor |
47 | !if $t=yes |
49 | !if $t=yes |
48 | $(cl)_supcnt=1 |
50 | $(cl)_supcnt=1 |
49 | !else |
51 | !else |