diff options
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -117,6 +117,15 @@ void html_attr(char *txt) | |||
117 | html(txt); | 117 | html(txt); |
118 | } | 118 | } |
119 | 119 | ||
120 | void html_hidden(char *name, char *value) | ||
121 | { | ||
122 | html("<input type='hidden' name='"); | ||
123 | html_attr(name); | ||
124 | html("' value='"); | ||
125 | html_attr(value); | ||
126 | html("'/>"); | ||
127 | } | ||
128 | |||
120 | void html_link_open(char *url, char *title, char *class) | 129 | void html_link_open(char *url, char *title, char *class) |
121 | { | 130 | { |
122 | html("<a href='"); | 131 | html("<a href='"); |
@@ -155,3 +164,4 @@ void html_filemode(unsigned short mode) | |||
155 | html_fileperm(mode >> 3); | 164 | html_fileperm(mode >> 3); |
156 | html_fileperm(mode); | 165 | html_fileperm(mode); |
157 | } | 166 | } |
167 | |||