Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
98c5aee7
Commit
98c5aee7
authored
Sep 07, 2004
by
Leigh B. Stoller
Browse files
Minor fix for doc files that are written in php files.
parent
06ec269e
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/websearch.in
View file @
98c5aee7
...
...
@@ -138,10 +138,17 @@ foreach my $hit (@order) {
my
(
$rank
,
$path
,
$size
,
$mod
)
=
@
{
$hits
{
$hit
}
};
$dir
=
dirname
(
$path
);
$file
=
basename
(
$path
);
my
$url
;
if
(
$file
=~
/^.*(\.php\d{0,1})$/
)
{
$url
=
$path
;
}
else
{
$url
=
"
$dir
/docwrapper.php3?docname=
$file
";
}
print
"
<hr>
\n
";
print
"
$rank
- <b><a href=
$dir
/docwrapper.php3?docname=
$file
>
"
.
"
$path
</a></b>,
$mod
<br>
\n
";
print
"
$rank
- <b><a href=
$url
>
$path
</a></b>,
$mod
<br>
\n
";
print
"
<ul>
\n
";
foreach
my
$line
(
@
{
$lines
{
$hit
}
})
{
$line
=~
s/<li>//ig
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment