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

Comparing cfmaps/cfarch2html (file contents):
Revision 1.5 by root, Sun Nov 20 00:58:57 2005 UTC vs.
Revision 1.6 by root, Sun Nov 20 01:05:34 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.01';
21
20use Storable; 22use Storable;
21 23
22my $LIBDIR = $ENV{CROSSFIRE_LIBDIR} 24my $LIBDIR = $ENV{CROSSFIRE_LIBDIR}
23 or die "\$CROSSFIRE_LIBDIR must be set\n"; 25 or die "\$CROSSFIRE_LIBDIR must be set\n";
24
25our $VERSION = '1.0';
26 26
27my $arch; 27my $arch;
28 28
29sub escape_html($) { 29sub escape_html($) {
30 local $_ = shift; 30 local $_ = shift;
89 print "<tr valign='top'><th align='left'><a name='", (lc $name), "'>$name</a></th><td>"; 89 print "<tr valign='top'><th align='left'><a name='", (lc $name), "'>$name</a></th><td>";
90 print_arch $arch->{$name}; 90 print_arch $arch->{$name};
91 print "</td></tr>"; 91 print "</td></tr>";
92} 92}
93 93
94print "</table><hr/><p style='font-size: 8pt'>created by <b>cfarch2html</b> version $VERSION</p>", 94print "</table><hr/><p style='font-size: 8pt'>created by <a href='http://software.schmorp.de/#crossfire'>cfarch2html</a> version $VERSION</p>",
95 "</body></html>"; 95 "</body></html>";
96 96
97close $fh; 97close $fh;
98 98
99system "gzip", "-7f", "archetypes.html"; 99system "gzip", "-7f", "archetypes.html";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines