36 lines
1.3 KiB
Perl
Executable File
36 lines
1.3 KiB
Perl
Executable File
#!/usr/bin/perl
|
|
# licnese.cgi
|
|
# Display License STTA
|
|
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
|
|
# stta: (@#) 1.31051043346- [2004_01_29_102036]
|
|
|
|
require './stta-lib.pl';
|
|
|
|
&headerstta($text{'license'}, "", "license",undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
|
|
print "<hr><p>\n";
|
|
print "<table width=100% border>\n";
|
|
print "<tr $tb> <td><font color='$revtext'><b>$text{'license'}\n";
|
|
print "$text{'cpr_line1'} Jesús Pérez <BR></b>\n";
|
|
print "$text{'cpr_line2'} GNU GPL www.gnu.org <BR></td>\n";
|
|
print "</tr>\n";
|
|
print "<tr $cb> <td><table width=100%>\n";
|
|
print "</b></td></tr></h2>\n";
|
|
print "<a class=\"menu1\" href=\"gpl/$text{license_file}.html\"><tt>$text{license}</tt></a></td> \n";
|
|
print " </td>\n";
|
|
print "<a class=\"menu1\" href=\"gpl/license.html\"><tt>$text{license} Original</tt></a></td> \n";
|
|
print "<tr><td><h2><b><pre>\n";
|
|
$licensefile=$text{license_file}.".txt";
|
|
open(FILEOUT, $licensefile);
|
|
while(<FILEOUT>) {
|
|
s/\r|\n//g;
|
|
print "$_ \n";
|
|
}
|
|
close(FILEOUT);
|
|
print "</h2></b></pre></table></table><p>\n";
|
|
&footer($config{'back_return'},$text{'index'});
|
|
do "footer.pl";
|
|
exit;
|
|
|
|
|
|
|