… | |
… | |
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 | |
20 | our $VERSION = '1.04'; |
20 | our $VERSION = '1.05'; |
21 | |
21 | |
22 | use Storable; |
22 | use Storable; |
23 | |
23 | |
24 | my $LIBDIR = $ENV{CROSSFIRE_LIBDIR} |
24 | my $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 | } |