Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8495 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48483 invoked by uid 1010); 12 Mar 2004 13:58:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 48441 invoked by uid 1007); 12 Mar 2004 13:58:00 -0000 Message-ID: <20040312135759.48421.qmail@pb1.pair.com> To: internals@lists.php.net Date: Fri, 12 Mar 2004 14:58:22 +0100 User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <00b501c4076a$e19e6b00$8a02a8c0@tron> <4051ABDC.8030002@php.net> <1B8BD6C0-7423-11D8-A911-000A959DD3A4@php.net> In-Reply-To: <1B8BD6C0-7423-11D8-A911-000A959DD3A4@php.net> Content-Type: multipart/mixed; boundary="------------090203090504060609030203" X-Posted-By: 80.126.21.70 Subject: Re: [PHP-DEV] Re: cvs account requests From: abies@php.net (Ard Biesheuvel) --------------090203090504060609030203 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Jan Lehnardt wrote: > this was proposed several times already and probably agreed on, too. > All it takes is a developer, who is _that_ annoyed to implement > something like this. > Everything is in CVS, send in patches, not enough karma is not a > valid excuse :) Have a look at this patch. Maybe it will work ... -- Ard --------------090203090504060609030203 Content-Type: text/plain; name="cvs-account-request.diff.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cvs-account-request.diff.txt" Index: cvs-php.php =================================================================== RCS file: /repository/phpweb/cvs-php.php,v retrieving revision 1.31 diff -u -r1.31 cvs-php.php --- cvs-php.php 11 Sep 2003 16:45:13 -0000 1.31 +++ cvs-php.php 12 Mar 2004 13:56:12 -0000 @@ -12,8 +12,8 @@ $v) { @@ -34,7 +35,7 @@ if (empty($_POST['fullname'])) { $error .= "You must supply your real name. "; } - if (empty($_POST['purpose'])) { + if (empty($_POST['realpurpose'])) { $error .= "You must supply a reason for requesting the CVS account. "; } if (empty($_POST['password'])) { @@ -53,7 +54,7 @@ "name" => $cleaned['fullname'], "email" => $cleaned['email'], "passwd" => $cleaned['password'], - "note" => $cleaned['purpose'] + "note" => $cleaned['realpurpose'] ) ); // Error while posting @@ -127,7 +128,7 @@ } // endif: no data or checkread not checked else { - if (count($_POST) && !isset($_POST['checkread'])) { + if (count($_POST)) { print << We could not have said it more clearly. Read everything on @@ -273,8 +274,24 @@ class="max" value="" /> - Purpose: - + For what purpose do you require a CVS account:
+ (check all that apply) + + $p): ?> + />
+ + + + + If your intended purpose is not in the list,
please state it here: + User ID:
(single word, lower case) @@ -286,20 +303,6 @@ -\n"; -} -else {?> - - You have read all the comments above: - - - - - --------------090203090504060609030203--