| 144 | */ |
| 145 | |
| 146 | void |
| 147 | cgiStartHTML(const char *title) /* I - Title of page */ |
| 148 | { |
| 149 | /* |
| 150 | * Disable any further authentication attempts... |
| 151 | */ |
| 152 | |
| 153 | cupsSetPasswordCB(cgi_null_passwd); |
| 154 | |
| 155 | /* |
| 156 | * Tell the client to expect UTF-8 encoded HTML... |
| 157 | */ |
| 158 | |
| 159 | if (cgi_multipart) |
| 160 | puts(cgi_multipart); |
| 161 | |
| 162 | puts("Content-Type: text/html;charset=utf-8\n"); |
| 163 | |
| 164 | /* |
| 165 | * Send a standard header... |
| 166 | */ |
| 167 | |
| 168 | cgiSetVariable("TITLE", title); |
| 169 | cgiSetServerVersion(); |
| 170 | |
| 171 | cgiCopyTemplateLang("header.tmpl"); |
| 172 | } |
| 173 | |
| 174 | |
| 175 | /* |
no test coverage detected