diff --git a/mozilla/webtools/lxr/source b/mozilla/webtools/lxr/source index c3f68c17699..4a9ca1e0a05 100755 --- a/mozilla/webtools/lxr/source +++ b/mozilla/webtools/lxr/source @@ -1,5 +1,5 @@ #!/usr/bonsaitools/bin/perl -# $Id: source,v 1.4 1998-06-16 00:51:20 jwz Exp $ +# $Id: source,v 1.5 1998-06-16 09:03:38 jwz Exp $ # source -- Present sourcecode as html, complete with references # @@ -78,10 +78,7 @@ sub dirname { if ($filename eq '..') { return(&fileref("Parent directory", $parentdir)); } else { - return("{'virtroot'}."/source".$Path->{'virt'}.$filename. - "\" onMouseOver=\"return js_dir_menu(\'". - $Path->{'virt'}.$filename."\', event)\">".$filename."" - ); + return(&fileref($filename, $Path->{'virt'}.$filename)); } } @@ -107,11 +104,7 @@ sub fileicon { sub filename { - return("{'virtroot'}."/source".$Path->{'virt'}.$filename. - "\" onMouseOver=\"return js_file_menu(\'". $Path->{'virt'}. - $filename."\', event)\">".$filename."" - ); - + return(&fileref($filename, $Path->{'virt'}.$filename)); } diff --git a/mozilla/webtools/lxr/template-head b/mozilla/webtools/lxr/template-head index 023ea7d9b82..c5f57ef5ef2 100644 --- a/mozilla/webtools/lxr/template-head +++ b/mozilla/webtools/lxr/template-head @@ -3,60 +3,6 @@