summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--html.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/html.c b/html.c
index 76fa6c4..6c9cc8b 100644
--- a/html.c
+++ b/html.c
@@ -126,6 +126,18 @@ void html_hidden(char *name, char *value)
html("'/>");
}
+void html_option(char *value, char *text, char *selected_value)
+{
+ html("<option value='");
+ html_attr(value);
+ html("'");
+ if (selected_value && !strcmp(selected_value, value))
+ html(" selected");
+ html(">");
+ html_txt(text);
+ html("</option>\n");
+}
+
void html_link_open(char *url, char *title, char *class)
{
html("<a href='");
6c683bd5c9c9b41a8c3c6015&follow=1'>Do not bail out, if we try to replace stuff in a category w/o a dashRené 'Necoro' Neumann1-1/+7 2010-05-25Do not bail out, if we try to replace stuff in a category w/o a dashRené 'Necoro' Neumann1-1/+7 2010-05-22Update gtk-version in glade filesRené 'Necoro' Neumann8-8/+8 2010-05-22Fix the link buttonsRené 'Necoro' Neumann1-1/+1 2010-05-20Handle missing eix-cache file more gracefullyRené 'Necoro' Neumann1-0/+7 2010-05-20More declarative handling of the database typesRené 'Necoro' Neumann3-46/+59 2010-05-12Updated French translation to current code statusClement Bourgeois1-52/+56 2010-05-12Unused French translations purgedClement Bourgeois1-18/+0 2010-05-11Fix release script pathesv0.14René 'Necoro' Neumann1-1/+2 2010-05-11Add '--plugin-dir' optionRené 'Necoro' Neumann1-1/+9 2010-05-11Add a README message to the releaseRené 'Necoro' Neumann1-1/+14