From mboxrd@z Thu Jan 1 00:00:00 1970
Received: from localhost (mandoc.bsd.lv [local])
by mandoc.bsd.lv (OpenSMTPD) with ESMTPA id a787ea87
for
EOF
-}
-
-
-sub chooseMirror()
-{
- # This code comes from the original BSD-cvsweb
- # and may not be useful for your site; If you don't
- # set %MIRRORS this won't show up, anyway.
- scalar(%MIRRORS) or return;
-
- # Should perhaps exclude the current site somehow...
- print "\n
\nThis CVSweb is mirrored in\n";
-
- my @tmp = map(&link(htmlquote($_), $MIRRORS{$_}), sort keys %MIRRORS);
- my $tmp = pop (@tmp);
-
- if (scalar(@tmp)) {
- print join (', ', @tmp), ' and ';
- }
-
- print "$tmp.\n
\n";
}
Index: cvsweb.conf
===================================================================
RCS file: /home/cvs/mandoc/cvsweb/cvsweb.conf,v
retrieving revision 4.14
retrieving revision 4.15
diff -Lcvsweb.conf -Lcvsweb.conf -u -p -r4.14 -r4.15
--- cvsweb.conf
+++ cvsweb.conf
@@ -57,14 +57,6 @@ $CMD{tar} ||= search_path('tar');
'local' => ['Local Repository', '/cvs'],
);
-# Mirror sites. The keys will be used as link texts, and the values are
-# URLs pointing to the corresponding mirrors.
-#
-#%MIRRORS = (
-# 'Other location' => 'http://192.168.0.1/cgi-bin/cvsweb.cgi/',
-# 'Yet another one' => 'http://192.168.0.2/cgi-bin/cvsweb.cgi/',
-#);
-
# Manual gateway linking. This will be done only for views for which
# $allow_*_extra below is true.
#
--
To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv