Rev 9048 | Rev 9930 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9048 | Rev 9132 | ||
---|---|---|---|
Line 136... | Line 136... | ||
136 | output("<option value=\"%s\"%s>%s</option>\n", p0, pc, plist[i]); |
136 | output("<option value=\"%s\"%s>%s</option>\n", p0, pc, plist[i]); |
137 | break; |
137 | break; |
138 | 138 | ||
139 | case FORM_RADIO: |
139 | case FORM_RADIO: |
140 | case FORM_CHECKBOX: |
140 | case FORM_CHECKBOX: |
141 | if (itemcnt > |
141 | if (itemcnt > 1) { |
142 | output("%s<input type=\"%s\" name=\"%s\" id=\"%s%d\" value=\"%s\"%s/><label for=\"%s%d\">%s</label>%s", |
142 | output("%s<input type=\"%s\" name=\"%s\" id=\"%s%d\" value=\"%s\"%s/><label for=\"%s%d\">%s</label>%s", |
143 | pfrb,name,nbuf,input_id,i+1,p0,pc,input_id,i+1,plist[i],pfre); |
143 | pfrb,name,nbuf,input_id,i+1,p0,pc,input_id,i+1,plist[i],pfre); |
144 | } else { |
144 | } else { |
145 | output("%s<input type=\"%s\" name=\"%s\" id=\"%s\" value=\"%s\"%s/><label for=\"%s\">%s</label>%s", |
145 | output("%s<input type=\"%s\" name=\"%s\" id=\"%s\" value=\"%s\"%s/><label for=\"%s\">%s</label>%s", |
146 | pfrb,name,nbuf,input_id,p0,pc,input_id,plist[i],pfre); |
146 | pfrb,name,nbuf,input_id,p0,pc,input_id,plist[i],pfre); |
Line 153... | Line 153... | ||
153 | nbuf,input_id,i+1,p0,pc); |
153 | nbuf,input_id,i+1,p0,pc); |
154 | break; |
154 | break; |
155 | } |
155 | } |
156 | } |
156 | } |
157 | setvar("wims_ref_class",""); |
157 | setvar("wims_ref_class",""); |
- | 158 | setvar("wims_ref_id",""); |
|
158 | setvar("wims_html_mode",""); |
159 | setvar("wims_html_mode",""); |
159 | if(kind==FORM_SELECT) _output_("</select>"); |
160 | if(kind==FORM_SELECT) _output_("</select>"); |
160 | if(kind==FORM_BAR) output("<span style=\"font-weight:bold;\">+</span>%s",pfre); |
161 | if(kind==FORM_BAR) output("<span style=\"font-weight:bold;\">+</span>%s",pfre); |
161 | } |
162 | } |
162 | 163 |