X-Git-Url: http://git.jankratochvil.net/?p=www.jankratochvil.net.git;a=blobdiff_plain;f=project%2Fcvsbranchdiff%2FIndex.pm;fp=project%2Fcvsbranchdiff%2FListItem.pm;h=2f17f2475e191e29a00e31701c30d8d6ef246772;hp=7902d22b1bd9e1b30769244df44c91c03cfa1992;hb=19c5ad8e26ac320516b8427c416a9195ce4fea48;hpb=4df4c5409020cd58d7dd7f98a88653c96e860dfb diff --git a/project/cvsbranchdiff/ListItem.pm b/project/cvsbranchdiff/Index.pm old mode 100755 new mode 100644 similarity index 85% rename from project/cvsbranchdiff/ListItem.pm rename to project/cvsbranchdiff/Index.pm index 7902d22..2f17f24 --- a/project/cvsbranchdiff/ListItem.pm +++ b/project/cvsbranchdiff/Index.pm @@ -1,8 +1,6 @@ -#! /usr/bin/perl -# # $Id$ -# Definition of 'My::Project::cvsbranchdiff' for list.cgi.pl -# Copyright (C) 2003 Jan Kratochvil +# Main page of 'My::Project::cvsbranchdiff' +# Copyright (C) 2003-2005 Jan Kratochvil # # 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 @@ -18,7 +16,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -package project::cvsbranchdiff::ListItem; +package project::cvsbranchdiff::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$; @@ -26,6 +24,7 @@ use strict; use warnings; use My::Web; +Wuse 'project::Lib'; our @ListItem=( @@ -45,4 +44,11 @@ new or removed files, this simple tool will take care of them.

HERE ); +sub handler +{ +project::Lib->init(); + + +My::Web->footer(); +} 1;