-#! /usr/bin/perl
-#
# $Id$
# Captive project doc TODO page Perl template.
-# Copyright (C) 2003 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
+# Copyright (C) 2003-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;
-require CGI;
-BEGIN { Wuse 'project::captive::doc::Macros'; }
+sub handler
+{
+ BEGIN { Wuse 'project::captive::doc::Macros'; }
project::captive::doc::Macros->init(
- "__PACKAGE__"=>__PACKAGE__,
"title"=>'Captive NTFS Developer Documentation: TODO',
- "rel_prev"=>'CallType.html.pl',
- "rel_next"=>'Related.html.pl',
+ "rel_prev"=>'CallType.pm',
+ "rel_next"=>'Related.pm',
);
print <<"HERE";
-<a name="todo_fsck"><h1>TODO: Fsck of NTFS</h1></a>
+<h1 id="todo_fsck">TODO: Fsck of NTFS</h1>
<p>Currently this project does not support checking of data structures
of NTFS volume as being provided by <span class="command">chkdsk.exe</span>
@{[ a_href 'http://www.sysinternals.com/ntw2k/source/fmifs.shtml',
'Chkdskx and Formatx' ]}
by @{[ a_href 'http://www.sysinternals.com/aboutus.shtml',
- 'Mark Russinovich' ]}.
+ 'Mark Russinovich' ]}.</p>
<p>I assume its execution falls completely
- @{[ a_href 'Architecture.html.pl#existing_emulation','out of scope' ]}
+ @{[ a_href 'Architecture.pm#existing_emulation','out of scope' ]}
of this project as it is W32 userland.</p>
<p>This possibility was not yet investigated in any way.</p>
-<a name="todo_surprise"><h1>TODO: NTFS Support for
- <span class="productname">@{[ a_href '/project/surprise/','Partition Surprise' ]}</span></h1></a>
+<h1 id="todo_surprise">TODO: NTFS Support for
+ <span class="productname">@{[ a_href '/project/surprise/','Partition Surprise' ]}</span></h1>
<p>There already exists
<span class="productname">@{[ a_href 'http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html','ntfsresize' ]}</span>
HERE
-project::captive::doc::Macros->footer();
+exit;
+}
+1;