Rev 3212 | Rev 5224 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2368 | bpr | 1 | !read adm/class/classlang names.phtml |
1319 | guerimand | 2 | wims_prefix=class user livret |
3 | |||
4 | !if $wims_class=$empty or ($wims_supertype!=0 and\ |
||
5 | ($wims_supertype!=2 or $wims_typename!=class) and\ |
||
1845 | guerimand | 6 | ($wims_supertype!=4 or $wims_typename!=course)) |
1319 | guerimand | 7 | error=bad_class |
8 | !exit |
||
9 | !endif |
||
10 | |||
11 | !defread wimshome/log/classes/$wims_class/.def |
||
1845 | guerimand | 12 | !defread $livret_dir/.def |
1319 | guerimand | 13 | |
1768 | guerimand | 14 | !default livret_minac=9 |
15 | |||
3040 | guerimand | 16 | livret_nonactivesheet=!listunion $livret_nonactivesheet and $nasheets |
17 | |||
2368 | bpr | 18 | !read lang/names.phtml.$moduclass_lang |
19 | |||
1319 | guerimand | 20 | !read tabletheme |
1951 | guerimand | 21 | name_icompetence=!char 1 of $name_Competences |
22 | name_ipalier=!char 1 of $name_n_Palier |
||
1319 | guerimand | 23 | |
1845 | guerimand | 24 | !if $livret_supervise=yes |
4344 | guerimand | 25 | !bound job within see,modpalier,userlist,config,addcomp,user,delpalier,delcomp,save default userlist |
1319 | guerimand | 26 | !else |
4344 | guerimand | 27 | !bound job within user,see default user |
1319 | guerimand | 28 | user=$wims_user |
29 | !endif |
||
30 | |||
1845 | guerimand | 31 | livret_nbcomp=!recordcnt $livret_dir/.comps |
1951 | guerimand | 32 | !for k=1 to $livret_nbcomp |
33 | t=!record $k of $livret_dir/.comps |
||
34 | !distribute line $t into title_$k,nbpalier_$k |
||
35 | !next k |
||
1319 | guerimand | 36 | |
37 | !read $job.proc |