Rev 10874 | Rev 10910 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 10874 | Rev 10909 | ||
---|---|---|---|
Line 48... | Line 48... | ||
48 | !! we get here e.g. in case class_authidp=cas;php |
48 | !! we get here e.g. in case class_authidp=cas;php |
49 | $name_new_participant_external |
49 | $name_new_participant_external |
50 | 50 | ||
51 | !if $type_class > 0 and $type!=authsupervisor and $authtype_!=teacher |
51 | !if $type_class > 0 and $type!=authsupervisor and $authtype_!=teacher |
52 | !set tmp_=&subclass=yes |
52 | !set tmp_=&subclass=yes |
- | 53 | !else |
|
- | 54 | !reset tmp_ |
|
53 | !endif |
55 | !endif |
54 | 56 | ||
55 | <div class="wimscenter"> |
57 | <div class="wimscenter"> |
56 | !! this is probably the only place we need idp_method=php |
58 | !! this is probably the only place we need idp_method=php |
57 | !! (e.g. if class_authidp=cas;php) |
59 | !! (e.g. if class_authidp=cas;php) |
58 | !if $(class_authidp[2;]) iswordof php and $class_php_auth!=$empty |
60 | !if $(class_authidp[2;]) iswordof php and $class_php_auth!=$empty |
59 | !if $type=authsupervisor |
61 | !if $type=authsupervisor |
60 | !set ttmp_=&authtype=teacher |
62 | !set ttmp_=&authtype=teacher |
61 | !endif |
63 | !endif |
62 | <a href="$class_php_auth?enter=$class$ttmp_" class="wims_button">$name_register</a> |
64 | <a href="$class_php_auth?enter=$class$ttmp_" class="wims_button">$name_register</a> |
63 | !else |
65 | !else |
64 | !set wims_ref_class=wims_button |
66 | !set wims_ref_class=wims_button |
65 | !href module=adm/class/reguser&class=$class$tmp_&authtype_=$authtype_ $name_register |
67 | !href module=adm/class/reguser&class=$class$tmp_&authtype_=$authtype_ $name_register |
66 | !endif |
68 | !endif |