Subversion Repositories wimsdev

Rev

Rev 5352 | Rev 5754 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !if $job2=connectlink
  2. !!FIXME php
  3. !read adm/class/initclass $wims_class,auth
  4.  !if $(class_authidp[1;])=cas
  5.    !set link_=$host_auth/login?service=
  6.  !else
  7.    !set link_=http://$httpd_HTTP_HOST$httpd_SCRIPT_NAME?
  8.  !endif
  9.  !changeto adm/class/links.phtml
  10. !endif
  11. !if $supertype=4 and $classdepth<=3
  12. <p><center>
  13.  !href module=adm/class/gateway $wims_name_struct
  14. </center>
  15. !endif
  16. !form reply
  17. <input type="hidden" name="up_job" value="list"/>
  18. $table_header
  19. $table_tr<td align="right">$name_name_institution</td>
  20. <td colspan="3">
  21. !if $supertype notin 24 or $classdepth=1
  22.  <input size="50" name="up_institution" value="$class_institution"/>
  23. !else
  24.  $class_institution
  25. !endif
  26. </td></tr>
  27. $table_tr<td align="right">$name_name_number</td><td colspan="3">$wims_class</td></tr>
  28. $table_tr<td align="right">$name_name_class</td>
  29. <td colspan="3">
  30. <input size="50" name="up_description" value="$class_description"/></td></tr>
  31. $table_tr<td align="right">$name_secure
  32. &nbsp;
  33. !set wims_ref_class=wims_button_help
  34. !href cmd=help&special_parm=config&special_parm2=secure $wims_name_help
  35. </td>
  36. <td colspan="3">
  37. <input size="50" name="up_secure" value="$class_secure"/></td></tr>
  38. $table_tr<td align="right">$wims_name_nameteacher
  39. &nbsp;
  40. !set wims_ref_class=wims_button_help
  41. !href cmd=help&special_parm=config&special_parm2=supervisor $wims_name_help
  42. </td>
  43. <td colspan="3">
  44. <input size="40" name="up_supervisor" value="$class_supervisor"/></td></tr>
  45. $table_tr<td align="right">$wims_name_email
  46. &nbsp;
  47. !set wims_ref_class=wims_button_help
  48. !href cmd=help&special_parm=config&special_parm2=email $wims_name_help
  49. </td>
  50. <td colspan="3">
  51. <input size="40" name="up_email" value="$class_email"/></td></tr>
  52. $table_tr<td align="right">$name_optionword
  53. &nbsp;
  54. !set wims_ref_class=wims_button_help
  55. !href cmd=help&special_parm=config&special_parm2=option $wims_name_help
  56. </td>
  57. <td colspan="3">
  58. <input size="40" name="up_option" value="$class_option"/>
  59. </td></tr>
  60. !if $wims_supertype!=4 or $class_typename!=class
  61. $table_tr<td align="right">
  62. $name_devaccount
  63. &nbsp;
  64. !set wims_ref_class=wims_button_help
  65. !href cmd=help&special_parm=config&special_parm2=modtoolchg $wims_name_help
  66.  
  67. </td><td colspan="3">
  68. !set modtoolchg=1
  69. !formcheckbox modtoolchg list 0 prompt $wims_name_change
  70. </td></tr>
  71. !endif
  72. $table_tr<td align="right">
  73. $name_lock_level
  74. &nbsp;
  75. !set wims_ref_class=wims_button_help
  76. !href cmd=help&special_parm=config&special_parm2=lock $wims_name_help
  77.  
  78. </td><td>
  79. !set up_lock=$class_lock
  80. !default up_lock=0
  81. !formselect up_lock list 0,2,3,4,5,6,7
  82. </td><td align="right">$name_bestscore
  83. &nbsp;
  84. !set wims_ref_class=wims_button_help
  85. !href cmd=help&special_parm=config&special_parm2=topscores $wims_name_help
  86.  
  87. !default class_topscores=0
  88. !default class_anonymtopscores=yes
  89. !set up_anonymtopscores=$class_anonymtopscores
  90. </td><td><input size="3" name="up_topscores" value="$class_topscores"/>
  91. /
  92. !formselect up_anonymtopscores list no,yes prompt $wims_name_no,$wims_name_yes
  93. </td></tr>
  94. $table_tr<td align="right">$wims_name_Language
  95. &nbsp;
  96. !set wims_ref_class=wims_button_help
  97. !href cmd=help&special_parm=config&special_parm2=lang $wims_name_help
  98.  
  99. </td><td>
  100. !set up_lang=$class_lang
  101. !set langs=!words2items $wims_site_languages
  102. !formselect up_lang list $langs
  103. </td>
  104. <td align="right">
  105. $name_level
  106. &nbsp;
  107. !set wims_ref_class=wims_button_help
  108. !href cmd=help&special_parm=config&special_parm2=level $wims_name_help
  109.  
  110. </td><td>
  111. !set up_level=$class_level
  112. !formselect up_level list $wims_listlevel prompt $name_wims_listlevel
  113. </td></tr>
  114. $table_tr<td align="right">$name_limit
  115. &nbsp;
  116. !set wims_ref_class=wims_button_help
  117. !href cmd=help&special_parm=config&special_parm2=limit $wims_name_help
  118.  
  119. </td><td><input size="5" name="up_limit" value="$class_limit"/>
  120. </td><td align="right">$name_expirationdate
  121. <small><b>yyyymmdd</b></small>
  122. &nbsp;
  123. !set wims_ref_class=wims_button_help
  124. !href cmd=help&special_parm=config&special_parm2=expiration $wims_name_help
  125. </td><td>
  126. !if $class_type notin 13
  127.  <input size="8" maxlength="8" name="up_expiration" value="$class_expiration"/>
  128. !else
  129.  <tt>$class_expiration</tt>
  130. !endif
  131. </td></tr>$table_tr<td align="right">$name_register_exo
  132. &nbsp;
  133. !set wims_ref_class=wims_button_help
  134. !href cmd=help&special_parm=config&special_parm2=exolog $wims_name_help
  135. </td>
  136. !default class_exolog=0
  137. <td>
  138.  !let up_exolog=$class_exolog
  139.  !formselect up_exolog from 0 to $wims_exolog_limit
  140. </td>
  141. <td align="right">$name_register_exam
  142.  &nbsp;
  143.  !set wims_ref_class=wims_button_help
  144.  !href cmd=help&special_parm=config&special_parm2=examlog $wims_name_help
  145.  !default class_examlog=$wims_examlog_limit
  146.  !let up_examlog=$class_examlog
  147.  !formselect up_examlog from 0 to $wims_examlog_limit
  148. </td>
  149. <td>$name_visible
  150. &nbsp;
  151. !set wims_ref_class=wims_button_help
  152. !href cmd=help&special_parm=config&special_parm2=examshow $wims_name_help
  153. !default class_examshow=yes
  154. !set up_examshow=$class_examshow
  155. !formselect up_examshow list no,yes prompt $wims_name_no,$wims_name_yes
  156. </td></tr>
  157.  
  158. $table_tr<td align="right">$name_config_supconnectshowed &nbsp; </td>
  159.  <td colspan="3">
  160.   !set up_supconnectshowed=$class_supconnectshowed
  161.   !default up_supconnectshowed=no
  162.   !formselect up_supconnectshowed list no,yes prompt $wims_name_no,$wims_name_yes
  163.  </td>
  164. </tr>
  165.  
  166. $table_tr<td align="right">$name_config_authscoresuspend &nbsp; </td>
  167.  <td colspan="3">
  168.   !set up_authscoresuspend=$class_authscoresuspend
  169.   !default up_authscoresuspend=yes
  170.   !formselect up_authscoresuspend list no,yes prompt $wims_name_no,$wims_name_yes
  171.  </td>
  172. </tr>
  173. $table_tr<td align="right">$name_config_exotitleform &nbsp;</td>
  174. <td colspan="3">
  175.  !set up_exotitleform=$class_exotitleform
  176.  !default up_exotitleform=0
  177.  !formselect up_exotitleform list -1,0,1,2,3 prompt $name_config_exotitleformoption
  178. </tr>
  179. !set up_ent=$class_ent
  180. $table_tr<td align="right">$wims_name_config_ent
  181. &nbsp;
  182. !set wims_ref_class=wims_button_help
  183. !href cmd=help&special_parm=config&special_parm2=ent $wims_name_help
  184. </td>
  185. <td colspan="3">
  186. <input size="50" name="up_ent" value="$class_ent"/></td></tr>
  187. !if $class_type iswordof 0 2 4
  188. !set up_external_auth=$class_external_auth
  189. $table_tr<td align="right">$wims_name_external_auth
  190. &nbsp;
  191. !set wims_ref_class=wims_button_help
  192. !href cmd=help&special_parm=config&special_parm2=external_auth $wims_name_help
  193. </td>
  194. <td colspan="3">
  195. <textarea name="up_external_auth" cols="50" rows="6">$class_external_auth</textarea>
  196. !!<input size="50" name="up_external_auth" value="$class_external_auth"/>
  197. !set up_mixed_external_auth=$class_mixed_external_auth
  198. !default up_mixed_external_auth=0
  199. !formradio up_mixed_external_auth list 0,1,2 prompt $wims_name_no, $name_mix_auth, $wims_name_yes
  200. </td></tr>
  201. !endif
  202. $table_hdtr<td align="center" colspan="4">
  203. <input type="submit" name="save" value="$wims_name_tosave"/>
  204. &nbsp;
  205. <input type="submit" name="abandon" value="$wims_name_giveup"/>
  206. </td></tr>$table_end <p>
  207. </form>
  208.  
  209. $name_apparence :
  210. !href module=adm/light&phtml=useropts.phtml.$lang $name_pref
  211. ,
  212. !href cmd=reply&job=present $wims_name_config_present
  213. ,
  214. !href cmd=reply&job=oefdefault $wims_name_config_oef
  215. .
  216. <p>
  217. !if $class_type iswordof 2 3 4
  218.  !href cmd=reply&job=propagate $name_dependant_zone
  219. !endif
  220. <p>
  221. !href cmd=reply&job=neighbor&job2=first $name_neigh
  222. ,
  223. !href cmd=reply&job=connect&job2=first $name_link
  224. ,
  225. !href cmd=reply&job=list&job2=connectlink $name_connectlink
  226. .
  227. <p>
  228. !if $classdepth<=1
  229.  
  230. !href cmd=reply&job=authtype $name_useauth
  231. $name_ldap.
  232.  <p>
  233. !endif
  234.  
  235. $name_index
  236. &nbsp;
  237. !set wims_ref_class=wims_button_help
  238. !href cmd=help&special_parm=index $wims_name_help
  239. &nbsp;
  240. !set wims_ref_class=wims_button
  241. !if $class_type=4
  242. !href cmd=reply&job=index&job2=structure $wims_name_zones
  243. &nbsp;
  244. !set wims_ref_class=wims_button
  245. !endif
  246. &nbsp;
  247. !set wims_ref_class=wims_button
  248. !if $class_type=4 or $class_type=2
  249. !href cmd=reply&job=index&job2=teacherlist $wims_name_teachers
  250. &nbsp;
  251. !set wims_ref_class=wims_button
  252. !endif
  253. !href cmd=reply&job=index&job2=userlist $wims_name_participants
  254. &nbsp;
  255. !set wims_ref_class=wims_button
  256. !href cmd=reply&job=index&job2=oef $wims_name_exercises
  257. &nbsp;
  258. !set wims_ref_class=wims_button
  259. !href cmd=reply&job=index&job2=doc $wims_name_docs
  260.  
  261. <p>
  262. !href cmd=reply&job=security $wims_name_config_secure
  263.   ($name_change
  264. !href module=adm/class/passwd $wims_name_config_passwd
  265. ).
  266. <p>
  267. !href cmd=reply&job=arch&job2=first $name_load
  268. ,
  269. !href cmd=reply&job=access $name_restriction1
  270. ,
  271.  !href cmd=reply&job=grestrict $name_restriction2
  272. $name_score,
  273. !href cmd=reply&job=clean $name_clean
  274. .
  275. <p>
  276. $name_config
  277. !href module=adm/forum/mboard&job=config $name_forum
  278. ,
  279. !href module=adm/class/motd $name_motd
  280. ,  
  281. !href module=adm/class/cdt&job=config $name_cdt
  282. ,  
  283. !href module=adm/class/livret&job=config $name_livret
  284. ,  
  285. !href module=adm/class/sequence&job=config $name_seq
  286. .
  287. <p>
  288. $name_disk: $du MB. ($name_limit2 $wims_class_quota.)
  289.  
  290.  
  291. !reset up_institution, up_description, up_supervisor, up_email, \
  292.         up_lang, up_level, up_limit, up_topscores, up_anonymtopscores, up_expiration, up_secure, up_lock,\
  293.         up_option,up_exolog,up_examlog,up_examshow,up_ent,up_external_auth,up_mixed_external_auth,\
  294.         pr_homepage, pr_bgcolor, pr_refcolor, pr_ref_menucolor,pr_ref_button_help_bgcolor,pr_ref_button_help_color,\
  295.         pr_ref_button_color,pr_ref_button_bgcolor,pr_bgimg, pr_css, pr_theme, pr_theme_icon
  296.  
  297.