1 <%include include/head.html>
3 <script language="javascript">
4 $(document).ready(function() {
5 getTranslation("WebInterface.DefaultText.FirstName", function(firstNameDefaultText) {
6 registerInputTextareaSwap("#sone #edit-profile input[name=first-name]", firstNameDefaultText, "first-name", true, true);
8 getTranslation("WebInterface.DefaultText.MiddleName", function(middleNameDefaultText) {
9 registerInputTextareaSwap("#sone #edit-profile input[name=middle-name]", middleNameDefaultText, "middle-name", true, true);
11 getTranslation("WebInterface.DefaultText.LastName", function(lastNameDefaultText) {
12 registerInputTextareaSwap("#sone #edit-profile input[name=last-name]", lastNameDefaultText, "last-name", true, true);
14 getTranslation("WebInterface.DefaultText.BirthDay", function(birthDayDefaultText) {
15 registerInputTextareaSwap("#sone #edit-profile input[name=birth-day]", birthDayDefaultText, "birth-day", true, true);
17 getTranslation("WebInterface.DefaultText.BirthMonth", function(birthMonthDefaultText) {
18 registerInputTextareaSwap("#sone #edit-profile input[name=birth-month]", birthMonthDefaultText, "birth-month", true, true);
20 getTranslation("WebInterface.DefaultText.BirthYear", function(birthYearDefaultText) {
21 registerInputTextareaSwap("#sone #edit-profile input[name=birth-year]", birthYearDefaultText, "birth-year", true, true);
24 /* hide all the labels. */
25 $("#sone #edit-profile label").hide();
29 <h1><%= Page.EditProfile.Page.Title|l10n|html></h1>
31 <p><%= Page.EditProfile.Page.Description|l10n|html></p>
32 <p><%= Page.EditProfile.Page.Hint.Optionality|l10n|html></p>
35 <p><%= Page.EditProfile.Page.Status.Changed|l10n|html></p>
38 <form id="edit-profile" method="post">
39 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
42 <label for="first-name"><%= Page.EditProfile.Label.FirstName|l10n|html></label>
43 <input type="text" name="first-name" value="<% firstName|html>" />
47 <label for="middle-name"><%= Page.EditProfile.Label.MiddleName|l10n|html></label>
48 <input type="text" name="middle-name" value="<% middleName|html>" />
52 <label for="last-name"><%= Page.EditProfile.Label.LastName|l10n|html></label>
53 <input type="text" name="last-name" value="<% lastName|html>" />
56 <h1><%= Page.EditProfile.Birthday.Title|l10n|html></h1>
59 <label for="birth-day"><%= Page.EditProfile.Birthday.Label.Day|l10n|html></label>
60 <input type="text" name="birth-day" value="<% birthDay|html>" />
63 <div id="birth-month">
64 <label for="birth-month"><%= Page.EditProfile.Birthday.Label.Month|l10n|html></label>
65 <input type="text" name="birth-month" value="<% birthMonth|html>" />
69 <label for="birth-year"><%= Page.EditProfile.Birthday.Label.Year|l10n|html></label>
70 <input type="text" name="birth-year" value="<% birthYear|html>" />
74 <button type="submit"><%= Page.EditProfile.Button.Save|l10n|html></button>
79 <%include include/tail.html>