summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/html.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/html.c b/src/html.c
index 382d616..6781a7f 100644
--- a/src/html.c
+++ b/src/html.c
@@ -549,7 +549,7 @@ mq_html_form(const gchar *submit_label, const gchar *reset_label, ...)
gchar *
mq_html_input_text(const gchar *name, const gchar *label, const gchar *value)
{
- return g_strdup_printf("<label for=\"%s\">\n<span>%s</span>\n"
+ return g_strdup_printf("<label for=\"%s\">\n<span>%s:</span>\n"
"<input type=\"text\" name=\"%s\" id=\"%s\" value=\"%s\">\n"
"</label>\n",
name, label, name, name, value ? value : "");
@@ -559,7 +559,7 @@ gchar *
mq_html_input_number_i(const gchar *name, const gchar *label,
gint min, gint step, gint max, gint value)
{
- return g_strdup_printf("<label for=\"%s\">\n<span>%s</span>\n"
+ return g_strdup_printf("<label for=\"%s\">\n<span>%s:</span>\n"
"<input type=\"number\" name=\"%s\" id=\"%s\""
" min=\"%d\" step=\"%d\" max=\"%d\" value=\"%d\">\n"
"</label>\n",
@@ -570,7 +570,7 @@ gchar *
mq_html_input_number_d(const gchar *name, const gchar *label,
gdouble min, gdouble step, gdouble max, gdouble value)
{
- return g_strdup_printf("<label for=\"%s\">\n<span>%s</span>\n"
+ return g_strdup_printf("<label for=\"%s\">\n<span>%s:</span>\n"
"<input type=\"number\" name=\"%s\" id=\"%s\""
" min=\"%f\" step=\"%f\" max=\"%f\" value=\"%f\">\n"
"</label>\n",
@@ -580,7 +580,7 @@ mq_html_input_number_d(const gchar *name, const gchar *label,
gchar *
mq_html_input_radio(const gchar *name, const gchar *label, gboolean checked)
{
- return g_strdup_printf("<label for=\"%s\">\n<span>%s</span>\n"
+ return g_strdup_printf("<label for=\"%s\">\n<span>%s:</span>\n"
"<input type=\"radio\" name=\"%s\" id=\"%s\"%s>\n</label>\n",
name, label, name, name, checked ? " checked=\"checked\"" : "");
}
@@ -609,7 +609,7 @@ mq_html_input_checkbox(const gchar *name, const gchar *label, gboolean checked)
* <input> when the former <input> is checked.
*/
- return g_strdup_printf("<label for=\"%s\">\n<span>%s</span>\n"
+ return g_strdup_printf("<label for=\"%s\">\n<span>%s:</span>\n"
"<input type=\"hidden\" name=\"%s\" value=\"off\">\n"
"<input type=\"checkbox\" name=\"%s\" id=\"%s\"%s>\n</label>\n",
name, label, name, name, name,
@@ -635,7 +635,7 @@ mq_html_input_select(const gchar *name, const gchar *label,
len += strlen(name);
len += strlen("\">\n<span>");
len += strlen(label);
- len += strlen("</span>\n<select name=\"");
+ len += strlen(":</span>\n<select name=\"");
len += strlen(name);
len += strlen("\" id=\"");
len += strlen(name);
@@ -661,7 +661,7 @@ mq_html_input_select(const gchar *name, const gchar *label,
ptr = g_stpcpy(ptr, name);
ptr = g_stpcpy(ptr, "\">\n<span>");
ptr = g_stpcpy(ptr, label);
- ptr = g_stpcpy(ptr, "</span>\n<select name=\"");
+ ptr = g_stpcpy(ptr, ":</span>\n<select name=\"");
ptr = g_stpcpy(ptr, name);
ptr = g_stpcpy(ptr, "\" id=\"");
ptr = g_stpcpy(ptr, name);