[vhffs-dev] [1309] fixed redirect URLs for svn |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1309
Author: gradator
Date: 2008-11-02 02:07:10 +0100 (Sun, 02 Nov 2008)
Log Message:
-----------
fixed redirect URLs for svn
Modified Paths:
--------------
trunk/vhffs-panel/svn/create.pl
trunk/vhffs-panel/svn/prefs.pl
Modified: trunk/vhffs-panel/svn/create.pl
===================================================================
--- trunk/vhffs-panel/svn/create.pl 2008-11-01 12:14:29 UTC (rev 1308)
+++ trunk/vhffs-panel/svn/create.pl 2008-11-02 01:07:10 UTC (rev 1309)
@@ -82,7 +82,7 @@
} elsif( $description =~ /^\s*$/) {
$panel->add_error( gettext('You must enter a description') );
} elsif( defined Vhffs::Panel::Svn::create_svn( $vhffs, $fullreponame, $description, $user, $group ) ) {
- my $url = '/group/view.pl?project='.$group->get_groupname.'&msg='.gettext('The SVN object was successfully created !');
+ my $url = '/group/view.pl?group='.$group->get_groupname.'&msg='.gettext('The SVN object was successfully created !');
$panel->redirect($url);
} else {
$panel->add_error( gettext('An error occured while creating the svn repository') );
Modified: trunk/vhffs-panel/svn/prefs.pl
===================================================================
--- trunk/vhffs-panel/svn/prefs.pl 2008-11-01 12:14:29 UTC (rev 1308)
+++ trunk/vhffs-panel/svn/prefs.pl 2008-11-02 01:07:10 UTC (rev 1309)
@@ -161,7 +161,7 @@
if($svn->get_status == Vhffs::Constants::WAITING_FOR_MODIFICATION) {
if($svn->commit > 0) {
- my $url = '/group/view.pl?project='.$group->get_groupname.'&msg='.gettext('Modifications applied. Please wait while your repository is being updated');
+ my $url = '/group/view.pl?group='.$group->get_groupname.'&msg='.gettext('Modifications applied. Please wait while your repository is being updated');
$panel->redirect($url);
return 1;