Rev 11798 | Rev 14043 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
12359 | guerimand | 1 | !read adm/class/classlang names.phtml |
23 | reyssat | 2 | wims_prefix=class user tmp cdt date |
3 | wims_writable=nbsheet courses nbdate jdesc serial |
||
10189 | bpr | 4 | wims_readable=wims_read_parm wims_session date m_filedir |
23 | reyssat | 5 | |
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 |
||
18 | !read tabletheme |
||
1837 | bpr | 19 | !read adm/date.phtml |
8133 | guerimand | 20 | !reset table_center |
8138 | guerimand | 21 | |
11798 | guerimand | 22 | jquery_defined=!defof jquery_defined in themes/$wims_theme/header.phtml |
23 | |||
23 | reyssat | 24 | !if $wims_user=supervisor and yes isin $cdt_supervise |
25 | !bound job within file,home,adddate,addtodo,del,todo,work,helplink,config,logfile default home |
||
26 | !else |
||
27 | !bound job within home,todo,work default home |
||
28 | !endif |
||
29 | |||
10190 | bpr | 30 | !if $job!=home |
31 | !set wims_ariane=!append line cdt,1,cmd=new&job=home\ |
||
32 | to $wims_ariane |
||
33 | !set wims_ariane_self=no |
||
34 | !endif |
||
35 | |||
23 | reyssat | 36 | !if $job isitemof work,todo |
37 | !read work.proc |
||
38 | !else |
||
39 | !read $job.proc |
||
40 | !endif |
||
8140 | guerimand | 41 | |
8271 | guerimand | 42 | !if $jour_begin!=$empty |
43 | jyear=!char 1 to 4 of $jour_begin |
||
44 | jmonth=!char 5 to 6 of $jour_begin |
||
45 | jday=!char 7 to 8 of $jour_begin |
||
46 | !endif |
||
47 | !if $jour_end!=$empty |
||
48 | jyear2=!char 1 to 4 of $jour_end |
||
49 | jmonth2=!char 5 to 6 of $jour_end |
||
50 | jday2=!char 7 to 8 of $jour_end |
||
51 | !endif |