Subversion Repositories wimsdev

Rev

Rev 12751 | Rev 14043 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !read adm/class/classname.phtml $wims_classname\
  2. $wims_institutionname
  3.  
  4. !read adm/title.phtml 1\
  5. $classname\
  6. $cdt_title
  7.  
  8. !if $cdt_description!=$empty
  9.  <br />$cdt_description<br />
  10. !endif
  11.  
  12. !read form.phtml
  13.  
  14. <div class="wimscenter" style="font-weight:bold;">
  15.  $name_worktodo
  16.  !if $jour_begin!=$jour_end
  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.  !else
  24.   $name_for
  25.   <span class="wims_emph">
  26.     !read date.phtml $jour_begin,notime
  27.   </span>
  28.  !endif
  29. </div>
  30.  
  31.  
  32. !if $nbligne=0
  33.   <p>$name_nowork.</p>
  34.   !goto end
  35. !endif
  36.  
  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>
  50.  !for i=1 to $nbligne
  51.   $table_tr
  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
  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
  61.    <td valign="top">
  62.     !read adm/lang/datemenu.phtml.$moduclass_lang 5,$todo
  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>
  71.     !read adm/lang/datemenu.phtml.$moduclass_lang 5,$date
  72.    </td>
  73.   </tr>
  74.  !next i
  75.  </tbody>
  76.  $table_end
  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.  
  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
  86.  
  87. :end
  88. !tail
  89.  
  90.