Rev 10651 | Rev 10725 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 10651 | Rev 10674 | ||
---|---|---|---|
Line 23... | Line 23... | ||
23 | 23 | ||
24 | !if $supervisable=yes or ($wims_user=supervisor and $wims_realuser=supervisor) |
24 | !if $supervisable=yes or ($wims_user=supervisor and $wims_realuser=supervisor) |
25 | !read subclasses_supervisor.phtml |
25 | !read subclasses_supervisor.phtml |
26 | !if ($wims_user=supervisor or $wims_class=$wims_superclass) |
26 | !if ($wims_user=supervisor or $wims_class=$wims_superclass) |
27 | !!FIXME desactivate the possibility for teachers to register without the administrator in a portal |
27 | !!FIXME desactivate the possibility for teachers to register without the administrator in a portal |
28 | !if $class_type |
28 | !if $class_type iswordof 2 4 |
29 |
|
29 | !!href module=adm/class/classes&type=supervisor&superclass=$wims_class $U_supervise |
30 |
|
30 | !!else |
31 | !if $wims_user!=supervisor or $wims_realuser!=supervisor |
31 | !if $wims_user!=supervisor or $wims_realuser!=supervisor |
32 | $name_gotosupervise |
32 | $name_gotosupervise |
33 | !endif |
33 | !endif |
34 | !endif |
34 | !endif |
35 | !endif |
35 | !endif |
Line 105... | Line 105... | ||
105 | !if $insc!=yes |
105 | !if $insc!=yes |
106 | !href module=home&cmd=new&insc=yes $U_inscription2 |
106 | !href module=home&cmd=new&insc=yes $U_inscription2 |
107 | !else |
107 | !else |
108 | <div> |
108 | <div> |
109 | $U_inscription1 |
109 | $U_inscription1 |
110 | <ul> |
110 | <ul class="wims_subclasses"> |
111 | !for c in $subclass2 |
111 | !for c in $subclass2 |
112 | !set name=!defof class_description in wimshome/log/classes/$c/.def |
112 | !set name=!defof class_description in wimshome/log/classes/$c/.def |
113 | !set type=!defof class_typename in wimshome/log/classes/$c/.def |
113 | !set type=!defof class_typename in wimshome/log/classes/$c/.def |
114 | <li> <span class="wims_classes_direct_$type"> |
114 | <li> <span class="wims_classes_direct_$type"> |
115 | !! wrong variable? |
115 | !! wrong variable? |