#!/usr/bin/perl
# 
#  Disclaimer.pm - Perlmodule which computes the Disclaimer of Oroborus.org
# 
#  Copyright (C) 2002 Stefan Pfetzing and Martin Helas
# 
#  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
#  the Free Software Foundation; either version 2, or (at your option)
#  any later version.
# 
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
# 
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software Foundation,
#  Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  
# 

# define the Package name
package Oroborus::Disclaimer;

#use Apache::Reload;
use strict;
our ($q);

# constructor needs one argument, a reference to a CGI object
sub new($) {
	my $proto = shift();
	$q = shift();
	my $class = ref($proto) || $proto;
	my $self  = {};
	bless ($self, $class);
	return $self;
}

# destructor
sub DESTROY() {
};

sub getContent() {
	my $self = shift();
	return $q->table({-width=>"100%",
		-cellpadding=>"0",
		-cellspacing=>"0"},
		$q->Tr(
			$q->td(
				$q->h2("Disclaimer")
			)
		),
		$q->Tr(
			$q->td(
				$q->p(
					"All documents on this site are released under the license terms of the GNU Free Document License and the code of the backend is licensed under the GNU Public License version 2 or later.",
					$q->br(),$q->br()
				),
				$q->p(
					"We don't have influcence on the contents of linked web sites and cannot be made responsible for their contents. Links to pages with inappropriate and illegal contents will be removed upon request."
				)
			)
		)
	);
}

# return a true value
1;
__END__


