Rev 14043 | Rev 14833 | 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 |
14043 | bpr | 25 | !bound job within file,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 | |||
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 |
14043 | bpr | 37 | !read work.proc |
23 | reyssat | 38 | !else |
14043 | bpr | 39 | !read $job.proc |
23 | reyssat | 40 | !endif |
8140 | guerimand | 41 | |
8271 | guerimand | 42 | !if $jour_begin!=$empty |
14300 | guerimand | 43 | jdate=$jour_begin |
44 | !! jyear=!char 1 to 4 of $jour_begin |
||
45 | !! jmonth=!char 5 to 6 of $jour_begin |
||
46 | !! jday=!char 7 to 8 of $jour_begin |
||
8271 | guerimand | 47 | !endif |
48 | !if $jour_end!=$empty |
||
14300 | guerimand | 49 | jdate2=$jour_end |
50 | !! jyear2=!char 1 to 4 of $jour_end |
||
51 | !! jmonth2=!char 5 to 6 of $jour_end |
||
52 | !! jday2=!char 7 to 8 of $jour_end |
||
8271 | guerimand | 53 | !endif |