Subversion Repositories wimsdev

Rev

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

  1. <p></p>
  2. !if $class_defined!=yes
  3.  <span class="wims_warning">$wims_name_Error</span>. $name_warning
  4.  !exit
  5. !endif
  6. !read adm/class/initclass $class,auth
  7. !if $class_mixed_external_auth>0 and $auth_user !=supervisor
  8. <div class="wims_external_auth">
  9. $(class_external_auth)
  10. </div>
  11.  !if $class_mixed_external_auth=2
  12.   !exit
  13.  !endif
  14. $name_warning_external
  15. <hr/>
  16. !endif
  17.  
  18. !if no_cgu notwordof $error
  19.  !reset user_auth
  20.  !set wims_form_method=post
  21.  !!FIXME for PHP
  22.  !if $auth_method notitemof cas
  23.  $name_enter
  24.    !form reply
  25.    !set auth_user=$auth_user_connection
  26.     <table class="wimscenter wimsnoborder">
  27.    <tr><td>$wims_name_Login</td><td><input size="20" name="auth_user" value="$auth_user"/></td></tr>
  28.    <tr><td>$wims_name_Password</td><td><input type="password" size="20" name="auth_password"/></td></tr>
  29.    !if $auth_method notitemof ldap
  30.     <tr><td colspan="2">
  31.     !href cmd=reply&type=forgetpwd&class=$class $wims_name_n_forgetpwd
  32.     </td></tr>
  33.    !endif
  34.    $table_end
  35.    <div class="wimscenter">
  36.    <input type="submit" value="$wims_name_Enter"/>
  37.    </div>
  38.    </form>
  39.   !!FIXME too much !if
  40.    !if $idp_method notwordof ldap
  41.       <p>$name_new_participant:</p>
  42.    !endif
  43.  !else
  44.    !if $idp_method notwordof ldap
  45.     <p>$name_new_participant_external:</p>
  46.    !endif
  47.  !endif
  48.  !if $idp_method notwordof ldap
  49.   !if $subclass=yes
  50.    !set tmp_=&subclass=$subclass
  51.   !endif
  52.   !set wims_ref_class=wims_button
  53.   !href module=adm/class/reguser&class=$class$tmp_ $name_register
  54.  !endif
  55. !endif
  56.