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

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-09-20 20:03:35 +02:00
committed by Chris Morgan
parent e5d1bc1bf0
commit 4b453e1e5a

View File

@@ -1009,9 +1009,9 @@ class version {
echo '</form>'."\n"; echo '</form>'."\n";
} else } 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="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"; echo '</form>'."\n";
} }