Subversion Repositories wimsdev

Rev

Rev 12652 | Go to most recent revision | 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
 
10
 
10756 bpr 11
!!testclass /0 in $wims_class
12
!if $wims_typename notwordof program and /0// notin $wims_class//
12652 bpr 13
  !set wims_rm_0 = $wims_rm_0\
10756 bpr 14
   itemsep,0,$wims_name_manage
15
!endif
9351 bpr 16
!read themes/_procs/supervisorusermanage.proc
10155 bpr 17
!if ($wims_supertype<4 and $wims_typename=class) or \
12652 bpr 18
    ($wims_supertype=4 and $wims_typename iswordof course program)
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
10756 bpr 24
!if $wims_typename notwordof program and /0// notin $wims_class//
25
  !set wims_rm_0 = $wims_rm_0\
10011 bpr 26
itemsep,0,$wims_name_classactivity
10756 bpr 27
  !read themes/_procs/supervisorclassactivity.proc
28
!endif
10011 bpr 29
!set wims_rm_0 = $wims_rm_0\
30
itemsep,0,$wims_name_configuration
31
 
32
!read themes/_procs/supervisorconfig.proc 0
10593 bpr 33
 
10627 bpr 34
!read themes/_procs/extlink.proc cnt
10683 bpr 35
!if $class_ent_n0 >0
10627 bpr 36
  !set wims_rm_0 = !append line itemsep,0,$wims_name_otherclasses to $wims_rm_0
10693 bpr 37
  !set tmp_exists=yes
10627 bpr 38
  !read themes/_procs/extlink.proc proc
39
!endif
10593 bpr 40
 
10627 bpr 41
!if $class_type=0
10693 bpr 42
  !if $tmp_exists!=yes
12652 bpr 43
    !set wims_rm_0 = !append line itemsep,0,$wims_name_otherclasses to $wims_rm_0
10693 bpr 44
  !endif
10627 bpr 45
  !read themes/_procs/supervisorotherclass.proc
46
!endif
10593 bpr 47
 
16855 bpr 48
!set wims_rm_0 = $wims_rm_0\
49
itemsep,0,$CR_Docs
50
!read themes/_procs/documentation.proc
51
 
52
!if $wims_supertype!=4 or $class_typename!=class
53
  !set wims_rm_0 = $wims_rm_0\
54
itemsep,0,$CR_1
55
  !read themes/_procs/classdevtools.proc
56
!endif
57
 
10693 bpr 58
!reset tmp_exists
7584 obado 59
!set wims_homeref_n0 = !linecnt $wims_rm_0