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

Comparing cfmaps/cfarch2html (file contents):
Revision 1.7 by root, Sun Nov 20 03:31:58 2005 UTC vs.
Revision 1.8 by root, Sun Nov 20 05:02:58 2005 UTC

15# 15#
16# You should have received a copy of the GNU General Public License 16# You should have received a copy of the GNU General Public License
17# along with gvpe; if not, write to the Free Software 17# along with gvpe; if not, write to the Free Software
18# Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 18# Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 19
20our $VERSION = '1.02'; 20our $VERSION = '1.03';
21 21
22use Storable; 22use Storable;
23 23
24my $LIBDIR = $ENV{CROSSFIRE_LIBDIR} 24my $LIBDIR = $ENV{CROSSFIRE_LIBDIR}
25 or die "\$CROSSFIRE_LIBDIR must be set\n"; 25 or die "\$CROSSFIRE_LIBDIR must be set\n";
47print "<?xml version='1.0' encoding='utf-8'?>", 47print "<?xml version='1.0' encoding='utf-8'?>",
48 "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">", 48 "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">",
49 "<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>", 49 "<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>",
50 "<head>", 50 "<head>",
51 "<title>Crossfire Archetypes</title>", 51 "<title>Crossfire Archetypes</title>",
52 "<style type='text/css'>\n", 52 "<link rel='stylesheet' type='text/css' media='all' href='/common.css'/>",
53 "body { background: white; text-color: black; }\n",
54 "a { text-color: blue; }\n",
55 "a:hover { text-color: red; }\n",
56 "a:visited { text-color: #008; }\n",
57
58 "li { white-space: pre; }\n",
59 "p.m { white-space: pre; margin-left: 2em; background: #ddd; padding: 2px; border: 1px solid black; }\n",
60 "\n</style>",
61 "</head>", 53 "</head>",
62 "<body>", 54 "<body>",
63 "<h1>Crossfire Archetypes</h1>"; 55 "<h1>Crossfire Archetypes</h1>";
64 56
65print "<table>"; 57print "<table>";
90 print "<tr valign='top'><th align='left'><a id='", (lc $name), "'>$name</a></th><td>"; 82 print "<tr valign='top'><th align='left'><a id='", (lc $name), "'>$name</a></th><td>";
91 print_arch $arch->{$name}; 83 print_arch $arch->{$name};
92 print "</td></tr>"; 84 print "</td></tr>";
93} 85}
94 86
95print "</table><hr/><p style='font-size: 8pt'>created by <a href='http://software.schmorp.de/#crossfire'>cfarch2html</a> version $VERSION</p>", 87print "</table><p class='footer'>created by <a href='http://software.schmorp.de/#crossfire'>cfarch2html</a> version $VERSION</p>",
96 "</body></html>"; 88 "</body></html>";
97 89
98close $fh; 90close $fh;
99 91
100system "gzip", "-7f", "arc.xhtml"; 92system "gzip", "-7f", "arc.xhtml";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines