Alexander Nicolaysen Sørnes : version: Improve the submit test button for not-logged-in users

Chris Morgan cmorgan at winehq.org
Thu Sep 20 20:30:36 CDT 2007


Module: appdb
Branch: master
Commit: 4b453e1e5a932fcdf2c2a069129787f9eaeb703d
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=4b453e1e5a932fcdf2c2a069129787f9eaeb703d

Author: Alexander Nicolaysen Sørnes <alexander at kurt.alexstyrt>
Date:   Thu Sep 20 20:03:35 2007 +0200

version: Improve the submit test button for not-logged-in users

---

 include/version.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/version.php b/include/version.php
index 7b9c436..163a9a0 100644
--- a/include/version.php
+++ b/include/version.php
@@ -1009,9 +1009,9 @@ class version {
             echo '</form>'."\n";
         } else
         {
-            echo '<form method="post" name="sMessage" action="account.php">'."\n";
+            echo '<form method="post" name="sMessage" action="'.login_url().'">'."\n";
             echo "\t".'<input type="hidden" name="sCmd" value="login">'."\n";
-            echo "\t".'<input type=submit value="Log in add Test Data" class="button">'."\n";
+            echo "\t".'<input type=submit value="Log in to add test data" class="button">'."\n";
             echo '</form>'."\n";
         }
 




More information about the wine-cvs mailing list