Rev 12751 | 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 | |||
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 |
9 | <br />$cdt_description<br /> |
||
10 | !endif |
||
11 | |||
12 | !read form.phtml |
||
13 | |||
5861 | bpr | 14 | <div class="wimscenter" style="font-weight:bold;"> |
15 | $name_worktodo |
||
23 | reyssat | 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 |
8011 | bpr | 24 | $name_for |
8139 | guerimand | 25 | <span class="wims_emph"> |
26 | !read date.phtml $jour_begin,notime |
||
27 | </span> |
||
23 | reyssat | 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> |
||
23 | reyssat | 50 | !for i=1 to $nbligne |
51 | $table_tr |
||
6366 | guerimand | 52 | !if $cdt_reversedate=1 |
53 | !let don=!line $nbligne+1-$i of $list |
||
54 | !else |
||
55 | !let don=!line $i of $list |
||
56 | !endif |
||
23 | reyssat | 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 |
||
8011 | bpr | 59 | !read wimshome/log/classes/$dir/cdt/def/$date |
23 | reyssat | 60 | !let no=!positionof item $todo in $date_todo |
3049 | bpr | 61 | <td valign="top"> |
5252 | bpr | 62 | !read adm/lang/datemenu.phtml.$moduclass_lang 5,$todo |
23 | reyssat | 63 | </td> |
64 | !if no isin $cdt_supervise |
||
65 | <td>$matiere</td> |
||
66 | !endif |
||
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> |
||
74 | !next i |
||
13610 | obado | 75 | </tbody> |
23 | reyssat | 76 | $table_end |
13610 | obado | 77 | !read tablesort.phtml |
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 |
||
89 |