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

Diff for /cvsweb/cvsweb.cgi between version 1.23 and 1.24

version 1.23, 1998/08/15 09:59:11 version 1.24, 1998/08/16 13:45:12
Line 28 
Line 28 
 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF  # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 # SUCH DAMAGE.  # SUCH DAMAGE.
 #  #
 # $fId: cvsweb.cgi,v 1.22 1998/08/13 10:35:26 wosch Exp $  # $fId: cvsweb.cgi,v 1.23 1998/08/15 09:59:11 wosch Exp $
 #  #
   
   
Line 71  require 'cgi-style.pl';
Line 71  require 'cgi-style.pl';
             'mozilla', 'Mozilla FreeBSD',              'mozilla', 'Mozilla FreeBSD',
             );              );
   
   %mirrors = (
               'Germany', 'http://www.de.freebsd.org/cgi/cvsweb.cgi',
           'Japan', 'http://www.jp.freebsd.org/www.freebsd.org/cgi/cvsweb.cgi',
              );
   
 $cvstreedefault = 'freebsd';  $cvstreedefault = 'freebsd';
 $cvstree = $cvstreedefault;  $cvstree = $cvstreedefault;
 $cvsroot = $CVSROOT{"$cvstree"} || "/home/ncvs";  $cvsroot = $CVSROOT{"$cvstree"} || "/home/ncvs";
Line 156  if (!-d $cvsroot) {
Line 161  if (!-d $cvsroot) {
                 ($CVSROOTdescr{$foo[$i]} ?                  ($CVSROOTdescr{$foo[$i]} ?
                  $CVSROOTdescr{$foo[$i]} : $foo[$i]) . qq{</a>} .                   $CVSROOTdescr{$foo[$i]} : $foo[$i]) . qq{</a>} .
                      ($i == $#foo  ? ".\n" : ",\n");                       ($i == $#foo  ? ".\n" : ",\n");
           }
       }
   }
   
   
   {
       local(@mirrors) = sort keys %mirrors;;
       if ($#mirrors >= 0) {
           $intro .= "<p>\nThis script is mirrored in:\n";
           local($m);
           for($m = 0; $m <= $#mirrors; $m++) {
               $intro .= qq(<a href="$mirrors{$mirrors[$m]}">$mirrors[$m]</a>);
               $intro .= ',' if $m != $#mirrors;
               $intro .= "\n";
         }          }
     }      }
 }  }

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

CVSweb