Subversion Repositories wimsdev

Rev

Rev 8139 | Rev 9561 | 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. <div class="wimscenter" style="font-weight:bold;">
  9.  $name_worktodo
  10.  !if $jour_begin!=$jour_end
  11.   $name_between <span class="wims_emph">
  12.     !read date.phtml $jour_begin,notime
  13.   </span>
  14.   $name_and <span class="wims_emph">
  15.     !read date.phtml $jour_end,notime
  16.   </span>
  17.  !else
  18.   $name_for
  19.   <span class="wims_emph">
  20.     !read date.phtml $jour_begin,notime
  21.   </span>
  22.  !endif
  23. </div>
  24.  
  25.  
  26. !if $cdt_description!=$empty
  27.  <br />$cdt_description<br />
  28. !endif
  29.  
  30. !if $nbligne=0
  31.  <p>
  32.  $name_nowork.
  33.  </p>
  34.  !goto end
  35. !endif
  36.  
  37.  $table_header
  38.  $table_hdtr
  39.   <th>$name_for</th>
  40.   !if no isin $cdt_supervise
  41.    <th>$name_discipline</th>
  42.   !endif
  43.   <th>$name_work</th><th>$name_giventhe</th>
  44.  </tr>
  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 adm/lang/datemenu.phtml.$moduclass_lang 5,$todo
  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 adm/lang/datemenu.phtml.$moduclass_lang 5,$date
  67.    </td>
  68.   </tr>
  69.  !next i
  70.  $table_end
  71.  <p class="wimscenter">
  72.  !set wims_ref_class=wims_button
  73.  !href target=wims_new cmd=new&module=$module&job=todo&job2=print&jday=$jday&jyear=$jyear&jmonth=$jmonth&jday2=$jday2&jyear2=$jyear2&jmonth2=$jmonth2 $wims_name_print
  74.  </p>
  75. !set wims_menu_items=!append line printable,1,cmd=new&module=$module&job=todo&job2=print&jday=$jday&jyear=$jyear&jmonth=$jmonth&jday2=$jday2&jyear2=$jyear2&jmonth2=$jmonth2\
  76. to $wims_menu_items
  77. :end
  78.  
  79. <hr style="width:40%;" />
  80. !read form.phtml
  81.  
  82. !tail
  83.  
  84.