mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 05:49:22 +00:00
Use terms URL provided by server configuration
This commit is contained in:
parent
ceaf5edc8b
commit
7ace4fb147
@ -99,7 +99,7 @@ ComunicWeb.pages.createAccount = {
|
|||||||
//Terms of use must have been accepted
|
//Terms of use must have been accepted
|
||||||
var siteTerms = createFormGroup({
|
var siteTerms = createFormGroup({
|
||||||
target: formRoot,
|
target: formRoot,
|
||||||
label: lang("form_create_account_terms_label", [ComunicWeb.__config.aboutWebsiteURL+"about/terms/"]),
|
label: lang("form_create_account_terms_label", [ServerConfig.conf.terms_url]),
|
||||||
type: "checkbox"
|
type: "checkbox"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ const SettingsPrivacySection = {
|
|||||||
createElem2({
|
createElem2({
|
||||||
appendTo: boxBody,
|
appendTo: boxBody,
|
||||||
type: "p",
|
type: "p",
|
||||||
innerHTML: "We give an high importance to our users privacy. Please take some time to check our <a href='"+ComunicWeb.__config.aboutWebsiteURL+"about/privacy' target='_blank'>Privacy Policy</a> and our <a href='"+ComunicWeb.__config.aboutWebsiteURL+"about/terms' target='_blank'>Terms of use</a>."
|
innerHTML: "We give an high importance to our users privacy. Please take some time to check our <a href='"+ComunicWeb.__config.aboutWebsiteURL+"about/privacy' target='_blank'>Privacy Policy</a> and our <a href='"+ServerConfig.conf.terms_url+"' target='_blank'>Terms of use</a>."
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user