Rev 14300 | Rev 15267 | 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\ |
||
14043 | bpr | 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 |
||
23 | reyssat | 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 |
14833 | obado | 25 | !bound job within addfile,home,adddate,addtodo,del,todo,work,helplink,config,logfile default home |
23 | reyssat | 26 | !else |
14043 | bpr | 27 | !bound job within home,todo,work default home |
23 | reyssat | 28 | !endif |
29 | |||
14833 | obado | 30 | !set wims_ariane_self=no |
31 | |||
32 | !if $job != home |
||
10190 | bpr | 33 | !set wims_ariane=!append line cdt,1,cmd=new&job=home\ |
34 | to $wims_ariane |
||
14833 | obado | 35 | !set wims_ariane=!append line $job,8,\ |
36 | to $wims_ariane |
||
37 | !else |
||
38 | !set wims_ariane=!append line cdt,8,\ |
||
39 | to $wims_ariane |
||
10190 | bpr | 40 | !endif |
41 | |||
23 | reyssat | 42 | !if $job isitemof work,todo |
14043 | bpr | 43 | !read work.proc |
23 | reyssat | 44 | !else |
14043 | bpr | 45 | !read $job.proc |
23 | reyssat | 46 | !endif |
8140 | guerimand | 47 | |
8271 | guerimand | 48 | !if $jour_begin!=$empty |
14300 | guerimand | 49 | jdate=$jour_begin |
50 | !! jyear=!char 1 to 4 of $jour_begin |
||
51 | !! jmonth=!char 5 to 6 of $jour_begin |
||
52 | !! jday=!char 7 to 8 of $jour_begin |
||
8271 | guerimand | 53 | !endif |
54 | !if $jour_end!=$empty |
||
14300 | guerimand | 55 | jdate2=$jour_end |
56 | !! jyear2=!char 1 to 4 of $jour_end |
||
57 | !! jmonth2=!char 5 to 6 of $jour_end |
||
58 | !! jday2=!char 7 to 8 of $jour_end |
||
8271 | guerimand | 59 | !endif |