Rev 10626 | Rev 10651 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 10626 | Rev 10640 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | !default CL_Name=$CL_Names |
1 | !default CL_Name=$CL_Names |
2 | !if $supervisable=yes |
2 | !if $supervisable=yes or ($wims_user=supervisor and $wims_realuser=supervisor) |
3 | !read subclasses_user.phtml |
3 | !read subclasses_user.phtml |
4 | !if ($wims_user=supervisor or $wims_class=$wims_superclass) |
4 | !if ($wims_user=supervisor or $wims_class=$wims_superclass) |
5 | !!FIXME desactivate the possibility for teachers to register without the administrator in a portal |
5 | !!FIXME desactivate the possibility for teachers to register without the administrator in a portal |
6 | !if $class_type notwordof 2 4 |
6 | !if $class_type notwordof 2 4 |
7 | !href module=adm/class/classes&type=supervisor&superclass=$wims_class $U_supervise |
7 | !href module=adm/class/classes&type=supervisor&superclass=$wims_class $U_supervise |
8 | !else |
8 | !else |
- | 9 | !if $wims_user!=supervisor or $wims_realuser!=supervisor |
|
9 | $name_gotosupervise |
10 | $name_gotosupervise |
- | 11 | !endif |
|
10 | !endif |
12 | !endif |
11 | !endif |
13 | !endif |
12 | !endif |
14 | !endif |
13 | 15 | ||
14 | !if $(subclasscnt1)>0 and $insc!=yes |
16 | !if $(subclasscnt1)>0 and $insc!=yes |
Line 103... | Line 105... | ||
103 | <li> <span class="wims_classes_direct_$type"> |
105 | <li> <span class="wims_classes_direct_$type"> |
104 | !! wrong variable? |
106 | !! wrong variable? |
105 | !! !href module=adm/class/reguser&class=$c&auth_user=$u_ $name |
107 | !! !href module=adm/class/reguser&class=$c&auth_user=$u_ $name |
106 | !href module=adm/class/reguser&class=$c&user_auth=$u_ $name |
108 | !href module=adm/class/reguser&class=$c&user_auth=$u_ $name |
107 | </span></li> |
109 | </span></li> |
108 | |
- | |
109 | !next c |
110 | !next c |
110 | </ul> |
111 | </ul> |
111 | </div> |
112 | </div> |
112 | !set wims_ref_class=wims_button |
113 | !set wims_ref_class=wims_button |
113 | !href module=home&cmd=new $wims_name_back2 |
114 | !href module=home&cmd=new $wims_name_back2 |