-#! /usr/bin/perl
-#
# $Id$
-# Definition of 'My::Project::d1xnet' for list.cgi.pl
-# Copyright (C) 2003 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
+# Main page of 'My::Project::d1xnet'
+# 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
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-package project::d1xnet::ListItem;
+package project::d1xnet::Index;
require 5.6.0; # at least 'use warnings;' but we need some 5.6.0+ modules anyway
our $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
our $CVS_ID=q$Id$;
use warnings;
use My::Web;
+Wuse 'project::Lib';
our @ListItem=(
- "name"=>a_href('http://d1x.warpcore.org/','D1X').' TCP/IP',
+ "name"=>sub { return a_href('http://d1x.warpcore.org/','D1X').' TCP/IP'; },
"platform"=>"patch",
"priority"=>200,
"icon"=>"exit03.jpeg",
"download"=>"d1x-tcpip-0.99.1.diff.gz",
- "summary"=>a_href('http://d1x.warpcore.org/','D1X').' native TCP/IP support patch',
+ "summary"=>sub { return a_href('http://d1x.warpcore.org/','D1X').' native TCP/IP support patch'; },
"license"=>"PD",
"maintenance"=>"accepted",
"language"=>"C module",
- "description"=><<"HERE",
+ "description"=>sub { return <<"HERE"; },
<p>No further mess with @{[ a_href 'ftp://linux.kali.net/outgoing/kalinix/','KaliNix' ]},
KIX or any other IPX layer convertor. This patch adds true TCP/IP networking
capability to @{[ a_href 'http://d1x.warpcore.org/','D1X' ]} version 1.30.</p>
HERE
);
+sub handler
+{
+project::Lib->init();
+
+
+My::Web->footer();
+}
1;