diff options
Diffstat (limited to '')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index f21b2a6..a62948b 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -2451,9 +2451,9 @@ static void HTMLoption(qgrow_t *reply, char *title, boolean selected) | |||
2451 | reply->addstrf(reply, " <option value=\"%s\"%s>%s</option>\n", title, sel, title); | 2451 | reply->addstrf(reply, " <option value=\"%s\"%s>%s</option>\n", title, sel, title); |
2452 | } | 2452 | } |
2453 | 2453 | ||
2454 | static void HTMLbutton(qgrow_t *reply, char *title) | 2454 | static void HTMLbutton(qgrow_t *reply, char *name, char *title) |
2455 | { | 2455 | { |
2456 | reply->addstrf(reply, " <button type=\"submit\" name=\"doit\" value=\"%s\">%s</button>\n", title, title); | 2456 | reply->addstrf(reply, " <button type=\"submit\" name=\"doit\" value=\"%s\">%s</button>\n", name, title); |
2457 | } | 2457 | } |
2458 | 2458 | ||
2459 | static void HTMLlist(qgrow_t *reply, char *title, qlist_t *list) | 2459 | static void HTMLlist(qgrow_t *reply, char *title, qlist_t *list) |
@@ -4268,7 +4268,7 @@ static void accountWebSubs(reqData *Rd, inputForm *oF) | |||
4268 | { | 4268 | { |
4269 | inputSub *sub = (inputSub *) obj.data; | 4269 | inputSub *sub = (inputSub *) obj.data; |
4270 | if ('\0' != sub->title[0]) | 4270 | if ('\0' != sub->title[0]) |
4271 | HTMLbutton(Rd->reply, sub->title); | 4271 | HTMLbutton(Rd->reply, sub->name, sub->title); |
4272 | //d("accountWebSubs(%s, %s '%s')", oF->name, sub->name, sub->title); | 4272 | //d("accountWebSubs(%s, %s '%s')", oF->name, sub->name, sub->title); |
4273 | } | 4273 | } |
4274 | oF->subs->unlock(oF->subs); | 4274 | oF->subs->unlock(oF->subs); |
@@ -4984,8 +4984,8 @@ void listPage(reqData *Rd, char *message) | |||
4984 | HTMLhidden(Rd->reply, "name", name); | 4984 | HTMLhidden(Rd->reply, "name", name); |
4985 | HTMLhidden(Rd->reply, "UUID", Rd->shs.UUID); | 4985 | HTMLhidden(Rd->reply, "UUID", Rd->shs.UUID); |
4986 | Rd->reply->addstrf(Rd->reply, "<input type='submit' disabled style='display: none' aria-hidden='true' />\n"); // Stop Enter key on text fields triggering the first submit button. | 4986 | Rd->reply->addstrf(Rd->reply, "<input type='submit' disabled style='display: none' aria-hidden='true' />\n"); // Stop Enter key on text fields triggering the first submit button. |
4987 | HTMLbutton(Rd->reply, "me"); | 4987 | HTMLbutton(Rd->reply, "me", "me"); |
4988 | HTMLbutton(Rd->reply, "logout"); | 4988 | HTMLbutton(Rd->reply, "logout", "logout"); |
4989 | if (0 != Rd->errors->size(Rd->errors)) | 4989 | if (0 != Rd->errors->size(Rd->errors)) |
4990 | HTMLlist(Rd->reply, "errors -", Rd->errors); | 4990 | HTMLlist(Rd->reply, "errors -", Rd->errors); |
4991 | Rd->reply->addstrf(Rd->reply, "<p>%s</p>\n", message); | 4991 | Rd->reply->addstrf(Rd->reply, "<p>%s</p>\n", message); |