Subversion Repositories wimsdev

Rev

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