Subversion Repositories wimsdev

Rev

Rev 17180 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1.  
  2.  
  3. !if $cdt_description!=$empty
  4.   <br>$cdt_description<br>
  5. !endif
  6.  
  7. !read proc/searchform.phtml
  8.  
  9. <div class="wimscenter" style="font-weight:bold;">
  10.  $name_worktodo
  11. !if $jour_begin!=$jour_end
  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>
  18.  !else
  19.     $name_for
  20.     <span class="wims_emph">
  21.     !read date.phtml $jour_begin,notime
  22.     </span>
  23. !endif
  24. </div>
  25.  
  26.  
  27. !if $nbligne=0
  28.   <p>$name_nowork.</p>
  29.   !exit
  30. !endif
  31.  
  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>
  45. !for i=1 to $nbligne
  46.   $table_tr
  47.   !if $cdt_reversedate=1
  48.     !let don=!line $nbligne+1-$i of $list
  49.   !else
  50.     !let don=!line $i of $list
  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
  56.    <td valign="top">
  57.   !read date.phtml $todo,notime $dateoption
  58.    </td>
  59.   !if no isin $cdt_supervise
  60.     <td>$matiere</td>
  61.   !endif
  62.    <td>
  63.     !read wimshome/log/classes/$dir/cdt/def/$date todo$no
  64.    </td>
  65.    <td>
  66.     !read date.phtml $date,notime $dateoption
  67.    </td>
  68.   </tr>
  69. !next i
  70. </tbody>
  71. $table_end
  72. !read tablesort.phtml
  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.  
  79. !set wims_menu_items=!append line printable,1,cmd=new&module=$module&job=todo&job2=print&jdate=$jdate&jdate2=$jdate2\
  80. to $wims_menu_items
  81.  
  82.