Subversion Repositories wimsdev

Rev

Rev 14833 | 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 3\
  5. $classname
  6.  
  7. <div class="wimscenter" style="font-weight:bold;">
  8.  $name_worktodo
  9.  !if $jour_begin!=$jour_end
  10.   $name_between <span class="wims_emph">
  11.     !read date.phtml $jour_begin,notime
  12.   </span>
  13.   $name_and <span class="wims_emph">
  14.     !read date.phtml $jour_end,notime
  15.   </span>
  16.  !else
  17.   $name_for
  18.   <span class="wims_emph">
  19.     !read date.phtml $jour_begin,notime
  20.   </span>
  21.  !endif
  22. </div>
  23.  
  24.  
  25. !if $cdt_nbdate=0
  26.   $name_noinfo1.
  27.   !exit
  28. !else
  29.   !if $nbligne=0
  30.     !if $jour_begin=$jour_end
  31.       $name_noinfo2.
  32.     !else
  33.       $name_noinfo3.
  34.     !endif
  35.     !exit
  36.   !endif
  37. !endif
  38.  
  39.  !let table_border=1
  40.  $table_header
  41.  $table_hdtr
  42.   <th>$name_Day</th>
  43.   !if no isin $cdt_supervise
  44.    <th>$name_discipline</th>
  45.   !endif
  46.   <th>$name_inclass</th><th>$name_worktodo</th><th style="width:30px">$name_for</th>
  47.  </tr>
  48.  !for i=1 to $nbligne
  49.   !let don=!line $i of $list
  50.   !distribute item $don into jour,file,matiere
  51.   !let m_filedir=$wims_ref_name?session=$wims_session&cmd=getfile&special_parm=cdt/$file
  52.   !let file=wimshome/log/classes/$file/cdt/def/$jour
  53.   !read $file
  54.   !let nbtodo=!itemcnt $date_todo
  55.   !let snbtodo=$[max(1,$nbtodo)]
  56.   <tr class="$(table_colors[$i%2+1])">
  57.    <td rowspan="$snbtodo">
  58.     !read date.phtml $jour,notime $dateoption
  59.    </td>
  60.    !if no isin $cdt_supervise
  61.     <td rowspan="$snbtodo">$matiere</td>
  62.    !endif
  63.    <td rowspan="$snbtodo" valign="top">
  64.     !read $file content
  65.    </td>
  66.    !if $nbtodo>0
  67.     <td valign="top">
  68.     !read $file todo1
  69.     </td>
  70.     <td>
  71.      !read date.phtml $date_todo,notime $dateoption
  72.     </td>
  73.    !else
  74.     <td>&nbsp;</td><td>&nbsp;</td>
  75.    !endif
  76.   </tr>
  77.    !if $nbtodo>1
  78.     !for j=2 to $nbtodo
  79.      <tr class="$(table_colors[$i%2+1])">
  80.       <td valign="top">
  81.        !read $file todo$j
  82.       </td>
  83.       <td>
  84.        !let tmp=!item $j of $date_todo
  85.        !read date.phtml $tmp,notime $dateoption
  86.       </td>
  87.      </tr>
  88.     !next j
  89.    !endif
  90.  !next i
  91.  $table_end
  92.