===================================================================
RCS file: /cvs/cvsweb/cvsweb.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- cvsweb/cvsweb.cgi 1996/09/28 23:31:06 1.1
+++ cvsweb/cvsweb.cgi 1996/09/29 02:19:30 1.2
@@ -28,6 +28,9 @@
require 'timelocal.pl';
require 'ctime.pl';
+$hsty_base = "";
+require 'cgi-style.pl';
+
$cvsroot = '/home/ncvs';
$intro = "
This is a WWW interface to the FreeBSD CVS tree.
@@ -72,23 +75,15 @@ if (-d $fullname) {
opendir(DIR, $fullname) || &fatal("404 Not Found","$where: $!");
@dir = readdir(DIR);
closedir(DIR);
- print "Content-type: text/html\n\n";
- print "
FreeBSD CVS Tree: /$where\n";
- print "\n";
- print " ";
- print "FreeBSD CVS Tree
\n
\n";
-# print "\n";
-# print "\n";
-# print "\n";
-# print "\n";
-# print "FreeBSD CVS Tree
\n";
if ($where eq '') {
+ print &html_header("FreeBSD CVS Repository");
print $intro;
} else {
+ print &html_header("/$where");
print $shortinstr;
}
print "Current directory: /$where\n";
- print "
\n";
+ print "
\n";
# Using \n";
-print "
-
-
- www@freebsd.org
-\n";
-# print "
\n";
-# print "\n";
-# print "\n";
+ print &html_footer;
print "\n";
} elsif (-f $fullname . ',v') {
if ($_ = $ENV{'QUERY_STRING'}) {
@@ -364,15 +351,12 @@ print "
$sel .= "