version 1.25, 1998/08/24 16:41:42 |
version 1.28, 1999/01/01 02:42:36 |
|
|
# 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.24 1998/08/16 13:45:12 wosch Exp $ |
# $fId: cvsweb.cgi,v 1.27 1998/12/30 19:31:43 hoek Exp $ |
# |
# |
|
|
|
|
Line 71 require 'cgi-style.pl'; |
|
Line 71 require 'cgi-style.pl'; |
|
|
|
%mirrors = ( |
%mirrors = ( |
'Germany', 'http://www.de.freebsd.org/cgi/cvsweb.cgi', |
'Germany', 'http://www.de.freebsd.org/cgi/cvsweb.cgi', |
'Japan', 'http://www.jp.freebsd.org/www.freebsd.org/cgi/cvsweb.cgi', |
'Japan', 'http://www.jp.freebsd.org/cgi/cvsweb.cgi', |
); |
); |
|
|
$cvstreedefault = 'freebsd'; |
$cvstreedefault = 'freebsd'; |
Line 153 if (!-d $cvsroot) { |
|
Line 153 if (!-d $cvsroot) { |
|
} |
} |
} |
} |
if ($#foo > 1) { |
if ($#foo > 1) { |
$intro .= "<p>\nThis script support the following CVS trees:\n"; |
$intro .= "<p>\nThis script supports the following CVS trees:\n"; |
for($i = 0; $i <= $#foo; $i++) { |
for($i = 0; $i <= $#foo; $i++) { |
$intro .= qq{<a href="$scriptname?cvsroot=$foo[$i]">} . |
$intro .= qq{<a href="$scriptname?cvsroot=$foo[$i]">} . |
($CVSROOTdescr{$foo[$i]} ? |
($CVSROOTdescr{$foo[$i]} ? |
|
|
$string =~ s/>/>/g; |
$string =~ s/>/>/g; |
|
|
if ($pr) { |
if ($pr) { |
$string =~ s|\bpr(\W+[a-z]+/\W*)(\d+)|<A HREF=/cgi/query-pr.cgi?pr=$2>$&</A>|ig; |
$string =~ s!\b((pr[:#]?\s*#?)|((bin|conf|docs|gnu|i386|kern|misc|ports)\/))(\d+)\b!<A HREF=/cgi/query-pr.cgi?pr=\5>$&</A>!ig; |
} |
} |
|
|
$string; |
$string; |