Subversion Repositories wimsdev

Rev

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

  1. !read adm/language names.phtml
  2. !read lang/names.phtml.$modu_lang
  3.  
  4. !if robot isin $session or _ isin $session
  5.  !exit
  6. !endif
  7.  
  8. !if $error issametext bad_password
  9.   !read js/chrono.phtml 5
  10. !endif
  11. !set wims_html_header=$wims_html_header $header_js
  12.  
  13. !read adm/css.phtml
  14. !if $(module_title_$modu_lang)!=
  15.   !set module_title=$(module_title_$modu_lang)
  16. !endif
  17. !read adm/class/classname.phtml $class_description\
  18. $class_institution
  19.  
  20. !header
  21.  
  22. !read adm/title.phtml 3\
  23. \
  24. --- $(wims_name_n_$type) ---
  25.  
  26. !if $error!=$empty
  27.  !read lang/msg.phtml.$moduclass_lang
  28.  <p><hr> <p>
  29. !endif
  30.  
  31.  
  32. !!! En fait cela devrait ĂȘtre $idp_method=$empty Comment arrive-t-on ici ?
  33. !if OK iswordof $auth_test and $auth_method isitemof $auth_method_list and $exist_check notsametext yes
  34. $name_new_participant_external
  35. <center>
  36.    !href module=adm/class/reguser&class=$class $name_register
  37. </center>
  38.    !goto end
  39. !endif
  40.  
  41. !read $type.phtml
  42. !if $wims_user=$empty or $wims_user=supervisor or $wims_class=$superclass
  43.  !for t in participant,supervisor,example
  44.   !if $t!=$type or $superclass!=$empty
  45.    !set wims_menu_items=!append line n_$t,1,module=$module&type=$t&keyword=$keyword\
  46. to $wims_menu_items
  47.   !! !href module=$module&type=$t&keyword=$keyword $(wims_name_n_$t)
  48.   !endif
  49.  !next t
  50. !endif
  51. !if $wims_user=$empty and $type iswordof supervisor example
  52.  !set wims_menu_items=!append line ,0,\
  53.  classcreate,1,module=adm/class/regclass\
  54. to $wims_menu_items
  55. !endif
  56.  
  57.  !if $wims_theme_version=0 or $wims_theme_version=
  58.  <center>
  59.   !href target=wims_help module=help/main&chapter=3 $wims_name_Explanations
  60.  </center>
  61.  !endif
  62. !endif
  63. :end
  64. !tail
  65.  
  66. !reset auth_user,auth_password,superclass,keyword
  67.  
  68.