Update of /cvsroot/sandweb/sandweb/lib/SandWeb
In directory usw-pr-cvs1:/tmp/cvs-serv22895/lib/SandWeb
Modified Files:
Browse.pm
Log Message:
* moved view_file out of browse_file_commit and into view_file subroutine
Index: Browse.pm
===================================================================
RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Browse.pm,v
retrieving revision 1.61
retrieving revision 1.62
diff -U2 -r1.61 -r1.62
--- Browse.pm 23 Feb 2002 21:42:13 -0000 1.61
+++ Browse.pm 24 Feb 2002 05:03:32 -0000 1.62
@@ -95,5 +95,5 @@
}
$row_data{FILETYPE} = "dir";
- $row_data{LINK} = "action=browse_module&location=$location/$filename";
+ $row_data{LINK} = "action=view_file&location=$location/$filename";
if ($counter eq "0") {
$row_data{COLOR} = 0;
@@ -104,5 +104,5 @@
elsif ( $file->get_file_type() eq "Text" ) {
$row_data{FILETYPE} = "text";
- $row_data{LINK} = "action=browse_file&filename=$filename";
+ $row_data{LINK} = "action=view_file&filename=$filename";
if ($counter eq "0") {
$row_data{COLOR} = 0;
@@ -113,5 +113,5 @@
elsif ( $file->get_file_type() eq "Binary" ) {
$row_data{FILETYPE} = "binary";
- $row_data{LINK} = "action=browse_file&filename=$filename";
+ $row_data{LINK} = "action=view_file&filename=$filename";
if ($counter eq "0") {
$row_data{COLOR} = 0;
@@ -122,5 +122,5 @@
else {
$row_data{FILETYPE} = "unknown";
- $row_data{LINK} = "action=browse_file&filename=$filename";
+ $row_data{LINK} = "action=view_file&filename=$filename";
if ($counter eq "0") {
$row_data{COLOR} = 0;
|