-rw-r--r-- | html.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -118,4 +118,13 @@ void html_attr(char *txt) } +void html_hidden(char *name, char *value) +{ + html("<input type='hidden' name='"); + html_attr(name); + html("' value='"); + html_attr(value); + html("'/>"); +} + void html_link_open(char *url, char *title, char *class) { @@ -156,2 +165,3 @@ void html_filemode(unsigned short mode) html_fileperm(mode); } + |