Subversion Repositories wimsdev

Rev

Rev 5019 | Rev 5143 | 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.  
  36. !if $type_class > 0
  37.   !set tmp_=&subclass=yes
  38. !endif
  39. <center>
  40. !set wims_ref_class=wims_button
  41.    !href module=adm/class/reguser&class=$class$tmp_ $name_register
  42. </center>
  43.    !goto end
  44. !endif
  45.  
  46. !read $type.phtml
  47. !if $wims_user=$empty or $wims_user=supervisor or $wims_class=$superclass
  48.  !for t in participant,supervisor,example
  49.   !if $t!=$type or $superclass!=$empty
  50.    !set wims_menu_items=!append line n_$t,1,module=$module&type=$t&keyword=$keyword\
  51. to $wims_menu_items
  52.   !! !href module=$module&type=$t&keyword=$keyword $(wims_name_n_$t)
  53.   !endif
  54.  !next t
  55. !endif
  56. !if $wims_user=$empty and $type iswordof supervisor example
  57.  !set wims_menu_items=!append line ,0,\
  58.  classcreate,1,module=adm/class/regclass\
  59. to $wims_menu_items
  60. !endif
  61.  
  62.  !if $wims_theme_version=0 or $wims_theme_version=
  63.  <center>
  64.   !href target=wims_help module=help/main&chapter=3 $wims_name_Explanations
  65.  </center>
  66.  !endif
  67. !endif
  68. :end
  69. !tail
  70.  
  71. !reset auth_user,auth_password,superclass,keyword
  72.  
  73.