Subversion Repositories wimsdev

Rev

Rev 15862 | 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
17203 guerimand 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>
15862 guerimand 15
            <th>$name_indivsheetlist</th>
10433 bpr 16
        </tr>
17
      </thead>
18
      <tbody>
19
    !for k in $tv_listlocal
20
      $table_tr
21
        <td>$(tv_listname[$k])</td>
22
        <td>
23
        !let techval$(num_$k)=$(old_$k)
24
        !formselect techval$(num_$k) list $(ltval_$k) prompt $(ltprompt_$k)
25
        </td>
15862 guerimand 26
        <td>
27
          !positionof item $(tv_listcode[$k]) in $sheet_usedindivtechvar
28
        </td>
10433 bpr 29
      </tr>
30
    !next k
31
     </tbody>
32
    $table_end
33
    <div class="wimscenter wimsform">
17203 guerimand 34
      <input type="submit" name="tc_set" value="$wims_name_tosave" >
10433 bpr 35
 $
17203 guerimand 36
      <input type="submit" name="tc_abandon" value="$wims_name_giveup" class="wims_secondary_button" >
10433 bpr 37
     </div>
38
    !formend
39
  !endif
40
  !if $listglobal!=$empty
41
    $table_header
42
      <caption>$name_listtechvarglobal</caption>
43
      <thead>
44
        $table_hdtr
10919 bpr 45
            <th>$wims_name_name</th>
10433 bpr 46
            <th>$name_value</th>
47
        </tr>
48
      </thead>
49
      <tbody>
50
    !for k in $listglobal
51
      $table_tr
12488 bpr 52
      !let don=!line $k of $tv_listtechvar
53
      !distribute item $don into name,cls,num
54
      !let id=!item $k of $tv_listcode
55
      <td>$name</td>
56
      <td>$(user_techvar_$(id))</td>
10433 bpr 57
      </tr>
58
    !next k
59
    </tbody>
60
    $table_end
61
  !endif
9960 guerimand 62
!endif
63
</div>