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

Comparing cfmaps/cfarch2html (file contents):
Revision 1.11 by root, Wed Nov 23 09:07:21 2005 UTC vs.
Revision 1.12 by root, Fri Dec 9 10:57:23 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.04'; 20our $VERSION = '1.05';
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";
47 print "<li>"; 47 print "<li>";
48 if ($_ eq "more") { 48 if ($_ eq "more") {
49 print "more =>\n"; 49 print "more =>\n";
50 print_arch ($a->{more}); 50 print_arch ($a->{more});
51 } elsif ($_ eq "other_arch") { 51 } elsif ($_ eq "other_arch") {
52 print "$_ => <a href='#", (lc $a->{$_}), "'>$v</a>\n"; 52 print "$_ => <a href='#$a->{$_}'>$v</a>\n";
53 } elsif ($_ eq "msg" || $_ eq "lore") { 53 } elsif ($_ eq "msg" || $_ eq "lore") {
54 print "$_ =><p class='m'>$v</p>"; 54 print "$_ =><p class='m'>$v</p>";
55 } else { 55 } else {
56 print "$_ => $v\n"; 56 print "$_ => $v\n";
57 } 57 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines