/[suikacvs]/test/html-webhacc/WebHACC/Output.pm
Suika

Diff of /test/html-webhacc/WebHACC/Output.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by wakaba, Mon Jul 21 08:39:12 2008 UTC revision 1.6 by wakaba, Mon Jul 21 09:54:59 2008 UTC
# Line 278  sub nav_list ($) { Line 278  sub nav_list ($) {
278    $self->html ('</ul>');    $self->html ('</ul>');
279  } # nav_list  } # nav_list
280    
281    sub http_header ($) {
282      shift->html (qq[Content-Type: text/html; charset=utf-8\n\n]);
283    } # http_header
284    
285    sub http_error ($$) {
286      my $self = shift;
287      my $code = 0+shift;
288      my $text = {
289        404 => 'Not Found',
290      }->{$code};
291      $self->html (qq[Status: $code $text\nContent-Type: text/html ; charset=us-ascii\n\n$code $text]);
292    } # http_error
293    
294    sub html_header ($) {
295      my $self = shift;
296      $self->html (q[<!DOCTYPE html>
297    <html lang="en">
298    <head>
299    <title>WebHACC (BETA) Result</title>
300    <link rel="stylesheet" href="../cc-style.css" type="text/css">
301    </head>
302    <body>
303    <h1><a href="../cc-interface"><abbr title="Web Hypertext Application Conformance Checker (BETA)"><img src="../icons/title" alt="WebHACC"></abbr></a></h1>
304    ]);
305    } # html_header
306    
307  sub encode_url_component ($$) {  sub encode_url_component ($$) {
308    shift;    shift;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.6

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24