Rev 13064 | Rev 13579 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13064 | Rev 13169 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | !!FIXME desactivate the possibility for teachers to register without the administrator in a portal |
28 | !!FIXME desactivate the possibility for teachers to register without the administrator in a portal |
29 | !if $class_type iswordof 2 4 |
29 | !if $class_type iswordof 2 4 |
30 | !!href module=adm/class/classes&type=supervisor&superclass=$wims_class $U_supervise |
30 | !!href module=adm/class/classes&type=supervisor&superclass=$wims_class $U_supervise |
31 | !!else |
31 | !!else |
32 | !if $wims_user!=supervisor or $wims_realuser!=supervisor |
32 | !if $wims_user!=supervisor or $wims_realuser!=supervisor |
- | 33 | <div class="wims_msg info"> |
|
33 | $name_gotosupervise |
34 | $name_gotosupervise |
- | 35 | </div> |
|
34 | !endif |
36 | !endif |
35 | !endif |
37 | !endif |
36 | !endif |
38 | !endif |
37 | !else |
39 | !else |
38 | !if $supervisable!=yes |
40 | !if $supervisable!=yes |
Line 89... | Line 91... | ||
89 | </li> |
91 | </li> |
90 | !next k_ |
92 | !next k_ |
91 | </ul><!end--2--> |
93 | </ul><!end--2--> |
92 | !endif sub_cnt>0 |
94 | !endif sub_cnt>0 |
93 | !if $c=$wims_class |
95 | !if $c=$wims_class |
94 | !goto end |
96 | !goto end |
95 | !endif |
97 | !endif |
96 | !endif $c notitemof $alreadyseen |
98 | !endif $c notitemof $alreadyseen |
97 | !next |
99 | !next |
98 | 100 | ||
99 | :end |
101 | :end |
Line 132... | Line 134... | ||
132 | !href module=home&cmd=new $wims_name_back2 |
134 | !href module=home&cmd=new $wims_name_back2 |
133 | !endif |
135 | !endif |
134 | !endif |
136 | !endif |
135 | !if $supervisable=yes and ($wims_user=supervisor or $wims_class=$wims_superclass) and $class_type notwordof 3 4 |
137 | !if $supervisable=yes and ($wims_user=supervisor or $wims_class=$wims_superclass) and $class_type notwordof 3 4 |
136 | <p> |
138 | <p> |
137 | !set wims_ref_class=wims_button |
139 | !set wims_ref_class=wims_button |
138 | !href module=adm/class/regclass $wims_name_classcreate |
140 | !href module=adm/class/regclass $wims_name_classcreate |
139 | !set wims_ref_class=wims_button |
141 | !set wims_ref_class=wims_button |
140 | !href module=adm/class/regclass&job=cloneexemple $wims_name_cloneclass |
142 | !href module=adm/class/regclass&job=cloneexemple $wims_name_cloneclass |
141 | </p> |
143 | </p> |
142 | !endif |
144 | !endif |