Skip to content

Commit

Permalink
Fixed a minor bug affecting the "Edit profile" button.
Browse files Browse the repository at this point in the history
  • Loading branch information
deiu committed May 13, 2013
1 parent e3e435c commit 785ffb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions preferences.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
}
$ret .= "<tr><td>\n";
$ret .= "<form method=\"post\">\n";
$ret .= "<input class=\"btn margin-5\" type=\"submit\" name=\"generate_pin\" value=\"Generate new PIN\">\n";
$ret .= "<input class=\"btn margin-5\" type=\"submit\" name=\"generate_pin\" value=\"Generate a new PIN\">\n";
$ret .= "</form> \n";
$ret .= "</td></tr>\n";
$ret .= "</table>\n";
Expand Down Expand Up @@ -168,7 +168,7 @@

$ret .= "<table><tr>\n";
$ret .= "<td>\n";
$ret .= "<form method=\"get\">\n";
$ret .= "<form action=\"profile.php\" method=\"get\">\n";
$ret .= "<input type=\"hidden\" name=\"action\" value=\"edit\" />\n";
$ret .= "<input class=\"btn margin-5\" type=\"submit\" name=\"submit\" value=\"Edit profile\">\n";
$ret .= "</form> \n";
Expand All @@ -180,6 +180,7 @@
$ret .= "</td>\n";
$ret .= "</tr></table>\n";
$ret .= "<strong>Warning!</strong> Deleting a profile cannot be undone. All your local data will be removed (profile, wall posts, messages, etc.).";
$ret .= "<p></p>\n";
}
}

Expand Down

0 comments on commit 785ffb3

Please sign in to comment.