Rev 10189 | Rev 11798 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | wims_prefix=class user tmp cdt date |
2 | wims_writable=nbsheet courses nbdate jdesc serial |
||
10189 | bpr | 3 | wims_readable=wims_read_parm wims_session date m_filedir |
23 | reyssat | 4 | |
8133 | guerimand | 5 | |
23 | reyssat | 6 | insmath_rawmath=yes |
7 | wims_backslash_insmath=yes |
||
4386 | bpr | 8 | msg2wims_primitives=exercise doc href |
23 | reyssat | 9 | wims_trustfile=primitives.phtml |
10 | !if $wims_class=$empty or ($wims_supertype!=0 and\ |
||
11 | ($wims_supertype!=2 or $wims_typename!=class) and\ |
||
12 | ($wims_supertype!=4 or $wims_typename notitemof class,course)) |
||
13 | error=bad_class |
||
14 | !exit |
||
15 | !endif |
||
16 | !defread wimshome/log/classes/$wims_class/.def |
||
17 | !defread wimshome/log/classes/$wims_class/cdt/.def |
||
2442 | bpr | 18 | !read adm/class/classlang names.phtml |
23 | reyssat | 19 | !read tabletheme |
1837 | bpr | 20 | !read adm/date.phtml |
8133 | guerimand | 21 | !reset table_center |
8138 | guerimand | 22 | |
23 | reyssat | 23 | !if $wims_user=supervisor and yes isin $cdt_supervise |
24 | !bound job within file,home,adddate,addtodo,del,todo,work,helplink,config,logfile default home |
||
25 | !else |
||
26 | !bound job within home,todo,work default home |
||
27 | !endif |
||
28 | |||
10190 | bpr | 29 | !if $job!=home |
30 | !set wims_ariane=!append line cdt,1,cmd=new&job=home\ |
||
31 | to $wims_ariane |
||
32 | !set wims_ariane_self=no |
||
33 | !endif |
||
34 | |||
23 | reyssat | 35 | !if $job isitemof work,todo |
36 | !read work.proc |
||
37 | !else |
||
38 | !read $job.proc |
||
39 | !endif |
||
8140 | guerimand | 40 | |
8271 | guerimand | 41 | !if $jour_begin!=$empty |
42 | jyear=!char 1 to 4 of $jour_begin |
||
43 | jmonth=!char 5 to 6 of $jour_begin |
||
44 | jday=!char 7 to 8 of $jour_begin |
||
45 | !endif |
||
46 | !if $jour_end!=$empty |
||
47 | jyear2=!char 1 to 4 of $jour_end |
||
48 | jmonth2=!char 5 to 6 of $jour_end |
||
49 | jday2=!char 7 to 8 of $jour_end |
||
50 | !endif |