Subversion Repositories wimsdev

Rev

Rev 12626 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !if $ccnt=0
  2.   !if $parent=class
  3.     $name_course1
  4.   !else
  5.     $name_course2
  6.   !endif
  7.   !href cmd=reply&job=$parent $wims_name_back2
  8.   .
  9.   !exit
  10. !endif
  11. !set table_id=TABLE_courselist
  12. !set table_class=sortable
  13.  
  14. !if $parent=class
  15.   $name_course3
  16.   $table_header
  17.   <thead>
  18.   $table_hdtr<th scope="col">$wims_name_title</th><th scope="col">$wims_name_comment</th></tr>
  19.   </thead>
  20.   <tbody>
  21.   !for p in $clist
  22.     !set i_=!defof class_description in wimshome/log/classes/$p/.def
  23.     $table_tr
  24.     <td>
  25.     !href cmd=reply&confirm=yes&courseclass=$class&courseprog=$p $i_
  26.     </td><td>-</td></tr>
  27.   !next p
  28.   </tbody>
  29.   $table_end
  30.   !read tablesort.phtml
  31.   !exit
  32. !endif
  33.  
  34. !if $parent=prog
  35.   $name_course4
  36.   $table_header
  37.   <thead>
  38.   $table_hdtr<th scope="col">$wims_name_title</th>
  39.   <th scope="col">$wims_name_comment</th></tr>
  40.   </thead>
  41.   <tbody>
  42.   !for c in $clist
  43.     !set i_=!defof class_description in wimshome/log/classes/$c/.def
  44.     $table_tr
  45.     <td>
  46.     !href cmd=reply&confirm=yes&courseclass=$c&courseprog=$prog&cparent=$parent $i_
  47.     </td><td>-</td></tr>
  48.   !next c
  49.   </tbody>
  50.   $table_end
  51.   !read tablesort.phtml
  52. !endif
  53.