[vhffs-dev] [981] URLs for cvs,svn,git web interface changed, so the public part is modified as well

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 981
Author:   gradator
Date:     2007-10-12 21:23:51 +0000 (Fri, 12 Oct 2007)

Log Message:
-----------
URLs for cvs,svn,git web interface changed, so the public part is modified as well

Modified Paths:
--------------
    trunk/vhffs-public/group.pl


Modified: trunk/vhffs-public/group.pl
===================================================================
--- trunk/vhffs-public/group.pl	2007-10-12 19:37:16 UTC (rev 980)
+++ trunk/vhffs-public/group.pl	2007-10-12 21:23:51 UTC (rev 981)
@@ -153,8 +153,7 @@
 				$subtemplate = new HTML::Template( filename => $templatedir."/public/misc/cvs-part.tmpl" );
 				$subtemplate->param( CVSROOT => $_->get_cvsroot );
 				my $cvspath = $_->get_cvsroot;
-				$cvspath =~ s/\//_/;
-				$subtemplate->param( CVSURL  => $vhffs->get_config->get_service('cvs')->{'cvsweb_url'} . '/cvs_' . $cvspath . '/' );
+				$subtemplate->param( CVSURL  => $vhffs->get_config->get_service('cvs')->{'cvsweb_url'} . '/' . $cvspath . '/' );
 				$output .= $subtemplate->output;
 			}
 
@@ -182,8 +181,7 @@
 			    		$subtemplate->param( SVNROOT => $_->get_reponame );
 			    		$subtemplate->param( DESCRIPTION => CGI::escapeHTML( $_->get_description ) );
 					my $svnpath = $_->get_reponame;
-					$svnpath =~ s/\//_/;
-			    		$subtemplate->param( SVNURL  => $vhffs->get_config->get_service('svn')->{'svnweb_url'} . '/svn_' . $svnpath  . '/' );
+			    		$subtemplate->param( SVNURL  => $vhffs->get_config->get_service('svn')->{'svnweb_url'} . '/' . $svnpath  . '/' );
 			    		$output .= $subtemplate->output;
 				}
 
@@ -209,8 +207,7 @@
 			    		$subtemplate->param( GITROOT => $_->get_reponame );
 			    		$subtemplate->param( DESCRIPTION => CGI::escapeHTML( $_->get_description ) );
 					my $gitpath = $_->get_reponame;
-					$gitpath =~ s/\//_/;
-			    		$subtemplate->param( GITURL  => $vhffs->get_config->get_service('git')->{'gitweb_url'} . '/git_' . $gitpath  . '/' );
+			    		$subtemplate->param( GITURL  => $vhffs->get_config->get_service('git')->{'gitweb_url'} . '/' . $gitpath  . '/' );
 			    		$output .= $subtemplate->output;
 				}
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/