Subversion Repositories wimsdev

Rev

Rev 2516 | Rev 3070 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1.  
  2.  
  3. !read adm/title.phtml 1\
  4. $wims_classname - $wims_institutionname\
  5. $cdt_title
  6.  
  7. <center> <b><font size="+1">
  8.  !if $jour_begin!=$empty
  9.   $name_between <font color=green>$name_date</font>
  10.   !if $jour_begin!=$jour_end
  11.    $name_and <font color=green>$name_date2</font>
  12.   !endif
  13.  !endif
  14.  </font></b>
  15. </center>
  16.  
  17. !if $cdt_description!=$empty
  18.  <br>$cdt_description
  19. !endif
  20. <p><p>
  21.  
  22. !if $cdt_nbdate=0
  23.  $name_noinfo1.
  24.  !goto end
  25. !else
  26.  !if $nbligne=0
  27.   !if $jour_begin=$jour_end
  28.    $name_noinfo2.
  29.   !else
  30.    $name_noinfo3.
  31.   !endif
  32.   !goto end
  33.  !endif
  34. !endif
  35.  
  36. <center>
  37.  $table_header
  38.  $table_hdtr
  39.   <th>$name_Day</th>
  40.   !if no isin $cdt_supervise
  41.    <th>$name_discipline</th>
  42.   !endif
  43.   <th>$name_inclass</th><th>$name_worktodo</th><th width=30>$name_for</th>
  44.   !if $wims_user=supervisor and yes isin $cdt_supervise
  45.    <th>$wims_name_action</th>
  46.   !endif
  47.  </tr>
  48.  !for i=1 to $nbligne
  49.   !let mem_tr=$table_tr
  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.   $mem_tr
  57.    <td rowspan=$nbtodo>
  58.     !read lang/date.phtml.$moduclass_lang 5,$jour
  59.    </td>
  60.    !if no isin $cdt_supervise
  61.     <td rowspan=$nbtodo>$matiere</td>
  62.    !endif
  63.    <td rowspan=$nbtodo 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 lang/date.phtml.$moduclass_lang 5,$date_todo
  72.     </td>
  73.    !else
  74.     <td>&nbsp;</td><td>&nbsp;</td>
  75.    !endif
  76.    !if $wims_user=supervisor and yes isin $cdt_supervise
  77.     <td rowspan=$nbtodo>
  78.     !href cmd=new&job=adddate&filename=$jour $wims_name_change
  79.     &nbsp;
  80.     !href cmd=new&job=del&filename=$jour $wims_name_erase
  81.    !endif
  82.   </tr>
  83.    !if $nbtodo>1
  84.     !let bgcolor=!positionof char # in $mem_tr
  85.    !let bgcolor=!char $bgcolor to $[$bgcolor+6] of $mem_tr
  86.     !for j=2 to $nbtodo
  87.      <tr bgcolor="$bgcolor">
  88.       <td valign="top">
  89.        !read $file todo$j
  90.       </td>
  91.       <td>
  92.        !let tmp=!item $j of $date_todo
  93.        !read lang/date.phtml.$moduclass_lang 5,$tmp
  94.       </td>
  95.      </tr>
  96.     !next j
  97.    !endif
  98.  !next i
  99.  $table_end
  100. !if $nbligne>0
  101.  <p>
  102.  !href target=wims_new module=$module&cmd=new&job=work&job2=print&jday=$jday&jmonth=$jmonth&jyear=$jyear&jyear2=$jyear2&jmonth2=$jmonth2&jday2=$jday2 $wims_name_print
  103. !set wims_menu_items=!append line printable,1,module=$module&cmd=new&job=work&job2=print&jday=$jday&jmonth=$jmonth&jyear=$jyear&jyear2=$jyear2&jmonth2=$jmonth2&jday2=$jday2\
  104.   ,0,\
  105. to $wims_menu_items
  106. !endif
  107.  </center>
  108.  
  109.  
  110. :end
  111. <p><hr width="40%"> <p>
  112. !read form.phtml
  113. !tail
  114.