Rev 15267 | 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 |
15267 | guerimand | 10 | !readproc adm/allowlink/cdt.proc |
11 | !if $wims_allowlink_cdt=yes |
||
14043 | bpr | 12 | error=bad_class |
13 | !exit |
||
23 | reyssat | 14 | !endif |
15 | !defread wimshome/log/classes/$wims_class/.def |
||
16 | !defread wimshome/log/classes/$wims_class/cdt/.def |
||
17 | !read tabletheme |
||
8133 | guerimand | 18 | !reset table_center |
8138 | guerimand | 19 | |
11798 | guerimand | 20 | jquery_defined=!defof jquery_defined in themes/$wims_theme/header.phtml |
21 | |||
23 | reyssat | 22 | !if $wims_user=supervisor and yes isin $cdt_supervise |
14833 | obado | 23 | !bound job within addfile,home,adddate,addtodo,del,todo,work,helplink,config,logfile default home |
23 | reyssat | 24 | !else |
14043 | bpr | 25 | !bound job within home,todo,work default home |
23 | reyssat | 26 | !endif |
27 | |||
14833 | obado | 28 | !set wims_ariane_self=no |
29 | |||
30 | !if $job != home |
||
10190 | bpr | 31 | !set wims_ariane=!append line cdt,1,cmd=new&job=home\ |
32 | to $wims_ariane |
||
14833 | obado | 33 | !set wims_ariane=!append line $job,8,\ |
34 | to $wims_ariane |
||
35 | !else |
||
36 | !set wims_ariane=!append line cdt,8,\ |
||
37 | to $wims_ariane |
||
10190 | bpr | 38 | !endif |
39 | |||
23 | reyssat | 40 | !if $job isitemof work,todo |
14043 | bpr | 41 | !read work.proc |
23 | reyssat | 42 | !else |
14043 | bpr | 43 | !read $job.proc |
23 | reyssat | 44 | !endif |
8140 | guerimand | 45 | |
8271 | guerimand | 46 | !if $jour_begin!=$empty |
14300 | guerimand | 47 | jdate=$jour_begin |
8271 | guerimand | 48 | !endif |
49 | !if $jour_end!=$empty |
||
14300 | guerimand | 50 | jdate2=$jour_end |
8271 | guerimand | 51 | !endif |