From: Rob H. <for...@us...> - 2002-02-19 09:35:32
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv7762/bin Modified Files: sandweb.cgi Log Message: * file commands are mostly working multi-repo, but it seems to return to the wrong place. Looks related to the "current location" bugs, basically browse_module has changed dramatically and these need to be rewritten somewhat Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.190 retrieving revision 1.191 diff -U2 -r1.190 -r1.191 --- sandweb.cgi 19 Feb 2002 09:09:12 -0000 1.190 +++ sandweb.cgi 19 Feb 2002 09:35:29 -0000 1.191 @@ -68,5 +68,6 @@ # catch file-specific actions if ( CGI::param('action_file') ) { - $action = 'browse_file_commit'; + $action = 'browse_file'; + my $submit = 1; } @@ -853,5 +854,6 @@ browse_module_menu( ck_auth => $ck_auth, - location => $location, + repo_name => $repo_name, + module_name => $module_name, ); } @@ -911,4 +913,5 @@ MENU => 'view_file', PROGNAME => "$progname", + MODULE_NAME => $module_name, FILENAME => "$filename", LOCATION => "$location", @@ -972,4 +975,5 @@ MENU => 'edit_file', PROGNAME => $progname, + MODULE_NAME => $module_name, CONTENT => "$content", LOCATION => $location, @@ -995,5 +999,5 @@ browse_module_menu( ck_auth => $ck_auth, - location => $location, + location => "$location$module_name", ); exit 0; @@ -1001,4 +1005,5 @@ my $content = $ui->get_menu( MENU => 'create_file', + MODULE_NAME => $module_name, PROGNAME => $progname, LOCATION => $location, @@ -1029,4 +1034,5 @@ MENU => 'create_folder', PROGNAME => $progname, + MODULE_NAME => $module_name, LOCATION => $location, ); @@ -1067,4 +1073,5 @@ LOCATION => $location, PROGNAME => $progname, + MODULE_NAME => $module_name, FILENAME => $filename, ); |