| version 1.13, 2002/11/22 20:04:15 |
version 1.14, 2002/11/22 20:22:23 |
|
|
| # $FreeBSD: projects/cvsweb/cvsweb.cgi,v 1.136 2002/11/16 13:26:40 scop Exp $ |
# $FreeBSD: projects/cvsweb/cvsweb.cgi,v 1.136 2002/11/16 13:26:40 scop Exp $ |
| # $Id$ |
# $Id$ |
| # $Idaemons: /home/cvs/cvsweb/cvsweb.cgi,v 1.84 2001/10/07 20:50:10 knu Exp $ |
# $Idaemons: /home/cvs/cvsweb/cvsweb.cgi,v 1.84 2001/10/07 20:50:10 knu Exp $ |
| # $Platon: scripts/cgi/cvsweb/cvsweb.cgi,v 1.12 2002/11/22 18:34:48 rajo Exp $ |
# $Platon: scripts/cgi/cvsweb/cvsweb.cgi,v 1.13 2002/11/22 20:04:15 rajo Exp $ |
| # |
# |
| ### |
### |
| |
|
| Line 645 if (-d $fullname) { |
|
| Line 645 if (-d $fullname) { |
|
| chooseMirror(); |
chooseMirror(); |
| chooseCVSRoot(); |
chooseCVSRoot(); |
| } else { |
} else { |
| print "<p>", _("Current directory: "), "<b>", &clickablePath($where, 0), "</b></p>\n"; |
print "<p>", _("Current directory"), ": <b>", &clickablePath($where, 0), "</b></p>\n"; |
| |
|
| print "<p>", _("Current tag: "), "<b>", $input{only_with_tag}, "</b></p>\n" |
print "<p>", _("Current tag"), ": <b>", $input{only_with_tag}, "</b></p>\n" |
| if $input{only_with_tag}; |
if $input{only_with_tag}; |
| |
|
| } |
} |
| Line 938 if (-d $fullname) { |
|
| Line 938 if (-d $fullname) { |
|
| && $var ne 'only_with_tag'); |
&& $var ne 'only_with_tag'); |
| } |
} |
| print "<p><label for=\"only_with_tag\" accesskey=\"T\">"; |
print "<p><label for=\"only_with_tag\" accesskey=\"T\">"; |
| print _("Show only files with tag:"), "</label>\n"; |
print _("Show only files with tag"), ":</label>\n"; |
| print "<select id=\"only_with_tag\" name=\"only_with_tag\""; |
print "<select id=\"only_with_tag\" name=\"only_with_tag\""; |
| print " onchange=\"this.form.submit()\"" if $use_java_script; |
print " onchange=\"this.form.submit()\"" if $use_java_script; |
| print ">"; |
print ">"; |
| Line 1106 elsif (-f $fullname . ',v') { |
|
| Line 1106 elsif (-f $fullname . ',v') { |
|
| exit; |
exit; |
| } elsif (0 && (my @files = &safeglob($fullname . ",v"))) { |
} elsif (0 && (my @files = &safeglob($fullname . ",v"))) { |
| http_header("text/plain"); |
http_header("text/plain"); |
| print _("You matched the following files:"), "\n"; |
print _("You matched the following files"), ":\n"; |
| print join ("\n", @files); |
print join ("\n", @files); |
| |
|
| # Find the tags from each file |
# Find the tags from each file |
|
|
| print "Status: $errcode\r\n"; |
print "Status: $errcode\r\n"; |
| } |
} |
| html_header('Error'); |
html_header('Error'); |
| print "<p>", _("Error"), ": ", sprintf($format, map(htmlquote($_), @args)), "</p>\n"; |
# DON'T use translation function _("something") in fatal function |
| |
print "<p>", "Error", ": ", sprintf($format, map(htmlquote($_), @args)), "</p>\n"; |
| html_footer(); |
html_footer(); |
| exit(1); |
exit(1); |
| } |
} |