Rev 7187 | Rev 14674 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7187 | Rev 14520 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | !set p_=!trim $wims_read_parm |
1 | !set p_=!trim $wims_read_parm |
2 | !if $p_=$empty or ($wims_user!=$empty and $wims_user!=supervisor) |
2 | !if $p_=$empty or ($wims_user!=$empty and $wims_user!=supervisor) |
3 | !exit |
3 | !exit |
4 | !endif |
4 | !endif |
5 | 5 | ||
6 | !read lang/names.phtml.$lang |
6 | !read lang/names.phtml.$lang |
7 | !if $lang_script_exists!=yes |
7 | !if $lang_script_exists!=yes |
8 | !read lang/names.phtml.en |
8 | !read lang/names.phtml.en |
9 | !endif |
9 | !endif |
10 | 10 | ||
11 | !set cat_=!listintersect $module_category and exercise,tool,recreation |
11 | !set cat_=!listintersect $module_category and exercise,tool,recreation |
12 | !for c in $cat_ |
12 | !for c in $cat_ |
13 | <p>$name_prompt_related |
13 | <p>$name_prompt_related |
14 | !for t in $p_ |
14 | !for t in $p_ |
15 | !set t_=!lookup $t in bases/sys/domain/domain.$lang |
15 | !set t_=!lookup $t in bases/sys/domain/domain.$lang |
16 | !default t_=$t |
16 | !default t_=$t |
17 | !href module=home&search_category=$c&search_keywords=$t_ $t_ |
17 | !href module=home&search_category=$c&search_keywords=$t_ $t_ |
18 | |
18 | |
19 | !next t |
19 | !next t |
20 | </p> |
20 | </p> |
21 | !next c |
21 | !next c |