appdb/ ./account.php include/form_new.php

WineHQ wineowner at wine.codeweavers.com
Fri Jul 7 10:45:48 CDT 2006


ChangeSet ID:	26280
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2006/07/07 10:45:48

Modified files:
	.              : account.php 
	include        : form_new.php 

Log message:
	Chris Morgan <cmorgan at alum.wpi.edu>
	Fix account creation.  Change cmd to sCmd like the account.php code expects

Patch: http://cvs.winehq.org/patch.py?id=26280

Old revision  New revision  Changes     Path
 1.30          1.31          +1 -1       appdb/account.php
 1.8           1.9           +1 -1       appdb/include/form_new.php

Index: appdb/account.php
diff -u -p appdb/account.php:1.30 appdb/account.php:1.31
--- appdb/account.php:1.30	7 Jul 2006 15:45:48 -0000
+++ appdb/account.php	7 Jul 2006 15:45:48 -0000
@@ -162,7 +162,7 @@ function cmd_send_passwd()
     {
         addmsg("Please enter your email address in the 'E-mail' field and re-request a new password",
                "green");
-        util_redirect_and_exit(apidb_fullurl("account.php?cmd=login"));
+        util_redirect_and_exit(apidb_fullurl("account.php?sCmd=login"));
     }
 
     $shNote = '(<b>Note</b>: accounts for <b>appdb</b>.winehq.org and <b>bugs</b>.winehq.org '
Index: appdb/include/form_new.php
diff -u -p appdb/include/form_new.php:1.8 appdb/include/form_new.php:1.9
--- appdb/include/form_new.php:1.8	7 Jul 2006 15:45:48 -0000
+++ appdb/include/form_new.php	7 Jul 2006 15:45:48 -0000
@@ -52,7 +52,7 @@ echo html_frame_start("Create New Applic
 <?php
 
 echo html_frame_end("&nbsp;");
-echo '<input type="hidden" name="cmd" value="do_new">',"\n";
+echo '<input type="hidden" name="sCmd" value="do_new">',"\n";
 echo '</form>',"\n";
 
 echo p(),p(),p();



More information about the wine-cvs mailing list