[BACK]Return to cvsweb.cgi CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / cvsweb

Diff for /cvsweb/cvsweb.cgi between version 1.1.1.12 and 3.40

version 1.1.1.12, 2000/11/04 19:19:48 version 3.40, 2000/11/22 19:26:11
Line 43 
Line 43 
 # SUCH DAMAGE.  # SUCH DAMAGE.
 #  #
 # $zId: cvsweb.cgi,v 1.104 2000/11/01 22:05:12 hnordstrom Exp $  # $zId: cvsweb.cgi,v 1.104 2000/11/01 22:05:12 hnordstrom Exp $
 # $kId: cvsweb.cgi,v 1.39 2000/11/04 15:32:17 knu Exp $  # $Id$
 #  #
 ###  ###
   
Line 63  use vars qw (
Line 63  use vars qw (
     $is_links $is_lynx $is_w3m $is_msie $is_mozilla3 $is_textbased      $is_links $is_lynx $is_w3m $is_msie $is_mozilla3 $is_textbased
     %input $query $barequery $sortby $bydate $byrev $byauthor      %input $query $barequery $sortby $bydate $byrev $byauthor
     $bylog $byfile $defaultDiffType $logsort $cvstree $cvsroot      $bylog $byfile $defaultDiffType $logsort $cvstree $cvsroot
     $mimetype $defaultTextPlain $defaultViewable $allow_compress      $mimetype $charset $defaultTextPlain $defaultViewable
     $GZIPBIN $backicon $diricon $fileicon $fullname $newname      $allow_compress $GZIPBIN $backicon $diricon $fileicon
     $cvstreedefault $body_tag $body_tag_for_src      $fullname $newname $cvstreedefault
     $logo $defaulttitle $address      $body_tag $body_tag_for_src $logo $defaulttitle $address
     $long_intro $short_instruction $shortLogLen      $long_intro $short_instruction $shortLogLen
     $show_author $dirtable $tablepadding $columnHeaderColorDefault      $show_author $dirtable $tablepadding $columnHeaderColorDefault
     $columnHeaderColorSorted $hr_breakable $showfunc $hr_ignwhite      $columnHeaderColorSorted $hr_breakable $showfunc $hr_ignwhite
Line 2640  sub navigateHeader($$$$$) {
Line 2640  sub navigateHeader($$$$$) {
     $swhere = urlencode($filename) if ($swhere eq "");      $swhere = urlencode($filename) if ($swhere eq "");
     print "<\!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">";      print "<\!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">";
     print "<HTML>\n<HEAD>\n";      print "<HTML>\n<HEAD>\n";
     print '<!-- CVSweb $zRevision: 1.104 $  $kRevision: 1.39 $ -->';      print '<!-- CVSweb $zRevision: 1.104 $  $Revision$ -->';
     print "\n<TITLE>$path$filename - $title - $rev</TITLE></HEAD>\n";      print "\n<TITLE>$path$filename - $title - $rev</TITLE></HEAD>\n";
     print  "$body_tag_for_src\n";      print  "$body_tag_for_src\n";
     print "<table width=\"100%\" border=0 cellspacing=0 cellpadding=1 bgcolor=\"$navigationHeaderColor\">";      print "<table width=\"100%\" border=0 cellspacing=0 cellpadding=1 bgcolor=\"$navigationHeaderColor\">";
Line 2999  sub http_header(;$) {
Line 2999  sub http_header(;$) {
             }              }
             select(GZIP);              select(GZIP);
             $gzip_open = 1;              $gzip_open = 1;
 #           print "<!-- gzipped -->" if ($content_type eq "text/html");  #           print "<!-- gzipped -->" if ($content_type =~ m|^text/html\b|);
         }          }
         else {          else {
             if ($is_mod_perl) {              if ($is_mod_perl) {
Line 3023  sub http_header(;$) {
Line 3023  sub http_header(;$) {
   
 sub html_header($) {  sub html_header($) {
     my ($title) = @_;      my ($title) = @_;
     my $version = '$zRevision: 1.104 $  $kRevision: 1.39 $'; #'      my $version = '$zRevision: 1.104 $  $Revision$'; #'
     http_header();      http_header($charset ne "" ? "text/html; charset=$charset" : "text/html");
     print <<EOH;      print <<EOH;
 <!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN"  <!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN"
  "http://www.w3.org/TR/REC-html40/loose.dtd">   "http://www.w3.org/TR/REC-html40/loose.dtd">
 <html>  <html>
   <head>
 <title>$title</title>  <title>$title</title>
 <!-- CVSweb $version -->  <!-- CVSweb $version -->
 </head>  </head>

Legend:
Removed from v.1.1.1.12  
changed lines
  Added in v.3.40

CVSweb