Subversion Repositories wimsdev

Rev

Rev 10919 | Rev 15862 | 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
10433 bpr 3
  $name_notechvar
9960 guerimand 4
!else
10433 bpr 5
  $name_ltuservalue
6
  !if $tv_listlocal!=$empty
7
    !form reply
10707 bpr 8
    <input type="hidden" name="job" value="userprop" />
10433 bpr 9
    $table_header
10
      <caption>$name_listtechvarlocal</caption>
11
      <thead>
12
        $table_hdtr
10919 bpr 13
            <th>$wims_name_name</th>
10433 bpr 14
            <th>$name_value</th>
15
        </tr>
16
      </thead>
17
      <tbody>
18
    !for k in $tv_listlocal
19
      $table_tr
20
        <td>$(tv_listname[$k])</td>
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
 $
32
      <input type="submit" name="tc_abandon" value="$wims_name_giveup" class="wims_secondary_button" />
33
     </div>
34
    !formend
35
  !endif
36
  !if $listglobal!=$empty
37
    $table_header
38
      <caption>$name_listtechvarglobal</caption>
39
      <thead>
40
        $table_hdtr
10919 bpr 41
            <th>$wims_name_name</th>
10433 bpr 42
            <th>$name_value</th>
43
        </tr>
44
      </thead>
45
      <tbody>
46
    !for k in $listglobal
47
      $table_tr
12488 bpr 48
      !let don=!line $k of $tv_listtechvar
49
      !distribute item $don into name,cls,num
50
      !let id=!item $k of $tv_listcode
51
      <td>$name</td>
52
      <td>$(user_techvar_$(id))</td>
10433 bpr 53
      </tr>
54
    !next k
55
    </tbody>
56
    $table_end
57
  !endif
9960 guerimand 58
!endif
59
</div>