File: tool.phtml

package info (click to toggle)
wims 2%3A4.29a%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 185,704 kB
  • sloc: xml: 366,687; javascript: 120,570; ansic: 62,341; java: 62,170; sh: 7,744; perl: 3,937; yacc: 3,217; cpp: 1,915; lex: 1,805; makefile: 1,084; lisp: 914; pascal: 601; python: 520; php: 318; asm: 7
file content (37 lines) | stat: -rw-r--r-- 796 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
!set p_=!trim $wims_read_parm
!if $p_=$empty
  !exit
!endif
!set p_=!items2words $p_
!set p_=!words2items $p_

!read lang/names.phtml.$lang
!if $lang_script_exists!=yes
  !read lang/names.phtml.en
!endif

!reset T_
!for t in $p_
  !set tit=!module title_$lang tool/$t
  !if $tit=
    !set tit=!module title tool/$t
  !endif
  !if $tit!=$empty and $tit!=$module_title
    !set T_=!append line $t,$tit to $T_
  !endif
!next t
!if $T_!=$empty
  !set n_=!linecnt $T_
  <p>$name_prompt_tool1
  !for i=1 to $n_
    !set l_=!line $i of $T_
    !set t_=!item 1 of $l_
    !set n__=!item 2 to -1 of $l_
    !set wims_ref_class=wims_button wims_button_help
    !href target=wims_tool$i module=tool/$t_ $n__
  !next i
  <span class="small">$name_prompt_tool2</span>
  </p>
!endif

!reset lang_script_exists