Subversion Repositories wimsdev

Rev

Rev 10925 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
10622 bpr 1
!if $wims_superclass=$empty or $wims_superclass=$wims_class
2
  !set tmp_desc=$wims_institutionname\
3
$wims_classname
4
!else
5
  !set tmp_cl=!replace internal / by , in $wims_class
6
  !set tmp_cl_cnt=!itemcnt $tmp_cl
7
  !reset C_
8
  !for j=1 to $tmp_cl_cnt
9
    !set c_=!item 1 to $j of $tmp_cl
10
    !set c_=!replace internal , by / in $c_
11
    !set c_=!nospace $c_
12
    !set pname=!defof class_description in wimshome/log/classes/$c_/.def
13
    !set C_=!append item $pname to $C_
14
    !reset pname
15
  !next
10943 bpr 16
  !set CC=!replace internal , by $ /$ in $(C_[2..-2])
10757 bpr 17
  !if /0// isin $wims_class//
18
    !set tmp=$CL_Test
10860 bpr 19
    !set tmp_=testclass
10757 bpr 20
  !else
21
    !set tmp=$(wims_name_$class_typename)
10860 bpr 22
    !set tmp_=$class_typename
10757 bpr 23
  !endif
10762 bpr 24
  !if $CC!=$empty
10925 bpr 25
    !set CC = / $CC
10762 bpr 26
  !endif
27
  !set tmp_desc=!append line $(C_[1]) ($wims_institutionname) $CC\
10860 bpr 28
<span class="wims_classes_direct_$tmp_">$tmp $wims_classname</span>\
10757 bpr 29
to $tmp_desc
10860 bpr 30
  !reset tmp_ tmp
10622 bpr 31
!endif
10860 bpr 32
 
10622 bpr 33
!read $(path)title.phtml 1\
34
$tmp_desc
35
 
10757 bpr 36
!reset tmp_desc tmp