Subversion Repositories wimsdev

Rev

Rev 9561 | Rev 13610 | 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.  
  33.  
  34. !if $nbligne=0
  35.  <p>
  36.  $name_nowork.
  37.  </p>
  38.  !goto end
  39. !endif
  40.  
  41.  $table_header
  42.  $table_hdtr
  43.   <th>$name_for</th>
  44.   !if no isin $cdt_supervise
  45.    <th>$name_discipline</th>
  46.   !endif
  47.   <th>$name_work</th><th>$name_giventhe</th>
  48.  </tr>
  49.  !for i=1 to $nbligne
  50.   $table_tr
  51.    !if $cdt_reversedate=1
  52.     !let don=!line $nbligne+1-$i of $list
  53.    !else
  54.     !let don=!line $i of $list
  55.    !endif
  56.    !distribute item $don into todo,date,dir,matiere
  57.    !let m_filedir=$wims_ref_name?session=$wims_session&cmd=getfile&special_parm=cdt/$dir
  58.    !read wimshome/log/classes/$dir/cdt/def/$date
  59.    !let no=!positionof item $todo in $date_todo
  60.    <td valign="top">
  61.     !read adm/lang/datemenu.phtml.$moduclass_lang 5,$todo
  62.    </td>
  63.    !if no isin $cdt_supervise
  64.     <td>$matiere</td>
  65.    !endif
  66.    <td>
  67.     !read wimshome/log/classes/$dir/cdt/def/$date todo$no
  68.    </td>
  69.    <td>
  70.     !read adm/lang/datemenu.phtml.$moduclass_lang 5,$date
  71.    </td>
  72.   </tr>
  73.  !next i
  74.  $table_end
  75.  <p class="wimscenter">
  76.  !set wims_ref_class=wims_button
  77.  !href target=wims_new cmd=new&module=$module&job=todo&job2=print&$jdate=$jdate&jdate2=$jdate2 $wims_name_print
  78.  </p>
  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. :end
  83.  
  84. <hr style="width:40%;" />
  85.  
  86. !tail
  87.  
  88.