Subversion Repositories wimsdev

Rev

Rev 9132 | Rev 12241 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9132 Rev 9930
Line 137... Line 137...
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 > 1) {
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);
147
         }
147
         }
148
         if(i<itemcnt-1 && itemcnt>2 && (hmode==NULL || *hmode==0)) _output_(",");
148
         if(i<itemcnt-1 && itemcnt>2 && (hmode==NULL || *hmode==0)) _output_(",");
149
         _output_("\n");
149
         _output_("\n");
150
         break;
150
         break;
151
        case FORM_BAR:
151
        case FORM_BAR:
152
         output("<input type=\"radio\" name=\"%s\" id=\"%s%d\" value=\"%s\"%s/>",
152
         output("<input type=\"radio\" name=\"%s\" id=\"%s_%d\" value=\"%s\"%s/>",
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","");