Syntax error fixed
[geiser.git] / doc / site.conf
blobc8b55a90f4d17bae2f1bae741b53a2de5b1425ad
1 # -*- perl -*-
3 $DO_CONTENTS = 0;
4 $DO_SCONTENTS = 0;
5 $PREFIX = geiser;
6 $NODE_FILES = 0;
7 $SEPARATED_FOOTNOTES = 0;
9 @MISC_BUTTONS = ();
10 @CHAPTER_BUTTONS = ('FastBack', 'FastForward', 'Top');
12 $USER = 'jao';
13 $DATE = '';
15 $CSS_LINES = '<link rel="stylesheet" type="text/css" href="./geiser.css">';
17 $print_page_foot = \&page_foot;
18 $print_chapter_footer = \&chap_footer;
19 $print_chapter_header = \&chap_header;
21 sub page_foot($) {
22     my $h = shift;
23     print $h "</body>";
26 sub button_link {
27     my $label = shift;
28     my $txt = shift;
29     my $trail = shift;
30    '<a class="navlink" href="' . $Texi2HTML::HREF{$label} . '">'
31        . $txt . '</a>' . $trail;
34 $jao_navigation_links = '';
36 sub chap_header {
37     my $fh = shift;
38     $jao_navigation_links = nav_links();
39     print $fh "<hr>";
42 sub chap_footer {
43     my $fh = shift;
44     print $fh $jao_navigation_links;
47 sub nav_links {
48     '<div class="navigation"><table border="0"><tr><td align="left">'
49         . button_link('Top', 'Geiser', '</td><td align="right">')
50         . button_link('FastBack', '<', '&nbsp;&nbsp;')
51         . button_link('FastForward', '>', '</td></tr></table></div>');