diff options
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 6acd4a8..609fefa 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -2220,14 +2220,14 @@ static void HTMLformEnd(qgrow_t *reply) | |||
2220 | static void HTMLcheckBox(qgrow_t *reply, char *name, char *title, boolean checked) | 2220 | static void HTMLcheckBox(qgrow_t *reply, char *name, char *title, boolean checked) |
2221 | { | 2221 | { |
2222 | if (checked) | 2222 | if (checked) |
2223 | reply->addstrf(reply, " <p><input type=\"checkbox\" name=\"%s\" checked><label for=\"%s\">%s</label></p>\n", name, name, title); | 2223 | reply->addstrf(reply, " <p><label for=\"%s\">%s</label> : <input type=\"checkbox\" name=\"%s\" checked></p>\n", name, title, name); |
2224 | else | 2224 | else |
2225 | reply->addstrf(reply, " <p><input type=\"checkbox\" name=\"%s\"><label for=\"%s\">%s</label></p>\n", name, name, title); | 2225 | reply->addstrf(reply, " <p><input type=\"checkbox\" name=\"%s\"><label for=\"%s\">%s</label></p>\n", name, name, title); |
2226 | } | 2226 | } |
2227 | 2227 | ||
2228 | static void HTMLtext(qgrow_t *reply, char *type, char *title, char *name, char *val, int size, int max, boolean required) | 2228 | static void HTMLtext(qgrow_t *reply, char *type, char *title, char *name, char *val, int size, int max, boolean required) |
2229 | { | 2229 | { |
2230 | reply->addstrf(reply, " <p>%s : <input type=\"%s\" name=\"%s\"", title, type, name); | 2230 | reply->addstrf(reply, " <p><label for=\"%s\">%s</label> : <input type=\"%s\" name=\"%s\"", name, title, type, name); |
2231 | if ("" != val) | 2231 | if ("" != val) |
2232 | reply->addstrf(reply, "value=\"%s\"", val); | 2232 | reply->addstrf(reply, "value=\"%s\"", val); |
2233 | if (0 < size) | 2233 | if (0 < size) |