diff options
-rw-r--r-- | src/utils/html.c | 18 | ||||
-rw-r--r-- | src/utils/html.h | 4 |
2 files changed, 11 insertions, 11 deletions
diff --git a/src/utils/html.c b/src/utils/html.c index 4ceeb8b..7f10a51 100644 --- a/src/utils/html.c +++ b/src/utils/html.c @@ -925,15 +925,6 @@ mq_html_input_checkbox(const gchar *name, const gchar *label, gboolean checked) } gchar * -mq_html_input_hidden(const gchar *name, const gchar *value) -{ - return g_strdup_printf( - "<input type=\"text\" name=\"%s\" id=\"%s\" " - "value=\"%s\">\n", - name, name, value ? value : ""); -} - -gchar * mq_html_input_select(const gchar *name, const gchar *label, const gchar *selected, GDestroyNotify destroy_value, GDestroyNotify destroy_label, ...) @@ -1022,6 +1013,15 @@ mq_html_input_select(const gchar *name, const gchar *label, } gchar * +mq_html_input_hidden(const gchar *name, const gchar *value) +{ + return g_strdup_printf( + "<input type=\"text\" name=\"%s\" id=\"%s\" " + "value=\"%s\">\n", + name, name, value ? value : ""); +} + +gchar * mq_html_label(const gchar *for_id, const gchar *label, gboolean add_colon) { return g_strdup_printf( diff --git a/src/utils/html.h b/src/utils/html.h index 724c7cf..ec9b659 100644 --- a/src/utils/html.h +++ b/src/utils/html.h @@ -101,10 +101,10 @@ mq_html_input_select(const gchar *name, const gchar *label, G_GNUC_NULL_TERMINATED; gchar * -mq_html_label(const gchar *for_id, const gchar *label, gboolean add_colon); +mq_html_input_hidden(const gchar *name, const gchar *value); gchar * -mq_html_input_hidden(const gchar *name, const gchar *value); +mq_html_label(const gchar *for_id, const gchar *label, gboolean add_colon); gchar * mq_html_submit(const gchar *name, const gchar *label, gboolean disabled); |