Rev 13610 | Rev 14300 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13610 | Rev 14043 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | !read adm/title.phtml 1\ |
4 | !read adm/title.phtml 1\ |
5 | $classname\ |
5 | $classname\ |
6 | $cdt_title |
6 | $cdt_title |
7 | 7 | ||
8 | !if $cdt_description!=$empty |
8 | !if $cdt_description!=$empty |
9 | <br />$cdt_description<br /> |
9 | <br />$cdt_description<br /> |
10 | !endif |
10 | !endif |
11 | 11 | ||
12 | !read form.phtml |
12 | !read form.phtml |
13 | 13 | ||
14 | <div class="wimscenter" style="font-weight:bold;"> |
14 | <div class="wimscenter" style="font-weight:bold;"> |
15 | $name_worktodo |
15 | $name_worktodo |
16 |
|
16 | !if $jour_begin!=$jour_end |
17 | $name_between <span class="wims_emph"> |
17 | $name_between <span class="wims_emph"> |
18 | !read date.phtml $jour_begin,notime |
18 | !read date.phtml $jour_begin,notime |
19 | </span> |
19 | </span> |
20 | $name_and <span class="wims_emph"> |
20 | $name_and <span class="wims_emph"> |
21 | !read date.phtml $jour_end,notime |
21 | !read date.phtml $jour_end,notime |
22 | </span> |
22 | </span> |
23 | !else |
23 | !else |
24 | $name_for |
24 | $name_for |
25 | <span class="wims_emph"> |
25 | <span class="wims_emph"> |
26 | !read date.phtml $jour_begin,notime |
26 | !read date.phtml $jour_begin,notime |
27 | </span> |
27 | </span> |
28 |
|
28 | !endif |
29 | </div> |
29 | </div> |
30 | 30 | ||
31 | 31 | ||
32 | !if $nbligne=0 |
32 | !if $nbligne=0 |
33 | <p>$name_nowork.</p> |
33 | <p>$name_nowork.</p> |
Line 45... | Line 45... | ||
45 | !endif |
45 | !endif |
46 | <th>$name_work</th><th>$name_giventhe</th> |
46 | <th>$name_work</th><th>$name_giventhe</th> |
47 | </tr> |
47 | </tr> |
48 | </thead> |
48 | </thead> |
49 | <tbody> |
49 | <tbody> |
50 |
|
50 | !for i=1 to $nbligne |
51 | $table_tr |
51 | $table_tr |
52 |
|
52 | !if $cdt_reversedate=1 |
53 | !let don=!line $nbligne+1-$i of $list |
53 | !let don=!line $nbligne+1-$i of $list |
54 |
|
54 | !else |
55 | !let don=!line $i of $list |
55 | !let don=!line $i of $list |
56 |
|
56 | !endif |
57 |
|
57 | !distribute item $don into todo,date,dir,matiere |
58 |
|
58 | !let m_filedir=$wims_ref_name?session=$wims_session&cmd=getfile&special_parm=cdt/$dir |
59 |
|
59 | !read wimshome/log/classes/$dir/cdt/def/$date |
60 |
|
60 | !let no=!positionof item $todo in $date_todo |
61 | <td valign="top"> |
61 | <td valign="top"> |
62 |
|
62 | !read adm/lang/datemenu.phtml.$moduclass_lang 5,$todo |
63 | </td> |
63 | </td> |
64 |
|
64 | !if no isin $cdt_supervise |
65 | <td>$matiere</td> |
65 | <td>$matiere</td> |
66 |
|
66 | !endif |
67 | <td> |
67 | <td> |
68 | !read wimshome/log/classes/$dir/cdt/def/$date todo$no |
68 | !read wimshome/log/classes/$dir/cdt/def/$date todo$no |
69 | </td> |
69 | </td> |
70 | <td> |
70 | <td> |
71 | !read adm/lang/datemenu.phtml.$moduclass_lang 5,$date |
71 | !read adm/lang/datemenu.phtml.$moduclass_lang 5,$date |
72 | </td> |
72 | </td> |
73 | </tr> |
73 | </tr> |
74 |
|
74 | !next i |
75 |
|
75 | </tbody> |
76 |
|
76 | $table_end |
77 |
|
77 | !read tablesort.phtml |
78 | 78 | ||
79 | <div class="wimscenter"> |
79 | <div class="wimscenter"> |
80 | !set wims_ref_class=wims_button |
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 |
81 | !href target=wims_new cmd=new&module=$module&job=todo&job2=print&$jdate=$jdate&jdate2=$jdate2 $wims_name_print |
82 | </div> |
82 | </div> |
83 | 83 | ||
84 | !set wims_menu_items=!append line printable,1,cmd=new&module=$module&job=todo&job2=print&jdate=$jdate&jdate2=$jdate2\ |
84 | !set wims_menu_items=!append line printable,1,cmd=new&module=$module&job=todo&job2=print&jdate=$jdate&jdate2=$jdate2\ |
85 | to $wims_menu_items |
85 | to $wims_menu_items |
86 | 86 | ||
87 | :end |
87 | :end |
88 | !tail |
88 | !tail |
89 | - |