Rev 11773 | Rev 12626 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1726 | bpr | 1 | !set form_titlename=$wims_name_title |
2 | !set form_caption=$name_programproperties |
||
23 | reyssat | 3 | !set title=$class_description |
4 | !set sup=$class_Supervisor |
||
10349 | bpr | 5 | <div id="widget_zone_list"> |
6 | !if $jquery_defined=yes |
||
7 | !read adm/tabscript zone_list |
||
8 | !endif |
||
9 | <ul> |
||
10 | <li><a href="#wims_classform">$wims_name_properties</a></li> |
||
10598 | bpr | 11 | <li><a href="#wims_othergestion">$name_othergestion</a></li> |
10349 | bpr | 12 | <li><a href="#wims_zone_course">$wims_name_course</a></li> |
13 | <li><a href="#wims_zone_icourse">$wims_name_icourse</a></li> |
||
12616 | bpr | 14 | !if $class_recshare$recsharable!=$empty |
11773 | bpr | 15 | <li><a href="#wims_zone_recsharable">$name_recsharable</a></li> |
12616 | bpr | 16 | !endif |
10598 | bpr | 17 | |
10349 | bpr | 18 | </ul> |
19 | <div id="wims_classform"> |
||
23 | reyssat | 20 | !read scripts/progform.phtml |
21 | !if $hastest=yes |
||
12616 | bpr | 22 | $name_prog1 |
23 | $ |
||
24 | !set wims_ref_class=wims_button_help |
||
25 | !href cmd=help&special_parm=structure#test $wims_name_help |
||
26 | !set wims_ref_class=wims_button |
||
27 | !href module=adm/class/classes&type=authsupervisor&class=$wims_superclass/$prog/0 $name_visit |
||
10333 | bpr | 28 | $ |
12616 | bpr | 29 | !set wims_ref_class=wims_button wims_warning |
30 | !href cmd=reply&job=deltest $wims_name_erase |
||
23 | reyssat | 31 | !else |
12616 | bpr | 32 | $name_prog2 |
33 | !href cmd=reply&job=addtest $name_prog3 |
||
34 | $ |
||
35 | !set wims_ref_class=wims_button_help |
||
36 | !href cmd=help&special_parm=structure#test $wims_name_help |
||
23 | reyssat | 37 | !endif |
5764 | bpr | 38 | </div> |
10349 | bpr | 39 | <div id="wims_zone_course"> |
23 | reyssat | 40 | !if $coursecnt=0 |
12616 | bpr | 41 | $name_prog4 |
42 | !href cmd=reply&cparent=prog&job=addcourse $wims_name_addcourse |
||
10333 | bpr | 43 | $ |
12616 | bpr | 44 | !set wims_ref_class=wims_button_help |
45 | !href cmd=help&special_parm=structure#course $wims_name_help |
||
46 | $ |
||
23 | reyssat | 47 | !else |
12616 | bpr | 48 | $table_header |
49 | <caption>$name_prog5 |
||
50 | $ |
||
51 | !set wims_ref_class=wims_button_help |
||
52 | !href cmd=help&special_parm=structure#course $wims_name_help |
||
53 | $ |
||
54 | !href cmd=reply&cparent=prog&job=addcourse $wims_name_addcourse |
||
55 | </caption> |
||
56 | $table_hdtr |
||
57 | <th>$name_code</th><th>$wims_name_name</th><th>$wims_name_action</th><th>$name_supervisor2</th> |
||
58 | <th class="small">$name_participant</th> |
||
59 | </tr> |
||
60 | !for i=1 to $coursecnt |
||
61 | !set l=!line $i of $courses |
||
62 | !distribute items $l into l_,s_,t_,n_ |
||
63 | $table_tr<td>$l_</td> |
||
64 | <td> |
||
65 | !href cmd=reply&job=course&cparent=prog&course=$l_ $t_ |
||
66 | </td><td> |
||
67 | !set wims_ref_class=wims_button wims_warning |
||
1545 | bpr | 68 | !href cmd=reply&job=delcourse&cparent=prog&del=$l_ $wims_name_erase |
12616 | bpr | 69 | </td><td> |
70 | !if $s_!=$empty |
||
71 | !if $s_=supervisor |
||
72 | $wims_name_supervisor |
||
73 | !else |
||
74 | !default n_=$s_ |
||
75 | !href cmd=reply&job=modteacher&teacher=$s_ $n_ |
||
76 | !endif |
||
23 | reyssat | 77 | !else |
12616 | bpr | 78 | $name_nonavailable |
23 | reyssat | 79 | !endif |
12616 | bpr | 80 | !set c=!recordcnt $classdir1/$l_/.userlist |
81 | </td><td>$c</td> |
||
82 | </tr> |
||
83 | !next i |
||
84 | $table_end |
||
23 | reyssat | 85 | !endif |
10349 | bpr | 86 | </div> |
87 | <div id="wims_zone_icourse"> |
||
23 | reyssat | 88 | !if $icoursecnt=0 |
12616 | bpr | 89 | $name_prog9 |
90 | !href cmd=reply&cparent=prog&job=addicourse $wims_name_addicourse |
||
91 | $ |
||
92 | !set wims_ref_class=wims_button_help |
||
93 | !href cmd=help&special_parm=structure#icourse $wims_name_help |
||
23 | reyssat | 94 | !else |
12616 | bpr | 95 | $table_header |
96 | <caption>$wims_name_icourse |
||
97 | $ |
||
98 | !set wims_ref_class=wims_button_help |
||
99 | !href cmd=help&special_parm=structure#icourse $wims_name_help |
||
10333 | bpr | 100 | $ |
12616 | bpr | 101 | !href cmd=reply&cparent=prog&job=addicourse $wims_name_addcourse |
102 | </caption> |
||
103 | $table_hdtr |
||
104 | <th>$name_code</th><th>$wims_name_name</th><th>$wims_name_action</th><th>$name_supervisor2</th> |
||
105 | <th class="small">$name_participant</th> |
||
106 | </tr> |
||
107 | !for i=1 to $icoursecnt |
||
108 | !set l=!line $i of $icourses |
||
109 | !distribute items $l into l_,s_,t_,n_ |
||
110 | $table_tr<td>$l_</td> |
||
111 | <td> |
||
112 | !href cmd=reply&job=icourse&cparent=prog&course=$l_ $t_ |
||
113 | </td><td> |
||
114 | !set wims_ref_class=wims_button wims_warning |
||
1545 | bpr | 115 | !href cmd=reply&job=delcourse&cparent=prog&del=$l_ $wims_name_erase |
12616 | bpr | 116 | </td><td> |
117 | !if $s_!=$empty |
||
118 | !if $s_=supervisor |
||
119 | $s_ |
||
120 | !else |
||
121 | !default n_=$s_ |
||
122 | !href cmd=reply&job=modteacher&teacher=$s_ $n_ |
||
123 | !endif |
||
23 | reyssat | 124 | !else |
12616 | bpr | 125 | $name_nonavailable |
23 | reyssat | 126 | !endif |
12616 | bpr | 127 | !set c=!recordcnt $classdir1/$l_/.userlist |
128 | </td><td>$c</td> |
||
129 | !next i |
||
10349 | bpr | 130 | </tr> |
12616 | bpr | 131 | $table_end |
23 | reyssat | 132 | !endif |
10349 | bpr | 133 | </div> |
134 | <div id="wims_zone_recsharable"> |
||
23 | reyssat | 135 | !if $recsharable!=$empty |
12616 | bpr | 136 | $table_header |
137 | <caption>$name_prog6</caption> |
||
138 | $table_hdtr |
||
139 | <th>Code</th> |
||
140 | <th>$wims_name_level</th> |
||
141 | <th>$wims_name_program</th> |
||
142 | </tr> |
||
143 | !set n=!linecnt $recsharable |
||
144 | !for i=1 to $n |
||
145 | $table_tr |
||
146 | !set l=!line $i of $recsharable |
||
147 | !distribute items $l into add,name |
||
148 | !set l_=!translate / to , in $add |
||
149 | !set l_=!item 1 of $l_ |
||
150 | !set l_=!defof class_description in $classdir1/$l_/.def |
||
151 | <td><span class="tt">$add</span></td> |
||
152 | <td>$l_</td> |
||
153 | <td style="text-align:left"> |
||
154 | !href cmd=reply&job=progshare&prog=$prog&shareprog=$add $name |
||
155 | </td></tr> |
||
156 | !next i |
||
157 | $table_end |
||
23 | reyssat | 158 | !endif |
159 | !if $class_recshare!=$empty |
||
12616 | bpr | 160 | <p> |
161 | !if $class_recshare=main |
||
162 | $name_prog7 |
||
163 | !else |
||
164 | !set l_=!translate / to , in $class_recshare |
||
165 | !set shareprog=!defof class_description in $classdir1/$class_recshare/.def |
||
166 | !set sharelevel=!defof class_description in $classdir1/$(l_[1])/.def |
||
167 | $name_prog8 |
||
168 | <em>$shareprog</em> ($name_level <em>$sharelevel</em>). |
||
169 | !endif |
||
170 | </p> |
||
23 | reyssat | 171 | !endif |
10349 | bpr | 172 | </div> |
1336 | bpr | 173 | !set wims_menu_items=!append line addcourse,1,cmd=reply&cparent=prog&job=addcourse\ |
1286 | bpr | 174 | addicourse,1,cmd=reply&cparent=prog&job=addicourse\ |
1336 | bpr | 175 | to $wims_menu_items |
1286 | bpr | 176 | |
23 | reyssat | 177 | !reset title |