Subversion Repositories wimsdev

Rev

Rev 9598 | 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_nbdate=0
  27.   $name_noinfo1.
  28.   !goto end
  29. !else
  30.   !if $nbligne=0
  31.     !if $jour_begin=$jour_end
  32.       $name_noinfo2.
  33.     !else
  34.       $name_noinfo3.
  35.     !endif
  36.     !goto end
  37.   !endif
  38. !endif
  39.  
  40.  !let table_border=1
  41.  $table_header
  42.  $table_hdtr
  43.   <th>$name_Day</th>
  44.   !if no isin $cdt_supervise
  45.    <th>$name_discipline</th>
  46.   !endif
  47.   <th>$name_inclass</th><th>$name_worktodo</th><th style="width:30px">$name_for</th>
  48.  </tr>
  49.  !for i=1 to $nbligne
  50.   !let don=!line $i of $list
  51.   !distribute item $don into jour,file,matiere
  52.   !let m_filedir=$wims_ref_name?session=$wims_session&cmd=getfile&special_parm=cdt/$file
  53.   !let file=wimshome/log/classes/$file/cdt/def/$jour
  54.   !read $file
  55.   !let nbtodo=!itemcnt $date_todo
  56.   !let snbtodo=$[max(1,$nbtodo)]
  57.   <tr class="$(table_colors[$i%2+1])">
  58.    <td rowspan="$snbtodo">
  59.     !read adm/lang/datemenu.phtml.$moduclass_lang 5,$jour,$dateoption
  60.    </td>
  61.    !if no isin $cdt_supervise
  62.     <td rowspan="$snbtodo">$matiere</td>
  63.    !endif
  64.    <td rowspan="$snbtodo" valign="top">
  65.     !read $file content
  66.    </td>
  67.    !if $nbtodo>0
  68.     <td valign="top">
  69.     !read $file todo1
  70.     </td>
  71.     <td>
  72.      !read adm/lang/datemenu.phtml.$moduclass_lang 5,$date_todo,$dateoption
  73.     </td>
  74.    !else
  75.     <td>&nbsp;</td><td>&nbsp;</td>
  76.    !endif
  77.   </tr>
  78.    !if $nbtodo>1
  79.     !for j=2 to $nbtodo
  80.      <tr class="$(table_colors[$i%2+1])">
  81.       <td valign="top">
  82.        !read $file todo$j
  83.       </td>
  84.       <td>
  85.        !let tmp=!item $j of $date_todo
  86.        !read adm/lang/datemenu.phtml.$moduclass_lang 5,$tmp,$dateoption
  87.       </td>
  88.      </tr>
  89.     !next j
  90.    !endif
  91.  !next i
  92.  $table_end
  93.  
  94. :end
  95. !if _ notin $wims_session
  96.   !set wims_menu_items=!append line back2,1,module=$module \
  97.  to $wims_menu_items
  98. !endif
  99.  
  100. !tail
  101.