Subversion Repositories wimsdev

Rev

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

  1. !if $wims_read_parm!=$empty
  2.   !set parms=$wims_read_parm
  3. !else
  4.   !if $parms=$empty
  5.     !exit
  6.   !endif
  7. !endif
  8.  
  9. !set data=data/glossary/$parms
  10. !set gl_title=!getdef gl_title in $data
  11. !set gl_keywords=!getdef gl_keywords in $data
  12. !set gl_author=!getdef gl_author in $data
  13. !set gl_type=!getdef gl_type in $data
  14. !set tmp=!replace internal / by , in $data
  15. !default gl_title=!lookup $(tmp[-1]) in bases/sys/domain/domain.$(tmp[-2])
  16. <div class="wims_glossary">
  17. !if $gl_type!=dynamic
  18.   !record 2 of $data
  19. !else
  20.   !read $data
  21. !endif
  22. </div>
  23.