Rev 16561 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 16561 | Rev 17170 | ||
---|---|---|---|
Line 138... | Line 138... | ||
138 | break; |
138 | break; |
139 | 139 | ||
140 | case FORM_RADIO: |
140 | case FORM_RADIO: |
141 | case FORM_CHECKBOX: |
141 | case FORM_CHECKBOX: |
142 | if (itemcnt > 1) { |
142 | if (itemcnt > 1) { |
143 | output("%s<input type=\"%s\" name=\"%s\" id=\"%s_%d\" value=\"%s\"%s |
143 | output("%s<input type=\"%s\" name=\"%s\" id=\"%s_%d\" value=\"%s\"%s><label for=\"%s_%d\">%s</label>%s", |
144 | pfrb,name,nbuf,input_id,i+1,p0,pc,input_id,i+1,plist[i],pfre); |
144 | pfrb,name,nbuf,input_id,i+1,p0,pc,input_id,i+1,plist[i],pfre); |
145 | } else { |
145 | } else { |
146 | output("%s<input type=\"%s\" name=\"%s\" id=\"%s\" value=\"%s\"%s |
146 | output("%s<input type=\"%s\" name=\"%s\" id=\"%s\" value=\"%s\"%s><label for=\"%s\">%s</label>%s", |
147 | pfrb,name,nbuf,input_id,p0,pc,input_id,plist[i],pfre); |
147 | pfrb,name,nbuf,input_id,p0,pc,input_id,plist[i],pfre); |
148 | } |
148 | } |
149 | if(i<itemcnt-1 && itemcnt>2 && (hmode==NULL || *hmode==0)) _output_(","); |
149 | if(i<itemcnt-1 && itemcnt>2 && (hmode==NULL || *hmode==0)) _output_(","); |
150 | _output_("\n"); |
150 | _output_("\n"); |
151 | break; |
151 | break; |
152 | case FORM_BAR: |
152 | case FORM_BAR: |
153 | output("<input type=\"%s\" name=\"%s\" id=\"%s_%d\" title=\"%s\" value=\"%s\"%s |
153 | output("<input type=\"%s\" name=\"%s\" id=\"%s_%d\" title=\"%s\" value=\"%s\"%s><label style=\"display:none\" for=\"%s_%d\">%s</label>", |
154 | name,nbuf,input_id,i+1,p0,p0,pc,input_id,i+1,p0); |
154 | name,nbuf,input_id,i+1,p0,p0,pc,input_id,i+1,p0); |
155 | break; |
155 | break; |
156 | } |
156 | } |
157 | } |
157 | } |
158 | setvar("wims_ref_class",""); |
158 | setvar("wims_ref_class",""); |