Rev 16205 | 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 |
||
15335 | bpr | 3 | !exit |
20 | reyssat | 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 |
||
15335 | bpr | 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 |
15335 | bpr | 20 | !set T_=!append line $t,$tit to $T_ |
20 | reyssat | 21 | !endif |
22 | !next t |
||
23 | !if $T_!=$empty |
||
15335 | bpr | 24 | !set n_=!linecnt $T_ |
25 | <p>$name_prompt_tool1 |
||
26 | !for i=1 to $n_ |
||
27 | !set l_=!line $i of $T_ |
||
28 | !set t_=!item 1 of $l_ |
||
29 | !set n__=!item 2 to -1 of $l_ |
||
16219 | bpr | 30 | !set wims_ref_class=wims_button wims_button_help |
15335 | bpr | 31 | !href target=wims_tool$i module=tool/$t_ $n__ |
32 | !next i |
||
33 | <span class="small">$name_prompt_tool2</span> |
||
34 | </p> |
||
20 | reyssat | 35 | !endif |
36 | |||
9370 | bpr | 37 | !reset lang_script_exists |