-#! /usr/bin/perl
-#
# $Id$
# Captive project Press page Perl template.
-# Copyright (C) 2004 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
+# Copyright (C) 2004-2005 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
use strict;
use warnings;
-BEGIN{ open F,"Makefile"; our $top_dir=pop @{[split /\s/,(grep /^top_srcdir/,<F>)[0]]}; eval "use lib '$top_dir'"; close F; }
use My::Web;
-Wrequire 'My::Project';
+Wrequire 'project::Lib';
+sub handler
+{
My::Web->init(
- "__PACKAGE__"=>__PACKAGE__,
"title"=>'Captive NTFS Internet Press',
- "head_css"=>"
-.name { font-style: italic; }
-",
- "WebConfig::heading_novskip"=>1,
+ "css_push"=>"./Lib.css",
+ "heading_novskip"=>1,
"no_job"=>1,
+ "charset"=>"utf-8",
);
My::Web->heading();
-print My::Project->section("captive");
+print(project::Lib->section("captive"));
print <<'HERE';
print "\t<li>...</li>\n";
print "</ul>\n";
-My::Web->footer();
+
+exit;
+}
+1;