diff options
Diffstat (limited to 'content/fetchers')
-rw-r--r-- | content/fetchers/about.c | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/content/fetchers/about.c b/content/fetchers/about.c index 182a3b607..72f2b05a2 100644 --- a/content/fetchers/about.c +++ b/content/fetchers/about.c @@ -799,28 +799,38 @@ static bool fetch_about_query_auth_handler(struct fetch_about_context *ctx) } } + res = ssenddataf(ctx, "<table>"); + if (res != NSERROR_OK) { + goto fetch_about_query_auth_handler_aborted; + } + res = ssenddataf(ctx, - "<div>" - "<label for=\"name\">%s:</label>" - "<input type=\"text\" id=\"username\" " - "name=\"username\" value=\"%s\">" - "</div>", + "<tr>" + "<th><label for=\"name\">%s:</label></th>" + "<td><input type=\"text\" id=\"username\" " + "name=\"username\" value=\"%s\"></td>" + "</tr>", messages_get("Username"), username); if (res != NSERROR_OK) { goto fetch_about_query_auth_handler_aborted; } res = ssenddataf(ctx, - "<div>" - "<label for=\"password\">%s:</label>" - "<input type=\"password\" id=\"password\" " - "name=\"password\" value=\"%s\">" - "</div>", + "<tr>" + "<th><label for=\"password\">%s:</label></th>" + "<td><input type=\"password\" id=\"password\" " + "name=\"password\" value=\"%s\"></td>" + "</tr>", messages_get("Password"), password); if (res != NSERROR_OK) { goto fetch_about_query_auth_handler_aborted; } + res = ssenddataf(ctx, "</table>"); + if (res != NSERROR_OK) { + goto fetch_about_query_auth_handler_aborted; + } + res = ssenddataf(ctx, "<div id=\"buttons\">" "<input type=\"submit\" id=\"cancel\" name=\"cancel\" " |