Rev 17180 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4019 | bpr | 1 | |
1383 | bpr | 2 | |
9561 | guerimand | 3 | !if $cdt_description!=$empty |
17180 | bpr | 4 | <br>$cdt_description<br> |
9561 | guerimand | 5 | !endif |
6 | |||
14300 | guerimand | 7 | !read proc/searchform.phtml |
9561 | guerimand | 8 | |
5861 | bpr | 9 | <div class="wimscenter" style="font-weight:bold;"> |
10 | $name_worktodo |
||
14043 | bpr | 11 | !if $jour_begin!=$jour_end |
8139 | guerimand | 12 | $name_between <span class="wims_emph"> |
13 | !read date.phtml $jour_begin,notime |
||
14 | </span> |
||
15 | $name_and <span class="wims_emph"> |
||
16 | !read date.phtml $jour_end,notime |
||
17 | </span> |
||
23 | reyssat | 18 | !else |
14043 | bpr | 19 | $name_for |
20 | <span class="wims_emph"> |
||
8139 | guerimand | 21 | !read date.phtml $jour_begin,notime |
14043 | bpr | 22 | </span> |
23 | !endif |
||
8011 | bpr | 24 | </div> |
23 | reyssat | 25 | |
5861 | bpr | 26 | |
23 | reyssat | 27 | !if $nbligne=0 |
13610 | obado | 28 | <p>$name_nowork.</p> |
14833 | obado | 29 | !exit |
23 | reyssat | 30 | !endif |
8011 | bpr | 31 | |
13610 | obado | 32 | !set table_class=sortable |
33 | !set table_id=TABLE_cdt_todo |
||
34 | $table_header |
||
35 | <thead> |
||
36 | $table_hdtr |
||
37 | <th>$name_for</th> |
||
38 | !if no isin $cdt_supervise |
||
39 | <th>$name_discipline</th> |
||
40 | !endif |
||
41 | <th>$name_work</th><th>$name_giventhe</th> |
||
42 | </tr> |
||
43 | </thead> |
||
44 | <tbody> |
||
14043 | bpr | 45 | !for i=1 to $nbligne |
23 | reyssat | 46 | $table_tr |
14043 | bpr | 47 | !if $cdt_reversedate=1 |
6366 | guerimand | 48 | !let don=!line $nbligne+1-$i of $list |
14043 | bpr | 49 | !else |
6366 | guerimand | 50 | !let don=!line $i of $list |
14043 | bpr | 51 | !endif |
52 | !distribute item $don into todo,date,dir,matiere |
||
53 | !let m_filedir=$wims_ref_name?session=$wims_session&cmd=getfile&special_parm=cdt/$dir |
||
54 | !read wimshome/log/classes/$dir/cdt/def/$date |
||
55 | !let no=!positionof item $todo in $date_todo |
||
3049 | bpr | 56 | <td valign="top"> |
17318 | guerimand | 57 | !read date.phtml $todo,notime $dateoption |
23 | reyssat | 58 | </td> |
14043 | bpr | 59 | !if no isin $cdt_supervise |
23 | reyssat | 60 | <td>$matiere</td> |
14043 | bpr | 61 | !endif |
23 | reyssat | 62 | <td> |
63 | !read wimshome/log/classes/$dir/cdt/def/$date todo$no |
||
64 | </td> |
||
65 | <td> |
||
17318 | guerimand | 66 | !read date.phtml $date,notime $dateoption |
23 | reyssat | 67 | </td> |
68 | </tr> |
||
14043 | bpr | 69 | !next i |
70 | </tbody> |
||
71 | $table_end |
||
72 | !read tablesort.phtml |
||
13610 | obado | 73 | |
74 | <div class="wimscenter"> |
||
75 | !set wims_ref_class=wims_button |
||
76 | !href target=wims_new cmd=new&module=$module&job=todo&job2=print&$jdate=$jdate&jdate2=$jdate2 $wims_name_print |
||
77 | </div> |
||
78 | |||
12751 | guerimand | 79 | !set wims_menu_items=!append line printable,1,cmd=new&module=$module&job=todo&job2=print&jdate=$jdate&jdate2=$jdate2\ |
2516 | bpr | 80 | to $wims_menu_items |
12751 | guerimand | 81 |