Subversion Repositories wimsdev

Rev

Rev 16855 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
7671 bpr 1
!!menumodubox0.proc :
9769 bpr 2
!! Adds all class links for supervisor in wims_rm_0 for navigation menus,
10756 bpr 3
!! when class_type=0 ou 1 ou 3
7584 obado 4
!! Sets all links to be displayed in menumodubox
9704 bpr 5
 
9747 bpr 6
!set wims_rm_0 = $wims_rm_0\
10011 bpr 7
itemsep,0,$wims_name_classtools
7584 obado 8
!read themes/_procs/classtools.proc
9747 bpr 9
 
10756 bpr 10
!!testclass /0 in $wims_class
11
!if $wims_typename notwordof program and /0// notin $wims_class//
12652 bpr 12
  !set wims_rm_0 = $wims_rm_0\
10756 bpr 13
   itemsep,0,$wims_name_manage
17007 guerimand 14
  !read themes/_procs/supervisorusermanage.proc
10756 bpr 15
!endif
17007 guerimand 16
 
10155 bpr 17
!if ($wims_supertype<4 and $wims_typename=class) or \
17007 guerimand 18
    ($wims_supertype=4 and $wims_typename iswordof course program and /0// notin $wims_class//)
10155 bpr 19
  !set wims_rm_0 = $wims_rm_0\
10083 bpr 20
itemsep,0,$wims_name_Evaluation
10155 bpr 21
  !read themes/_procs/supervisorscore.proc
22
  !read themes/_procs/supervisorstat.proc
23
!endif
17007 guerimand 24
 
10756 bpr 25
!if $wims_typename notwordof program and /0// notin $wims_class//
26
  !set wims_rm_0 = $wims_rm_0\
10011 bpr 27
itemsep,0,$wims_name_classactivity
10756 bpr 28
  !read themes/_procs/supervisorclassactivity.proc
29
!endif
17007 guerimand 30
 
10011 bpr 31
!set wims_rm_0 = $wims_rm_0\
32
itemsep,0,$wims_name_configuration
33
 
34
!read themes/_procs/supervisorconfig.proc 0
10593 bpr 35
 
10627 bpr 36
!read themes/_procs/extlink.proc cnt
10683 bpr 37
!if $class_ent_n0 >0
10627 bpr 38
  !set wims_rm_0 = !append line itemsep,0,$wims_name_otherclasses to $wims_rm_0
10693 bpr 39
  !set tmp_exists=yes
10627 bpr 40
  !read themes/_procs/extlink.proc proc
41
!endif
10593 bpr 42
 
10627 bpr 43
!if $class_type=0
10693 bpr 44
  !if $tmp_exists!=yes
12652 bpr 45
    !set wims_rm_0 = !append line itemsep,0,$wims_name_otherclasses to $wims_rm_0
10693 bpr 46
  !endif
10627 bpr 47
  !read themes/_procs/supervisorotherclass.proc
48
!endif
10593 bpr 49
 
16855 bpr 50
!set wims_rm_0 = $wims_rm_0\
51
itemsep,0,$CR_Docs
52
!read themes/_procs/documentation.proc
53
 
54
!if $wims_supertype!=4 or $class_typename!=class
55
  !set wims_rm_0 = $wims_rm_0\
56
itemsep,0,$CR_1
57
  !read themes/_procs/classdevtools.proc
58
!endif
59
 
10693 bpr 60
!reset tmp_exists
7584 obado 61
!set wims_homeref_n0 = !linecnt $wims_rm_0