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