From b22298cd6e57c356e0d2554fabd8f685cb4cf9a4 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Sun, 26 Aug 2007 13:45:14 +0200 Subject: [PATCH] Fix name passing --- cgi/delproj.cgi | 1 + cgi/editproj.cgi | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cgi/delproj.cgi b/cgi/delproj.cgi index 25c9584..7b0c3b2 100755 --- a/cgi/delproj.cgi +++ b/cgi/delproj.cgi @@ -62,6 +62,7 @@ print <Please confirm that you are going to remove mirrored project $name ($url) from the site.

+

Admin password:

diff --git a/cgi/editproj.cgi b/cgi/editproj.cgi index 9f958b8..0933815 100755 --- a/cgi/editproj.cgi +++ b/cgi/editproj.cgi @@ -24,7 +24,7 @@ if (!valid_proj_name($name)) { } if (!Git::RepoCGI::Project::does_exist($name)) { - print "

Sorry but this project does not exist. Now, how did you get here?!

\n"; + print "

Sorry but the project $name does not exist. Now, how did you get here?!

\n"; exit; } @@ -60,7 +60,7 @@ EOT } print < -

Project name (w/o the .git suffix): $h{name}

+

Project name: $h{name}.git

Admin password:

New admin password: (leave empty to keep it at the current value)

E-mail contact:

-- 2.11.4.GIT