Rev 5803 | Rev 9370 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | reyssat | 1 | !set p_=!trim $wims_read_parm |
2 | !if $p_=$empty |
||
3 | !exit |
||
4 | !endif |
||
5 | !set p_=!items2words $p_ |
||
6 | !set p_=!words2items $p_ |
||
7 | |||
2967 | bpr | 8 | !read lang/names.phtml.$lang |
9 | !if $lang_script_exists!=yes |
||
10 | !read lang/names.phtml.en |
||
20 | reyssat | 11 | !endif |
12 | |||
13 | !reset T_ |
||
14 | !for t in $p_ |
||
2967 | bpr | 15 | !set tit=!module title_$lang tool/$t |
16 | !if $tit= |
||
17 | !set tit=!module title tool/$t |
||
18 | !endif |
||
20 | reyssat | 19 | !if $tit!=$empty and $tit!=$module_title |
20 | !set T_=!append line $t,$tit to $T_ |
||
21 | !endif |
||
22 | !next t |
||
23 | !if $T_!=$empty |
||
24 | !set n_=!linecnt $T_ |
||
2967 | bpr | 25 | <p>$name_prompt_tool1 |
20 | reyssat | 26 | !for i=1 to $n_ |
27 | !set l_=!line $i of $T_ |
||
28 | !set t_=!item 1 of $l_ |
||
2967 | bpr | 29 | !set n__=!item 2 to -1 of $l_ |
30 | !href target=wims_tool module=tool/$t_ $n__ |
||
20 | reyssat | 31 | |
32 | !next i |
||
6038 | bpr | 33 | <span class="small">$name_prompt_tool2</span> |
5803 | bpr | 34 | </p> |
20 | reyssat | 35 | !endif |
36 | |||
2967 | bpr | 37 | !reset lang_script_exists |