Subversion Repositories wimsdev

Rev

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

  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
  16.   !set CC=!replace internal , by $ /$ in $(C_[2..-2])
  17.   !if /0// isin $wims_class//
  18.     !set tmp=$CL_Test
  19.     !set tmp_=testclass
  20.   !else
  21.     !set tmp=$(wims_name_$class_typename)
  22.     !set tmp_=$class_typename
  23.   !endif
  24.   !if $CC!=$empty
  25.     !set CC = / $CC
  26.   !endif
  27.   !set tmp_desc=!append line $(C_[1]) ($wims_institutionname) $CC\
  28. <span class="wims_classes_direct_$tmp_">$tmp $wims_classname</span>\
  29. to $tmp_desc
  30.   !reset tmp_ tmp
  31. !endif
  32.  
  33. !read $(path)title.phtml 1\
  34. $tmp_desc
  35.  
  36. !reset tmp_desc tmp
  37.