Rev 13607 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13607 | Rev 15719 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | <ul class="inline"> |
4 | <ul class="inline"> |
5 |
|
5 | !for i=1 to $(choices$parmcnt) |
6 |
|
6 | <li> |
7 |
|
7 | !reset checked |
8 |
|
8 | !if $i iswordof $(parm$parmcnt) |
9 |
|
9 | !set checked=checked="checked" |
- | 10 | !endif |
|
- | 11 | <input type="checkbox" name="parm$parmcnt" id="parm$(parmcnt)_$i" value="$i" $checked /> |
|
- | 12 | <label for="parm$(parmcnt)_$i"> |
|
- | 13 | !item $i of $parms |
|
- | 14 | </label> |
|
- | 15 | !set ll=!item $i of $limits |
|
- | 16 | !if $ll>0 |
|
- | 17 | !set remain=$[max(0,$ll-0$(vcnt_$(parmcnt)_$i))] |
|
- | 18 | ($remain $name_remaining) |
|
- | 19 | !else |
|
- | 20 | !if $(vcnt_$(parmcnt)_$i)!=$empty and $vshow=1 |
|
- | 21 | ($(vcnt_$(parmcnt)_$i)) |
|
10 | !endif |
22 | !endif |
11 | <input type="checkbox" name="parm$parmcnt" id="parm$(parmcnt)_$i" value="$i" $checked /> |
- | |
12 | <label for="parm$(parmcnt)_$i"> |
- | |
13 | !item $i of $parms |
- | |
14 | </label> |
- | |
15 | !set ll=!item $i of $limits |
- | |
16 | !if $ll>0 |
- | |
17 | !set remain=$[max(0,$ll-0$(vcnt_$(parmcnt)_$i))] |
- | |
18 | ($remain $name_remaining) |
- | |
19 | !else |
- | |
20 | !if $(vcnt_$(parmcnt)_$i)!=$empty and $vshow=1 |
- | |
21 | ($(vcnt_$(parmcnt)_$i)) |
- | |
22 | !endif |
- | |
23 |
|
23 | !endif |
24 |
|
24 | </li> |
25 |
|
25 | !next i |
26 | </ul> |
26 | </ul> |