ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cfmaps/cfmap2html
(Generate patch)

Comparing cfmaps/cfmap2html (file contents):
Revision 1.7 by root, Fri Nov 18 23:20:26 2005 UTC vs.
Revision 1.8 by root, Fri Nov 18 23:43:12 2005 UTC

9 9
10my $arch; 10my $arch;
11 11
12umask 022; 12umask 022;
13 13
14our $VERSION = '1.01'; 14our $VERSION = '1.02';
15 15
16sub escape_html($) { 16sub escape_html($) {
17 local $_ = shift; 17 local $_ = shift;
18 s/([<>&])/sprintf "&#%d;", ord $1/ge; 18 s/([<>&])/sprintf "&#%d;", ord $1/ge;
19 $_ 19 $_
159 print "</td>"; 159 print "</td>";
160 } 160 }
161 print "</tr>"; 161 print "</tr>";
162 } 162 }
163 163
164 my $W2 = $W + 600;
165
164 print "</table></p><hr/><p style='font-size: 8pt'>created by <b>cfmap2html</b> version $VERSION</p>", 166 print "</table></p><hr/><p style='font-size: 8pt'>created by <b>cfmap2html</b> version $VERSION</p>",
165 "<p style='height: 600px;'/></body></html>"; 167 "<p style='width: ${W2}px; height: 600px;'/></body></html>";
166 168
167 close $fh; 169 close $fh;
168 170
169 system "gzip", "-7f", "$path.html"; 171 system "gzip", "-7f", "$path.html";
170} 172}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines