mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-29 23:36:27 +00:00
Started to
This commit is contained in:
parent
4d7a99aeea
commit
a389d731c2
@ -73,4 +73,14 @@ ComunicWeb.common.langs.en = {
|
|||||||
_login_page_error_message: "Please check your usermail and password !",
|
_login_page_error_message: "Please check your usermail and password !",
|
||||||
_login_page_bad_input: "Please check what you've typed !",
|
_login_page_bad_input: "Please check what you've typed !",
|
||||||
_login_page_create_account_lnk: "Create an account",
|
_login_page_create_account_lnk: "Create an account",
|
||||||
|
|
||||||
|
//Create account page
|
||||||
|
form_create_account_title: "Create an account",
|
||||||
|
form_create_account_intro: "Use the following form to create an account and join the network : ",
|
||||||
|
form_create_account_first_name_label: "First name",
|
||||||
|
form_create_account_first_name_placeholder: "Your first name",
|
||||||
|
form_create_account_last_name_label: "Last name",
|
||||||
|
form_create_account_last_name_placeholder: "Your last name",
|
||||||
|
form_create_account_email_address_label: "Email address <small><i class='fa fa-warning'></i> Warning! You will not be able to change this later !</small>",
|
||||||
|
form_create_account_email_address_placeholder: "Your email address",
|
||||||
}
|
}
|
@ -37,14 +37,14 @@ ComunicWeb.pages.createAccount = {
|
|||||||
createElem2({
|
createElem2({
|
||||||
appendTo: formRoot,
|
appendTo: formRoot,
|
||||||
type: "h2",
|
type: "h2",
|
||||||
innerHTML: "Create an account"
|
innerHTML: lang("form_create_account_title")
|
||||||
});
|
});
|
||||||
|
|
||||||
//Add a message
|
//Add a message
|
||||||
createElem2({
|
createElem2({
|
||||||
appendTo: formRoot,
|
appendTo: formRoot,
|
||||||
type: "p",
|
type: "p",
|
||||||
innerHTML: "Use the following form to create an account and join the network : "
|
innerHTML: lang("form_create_account_intro")
|
||||||
});
|
});
|
||||||
|
|
||||||
//Create the message target
|
//Create the message target
|
||||||
@ -56,24 +56,24 @@ ComunicWeb.pages.createAccount = {
|
|||||||
//Input user first name
|
//Input user first name
|
||||||
var firstNameInput = createFormGroup({
|
var firstNameInput = createFormGroup({
|
||||||
target: formRoot,
|
target: formRoot,
|
||||||
label: "First name",
|
label: lang("form_create_account_first_name_label"),
|
||||||
placeholder: "Your first name",
|
placeholder: lang("form_create_account_first_name_placeholder"),
|
||||||
type: "text"
|
type: "text"
|
||||||
});
|
});
|
||||||
|
|
||||||
//Input user last name
|
//Input user last name
|
||||||
var lastNameInput = createFormGroup({
|
var lastNameInput = createFormGroup({
|
||||||
target: formRoot,
|
target: formRoot,
|
||||||
label: "Last name",
|
label: lang("form_create_account_last_name_label"),
|
||||||
placeholder: "Your last name",
|
placeholder: lang("form_create_account_last_name_placeholder"),
|
||||||
type: "text"
|
type: "text"
|
||||||
});
|
});
|
||||||
|
|
||||||
//Input user email
|
//Input user email
|
||||||
var emailInput = createFormGroup({
|
var emailInput = createFormGroup({
|
||||||
target: formRoot,
|
target: formRoot,
|
||||||
label: "Email address <small><i class='fa fa-warning'></i> Warning! You will not be able to change this later !</small>",
|
label: lang("form_create_account_email_address_label"),
|
||||||
placeholder: "Your email address",
|
placeholder: lang("form_create_account_email_address_placeholder"),
|
||||||
type: "email"
|
type: "email"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user