Rev 14043 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4039 | bpr | 1 | !read adm/class/classname.phtml $wims_classname\ |
4019 | bpr | 2 | $wims_institutionname |
3 | |||
14833 | obado | 4 | !read adm/title.phtml 3\ |
5 | $classname |
||
1837 | bpr | 6 | |
8139 | guerimand | 7 | <div class="wimscenter" style="font-weight:bold;"> |
8 | $name_worktodo |
||
9 | !if $jour_begin!=$jour_end |
||
10 | $name_between <span class="wims_emph"> |
||
11 | !read date.phtml $jour_begin,notime |
||
12 | </span> |
||
13 | $name_and <span class="wims_emph"> |
||
14 | !read date.phtml $jour_end,notime |
||
15 | </span> |
||
16 | !else |
||
17 | $name_for |
||
18 | <span class="wims_emph"> |
||
19 | !read date.phtml $jour_begin,notime |
||
20 | </span> |
||
23 | reyssat | 21 | !endif |
7999 | bpr | 22 | </div> |
23 | reyssat | 23 | |
5861 | bpr | 24 | |
23 | reyssat | 25 | !if $cdt_nbdate=0 |
14043 | bpr | 26 | $name_noinfo1. |
14833 | obado | 27 | !exit |
23 | reyssat | 28 | !else |
14043 | bpr | 29 | !if $nbligne=0 |
30 | !if $jour_begin=$jour_end |
||
31 | $name_noinfo2. |
||
32 | !else |
||
33 | $name_noinfo3. |
||
34 | !endif |
||
14833 | obado | 35 | !exit |
23 | reyssat | 36 | !endif |
37 | !endif |
||
8011 | bpr | 38 | |
23 | reyssat | 39 | !let table_border=1 |
40 | $table_header |
||
7999 | bpr | 41 | $table_hdtr |
1837 | bpr | 42 | <th>$name_Day</th> |
23 | reyssat | 43 | !if no isin $cdt_supervise |
1837 | bpr | 44 | <th>$name_discipline</th> |
23 | reyssat | 45 | !endif |
7999 | bpr | 46 | <th>$name_inclass</th><th>$name_worktodo</th><th style="width:30px">$name_for</th> |
23 | reyssat | 47 | </tr> |
48 | !for i=1 to $nbligne |
||
49 | !let don=!line $i of $list |
||
50 | !distribute item $don into jour,file,matiere |
||
51 | !let m_filedir=$wims_ref_name?session=$wims_session&cmd=getfile&special_parm=cdt/$file |
||
52 | !let file=wimshome/log/classes/$file/cdt/def/$jour |
||
53 | !read $file |
||
54 | !let nbtodo=!itemcnt $date_todo |
||
8011 | bpr | 55 | !let snbtodo=$[max(1,$nbtodo)] |
4287 | guerimand | 56 | <tr class="$(table_colors[$i%2+1])"> |
8011 | bpr | 57 | <td rowspan="$snbtodo"> |
9598 | guerimand | 58 | !read adm/lang/datemenu.phtml.$moduclass_lang 5,$jour,$dateoption |
23 | reyssat | 59 | </td> |
60 | !if no isin $cdt_supervise |
||
8011 | bpr | 61 | <td rowspan="$snbtodo">$matiere</td> |
23 | reyssat | 62 | !endif |
8011 | bpr | 63 | <td rowspan="$snbtodo" valign="top"> |
23 | reyssat | 64 | !read $file content |
65 | </td> |
||
66 | !if $nbtodo>0 |
||
3049 | bpr | 67 | <td valign="top"> |
23 | reyssat | 68 | !read $file todo1 |
69 | </td> |
||
70 | <td> |
||
9598 | guerimand | 71 | !read adm/lang/datemenu.phtml.$moduclass_lang 5,$date_todo,$dateoption |
23 | reyssat | 72 | </td> |
73 | !else |
||
74 | <td> </td><td> </td> |
||
75 | !endif |
||
76 | </tr> |
||
77 | !if $nbtodo>1 |
||
78 | !for j=2 to $nbtodo |
||
4287 | guerimand | 79 | <tr class="$(table_colors[$i%2+1])"> |
3049 | bpr | 80 | <td valign="top"> |
23 | reyssat | 81 | !read $file todo$j |
82 | </td> |
||
83 | <td> |
||
84 | !let tmp=!item $j of $date_todo |
||
9598 | guerimand | 85 | !read adm/lang/datemenu.phtml.$moduclass_lang 5,$tmp,$dateoption |
23 | reyssat | 86 | </td> |
87 | </tr> |
||
88 | !next j |
||
7999 | bpr | 89 | !endif |
23 | reyssat | 90 | !next i |
91 | $table_end |