Subversion Repositories wimsdev

Rev

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

  1. !!if $iedit_activated=1
  2. !read js/external/tinymce.phtml .iEdit
  3. !!endif
  4. !read adm/css.phtml
  5.  
  6. !set wims_html_header = !append line <style>\
  7. .freeworkdesczone{font-size: 10pt;color:#666;}\
  8. .list_zones{display:flex;flex-wrap:wrap}\
  9. .list_zones>.wims_widget_box{flex-grow:1}\
  10. </style>\
  11. to $wims_html_header
  12.  
  13. !header1
  14. !read adm/class/classname.phtml $wims_classname\
  15. $wims_institutionname
  16.  
  17. !read adm/title.phtml 1\
  18. $classname\
  19. $name_title $name_title2
  20.  
  21. !if $error!=$empty
  22.   <div class="wims_msg alert">
  23.     <strong>$wims_name_Error:</strong>
  24.     !read msg.phtml
  25.     !reset error
  26.   </div>
  27.   !if $notallowed=1
  28.     !exit
  29.   !endif
  30. !else
  31.   !if $success!=$empty
  32.     <div class="wims_msg success">
  33.       !read msg.phtml $success
  34.       !reset success
  35.     </div>
  36.   !endif
  37.   !if $warning!=$empty
  38.     <div class="wims_msg warning">
  39.       !read msg.phtml $warning
  40.       !reset warning
  41.     </div>
  42.   !endif
  43. !endif
  44.  
  45. !if $wims_user=supervisor and $activetest>=1 and $activetest<3
  46.   !if $job=configfw
  47.     !set wims_menu_items=!append line participantview,1,module=$module&cmd=new&job=student&+freework=$freework to $wims_menu_items
  48.   !endif
  49.   !if $job isitemof student1,student2,student3
  50.     !set wims_menu_items=!append line backteacher,1,module=$module&cmd=new&job=configfw&+freework=$freework to $wims_menu_items
  51.   !endif
  52. !endif
  53.  
  54. !read $job.phtml
  55.  
  56. !reset job back
  57.  
  58. !tail
  59.