Subversion Repositories wimsdev

Rev

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