Subversion Repositories wimsdev

Rev

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

  1. !set p_=!trim $wims_read_parm
  2. !if $p_=$empty or ($wims_user!=$empty and $wims_user!=supervisor)
  3.  !exit
  4. !endif
  5.  
  6. !if $module_language notwordof cn fr nl si es ca
  7.  !distribute items exercises,tools,recreations into\
  8.         name_exercise,name_tool,name_recreation
  9.  !set prompt=!nosubst Other $(name_$c) on:
  10. !else
  11.  !if $module_language=si
  12.   !distribute items vaje,orodja,uganke into\
  13.         name_exercise,name_tool,name_recreation
  14.   !set prompt=!nosubst D'autres $(name_$c) sur :
  15. !endif
  16. !if $module_language=fr
  17.  !distribute items exercices,outils,récréations into\
  18.         name_exercise,name_tool,name_recreation
  19.  !set prompt=!nosubst D'autres $(name_$c) sur :
  20.  !endif
  21.  !if $module_language=cn
  22.   !distribute items Á·Ï°,¹¤¾ß,ÓéÀÖ into\
  23.         name_exercise,name_tool,name_recreation
  24.   !set prompt=!nosubst ±ðµÄÀàËÆ$(name_$c):
  25.  !endif
  26.  !if $module_language=nl
  27.   !distribute items oefeningen,hulpmateriaal,ontspanning into\
  28.         name_exercise,name_tool,name_recreation
  29.   !set prompt=!nosubst D'autres $(name_$c) sur :
  30. !endif
  31. !if $module_language=es
  32.  !distribute items ejercicios,utilidades,actividades recreativas into\
  33.         name_exercise,name_tool,name_recreation
  34.  !set prompt=!nosubst Otros $(name_$c) sobre :
  35. !endif
  36. !if $module_language=ca
  37.  !distribute items exercicis,utilitats,entreteniments into\
  38.         name_exercise,name_tool,name_recreation
  39.  !set prompt=!nosubst Altres $(name_$c) sobre :
  40. !endif
  41. !endif
  42.  
  43. !set cat_=!listintersect $module_category and exercise,tool,recreation
  44. !for c in $cat_
  45. <p>$prompt
  46. !for t in $p_
  47.  !href module=home&search_category=$c&search_keywords=$t $t
  48.  &nbsp;
  49. !next t
  50. !next c
  51. <p>
  52.  
  53.