Subversion Repositories wimsdev

Rev

Rev 9960 | Rev 10433 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
9960 guerimand 1
<div class="wims_content">
2
!if $nblisttechvar=0
3
        $name_notechvar
4
!else
5
        $name_ltuservalue
6
        !if $tv_listlocal!=$empty
7
                !form reply
8
                <input type="hidden" name="job" value="userprop"/>
9
                $table_header
10
                <caption>$name_listtechvarlocal</caption>
11
                <thead>
12
                $table_hdtr
13
                        <th>$name_name</th>
14
                        <th>$name_value</th>
15
                </tr>
16
                </thead>
17
                <tbody>
18
                !for k in $tv_listlocal
19
                        $table_tr
9979 guerimand 20
                                <td>$(tv_listname[$k])</td>
9960 guerimand 21
                                <td>
22
                                    !let techval$(num_$k)=$(old_$k)
23
                                    !formselect techval$(num_$k) list $(ltval_$k) prompt $(ltprompt_$k)
24
                                </td>
25
                        </tr>
26
                !next k
27
                </tbody>
28
                $table_end
29
                <div class="wimscenter wimsform">
30
                <input type="submit" name="tc_set" value="$wims_name_tosave" />
31
                &nbsp;&nbsp;
32
                <input type="submit" name="tc_abandon" value="$wims_name_giveup" />
33
                </div>
34
                !formend
35
        !endif
36
        !if $listglobal!=$empty
37
                $table_header
38
                <caption>$name_listtechvarglobal</caption>
39
                <thead>
40
                $table_hdtr
41
                        <th>$name_name</th>
42
                        <th>$name_value</th>
43
                </tr>
44
                </thead>
45
                <tbody>
46
                !for k in $listglobal
47
                        $table_tr
48
                                !let don=!line $k of $tv_listtechvar
49
                                !distribute item $don into name,cls,num
50
                                !let id=!replace internal / by A in $cls
51
                                <td>$name</td>
52
                                <td>$(user_techvar_$(id)_$num)</td>
53
                        </tr>
54
                !next k
55
                </tbody>
56
                $table_end
57
        !endif
58
!endif
59
</div>