Subversion Repositories wimsdev

Rev

Rev 10189 | Rev 14833 | 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-size:large; 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. !if $nbligne=0
  26.  <p>
  27.  $name_nowork.
  28.  </p>
  29.  !goto end
  30. !endif
  31.  
  32. $table_header
  33. $table_hdtr
  34.  <th>$name_for</th>
  35. !if no isin $cdt_supervise
  36.   <th>$name_discipline</th>
  37. !endif
  38.  <th>$name_work</th><th>$name_giventhe</th>
  39. </tr>
  40. !for i=1 to $nbligne
  41.  $table_tr
  42.  !let don=!line $i of $list
  43.  !distribute item $don into todo,date,dir,matiere
  44.  !let m_filedir=$wims_ref_name?session=$wims_session&cmd=getfile&special_parm=cdt/$dir
  45.  !read wimshome/log/classes/$dir/cdt/def/$date
  46.  !let no=!positionof item $todo in $date_todo
  47.   <td>
  48.    !read adm/lang/datemenu.phtml.$moduclass_lang 5,$todo,$dateoption
  49.   </td>
  50.  !if no isin $cdt_supervise
  51.    <td>$matiere</td>
  52.  !endif
  53.   <td valign="top">
  54.    !read wimshome/log/classes/$dir/cdt/def/$date todo$no
  55.   </td>
  56.   <td>
  57.    !read adm/lang/datemenu.phtml.$moduclass_lang 5,$date,$dateoption
  58.   </td>
  59.  </tr>
  60. !next i
  61. $table_end
  62. :end
  63. !if _ notin $wims_session
  64.  !set wims_menu_items=!append line back2,1,module=$module \
  65. to $wims_menu_items
  66. !endif
  67. !tail
  68.